com.sibvisions.rad.ui.web.ext.gxt.event
Class ValueChangeEvent<M>

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
      extended by com.extjs.gxt.ui.client.event.DomEvent
          extended by com.extjs.gxt.ui.client.event.ComponentEvent
              extended by com.extjs.gxt.ui.client.event.BoxComponentEvent
                  extended by com.sibvisions.rad.ui.web.ext.gxt.event.ValueChangeEvent<M>
Type Parameters:
M - the value type

public class ValueChangeEvent<M>
extends BoxComponentEvent

The ValueChangeEvent is the event for value changes of specific components.


Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent
event
 
Constructor Summary
ValueChangeEvent(BoxComponent pComponent)
          Creates a new instance of ValueChangeEvent for a source component.
 
Method Summary
 M getOldValue()
          Returns the old value.
 M getValue()
          Returns the value.
 void setOldValue(M pValue)
          Sets the old value.
 void setValue(M pValue)
          Sets the value.
 
Methods inherited from class com.extjs.gxt.ui.client.event.BoxComponentEvent
getBoxComponent, getHeight, getSize, getWidth, getX, getY, setBoxComponent, setHeight, setSize, setWidth, setX, setY
 
Methods inherited from class com.extjs.gxt.ui.client.event.ComponentEvent
getComponent, getState, setComponent, setState
 
Methods inherited from class com.extjs.gxt.ui.client.event.DomEvent
cancelBubble, getClientX, getClientY, getEvent, getEventTypeInt, getKeyCode, getTarget, getTarget, getTargetEl, getXY, hasModifier, isAltKey, isControlKey, isNavKeyPress, isNavKeyPress, isRightClick, isShiftKey, isSpecialKey, isSpecialKey, preventDefault, setEvent, stopEvent, within, within
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent
getSource, getType, isCancelled, setCancelled, setSource, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueChangeEvent

public ValueChangeEvent(BoxComponent pComponent)
Creates a new instance of ValueChangeEvent for a source component.

Parameters:
pComponent - the source component
Method Detail

getOldValue

public M getOldValue()
Returns the old value.

Returns:
the old value

setOldValue

public void setOldValue(M pValue)
Sets the old value.

Parameters:
pValue - the old value

getValue

public M getValue()
Returns the value.

Returns:
the value

setValue

public void setValue(M pValue)
Sets the value.

Parameters:
pValue - the value


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.