com.extjs.gxt.ui.client.event
Class SliderEvent

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.extjs.gxt.ui.client.event.SliderEvent

public class SliderEvent
extends BoxComponentEvent

Slider event type.

See Also:
Slider

Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent
event
 
Constructor Summary
SliderEvent(Slider slider)
           
SliderEvent(Slider slider, com.google.gwt.user.client.Event event)
           
 
Method Summary
 int getNewValue()
          Returns the new value.
 int getOldValue()
          Returns the old value.
 Slider getSlider()
          Returns the source slider.
 void setNewValue(int newValue)
          Sets the new value.
 void setOldValue(int oldValue)
          Sets the old value.
 void setSlider(Slider slider)
          Sets the source slider.
 
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

SliderEvent

public SliderEvent(Slider slider)

SliderEvent

public SliderEvent(Slider slider,
                   com.google.gwt.user.client.Event event)
Method Detail

getNewValue

public int getNewValue()
Returns the new value.

Returns:
the new value

getOldValue

public int getOldValue()
Returns the old value.

Returns:
the old value

getSlider

public Slider getSlider()
Returns the source slider.

Returns:
the slider

setNewValue

public void setNewValue(int newValue)
Sets the new value.

Parameters:
newValue - the new value

setOldValue

public void setOldValue(int oldValue)
Sets the old value.

Parameters:
oldValue - the old value

setSlider

public void setSlider(Slider slider)
Sets the source slider.

Parameters:
slider - the slider