swingwt.awt.event
Class AdjustmentEvent
java.lang.Object
java.util.EventObject
swingwt.awt.AWTEvent
swingwt.awt.event.AdjustmentEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class AdjustmentEvent
- extends AWTEvent
The adjustment event emitted by Adjustable objects.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ADJUSTMENT_FIRST
public static final int ADJUSTMENT_FIRST
- See Also:
- Constant Field Values
ADJUSTMENT_LAST
public static final int ADJUSTMENT_LAST
- See Also:
- Constant Field Values
ADJUSTMENT_VALUE_CHANGED
public static final int ADJUSTMENT_VALUE_CHANGED
- See Also:
- Constant Field Values
UNIT_INCREMENT
public static final int UNIT_INCREMENT
- See Also:
- Constant Field Values
UNIT_DECREMENT
public static final int UNIT_DECREMENT
- See Also:
- Constant Field Values
BLOCK_DECREMENT
public static final int BLOCK_DECREMENT
- See Also:
- Constant Field Values
BLOCK_INCREMENT
public static final int BLOCK_INCREMENT
- See Also:
- Constant Field Values
TRACK
public static final int TRACK
- See Also:
- Constant Field Values
AdjustmentEvent
public AdjustmentEvent(Adjustable source,
int id,
int type,
int value)
- Parameters:
source
- the Adjustable object where the event originatedid
- the event typetype
- the adjustment typevalue
- the current value of the adjustment
AdjustmentEvent
public AdjustmentEvent(Adjustable source,
int id,
int type,
int value,
boolean isAdjusting)
- Parameters:
source
- the Adjustable object where the event originatedid
- the event typetype
- the adjustment typevalue
- the current value of the adjustmentisAdjusting
- true if the event is one of a series of multiple adjusting events,
getAdjustable
public Adjustable getAdjustable()
- Returns:
- the Adjustable object where this event originated
getValue
public int getValue()
- Returns:
- the current value in the adjustment event
getAdjustmentType
public int getAdjustmentType()
- Returns:
- one of the adjustment values listed above
getValueIsAdjusting
public boolean getValueIsAdjusting()
- Returns:
- true if this is one of multiple adjustment events