Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

oracle.adfmf.amx.event
Class ValueChangeEvent

Object
  extended by oracle.adfmf.amx.event.AMXEvent
      extended by oracle.adfmf.amx.event.ValueChangeEvent

public class ValueChangeEvent
extends AMXEvent

Event that is generated when the value of a component changes.


Constructor Summary
ValueChangeEvent()
          Creates a new ValueChangeEvent
ValueChangeEvent(Object oldValue, Object newValue)
          Creates a new ValueChangeEvent
 
Method Summary
 Object getNewValue()
          Returns the new value of the component.
 Object getOldValue()
          Returns the previous value of the component.
 void setNewValue(Object newValue)
          Sets the new value of the component.
 void setOldValue(Object oldValue)
          Sets the previous value of the component.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueChangeEvent

public ValueChangeEvent()
Creates a new ValueChangeEvent


ValueChangeEvent

public ValueChangeEvent(Object oldValue,
                        Object newValue)
Creates a new ValueChangeEvent

Parameters:
oldValue - the previous value of the component.
newValue - the new value of the component.
Method Detail

getOldValue

public Object getOldValue()
Returns the previous value of the component.


setOldValue

public void setOldValue(Object oldValue)
Sets the previous value of the component.


getNewValue

public Object getNewValue()
Returns the new value of the component.


setNewValue

public void setNewValue(Object newValue)
Sets the new value of the component.


Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

Copyright © 2014 Oracle. All Rights Reserved.