All Packages Class Hierarchy This Package Previous Next Index
Class guinea.ui.event.AdjustmentControlEvent
java.lang.Object
|
+----java.util.EventObject
|
+----guinea.ui.event.UIEvent
|
+----guinea.ui.event.ControlEvent
|
+----guinea.ui.event.AdjustmentControlEvent
- public class AdjustmentControlEvent
- extends ControlEvent
Variable Index
- ·
TRACK
- Events between FIRST and LAST events.
- ·
TRACK_FIRST
- First TRACK event in a series of events.
- ·
TRACK_LAST
- Last TRACK event in a series of events.
Constructor Index
- ·
AdjustmentControlEvent(Object, int, Number)
- Constructs a AdjustmentControlEvent object with the specified
source, type and value.
- ·
AdjustmentControlEvent(Object, int, String, Number)
- Constructs a AdjustmentControlEvent object with the specified
source, type, value and command.
Method Index
- ·
getAdjustmentType()
- Returns the type of adjustment which caused the value changed event.
- ·
getValue()
- Get value of adjustment.
- ·
getValueDouble()
- Get value of adjustment as a double.
- ·
getValueInt()
- Get value of adjustment as an integer.
Variables
·
TRACK_FIRST
public static final int TRACK_FIRST
- First TRACK event in a series of events.
·
TRACK
public static final int TRACK
- Events between FIRST and LAST events.
·
TRACK_LAST
public static final int TRACK_LAST
- Last TRACK event in a series of events.
Constructors
·
AdjustmentControlEvent
public AdjustmentControlEvent(Object source,
int type,
String command,
Number value)
- Constructs a AdjustmentControlEvent object with the specified
source, type, value and command.
- Parameters:
- source - the object where the event originated
- type - the type of the adjustment
- command - action command
- value - adjustment value as a Number
·
AdjustmentControlEvent
public AdjustmentControlEvent(Object source,
int type,
Number value)
- Constructs a AdjustmentControlEvent object with the specified
source, type and value.
- Parameters:
- source - the object where the event originated
- type - the type of the adjustment
- value - adjustment value as a Number
Methods
·
getAdjustmentType
public int getAdjustmentType()
- Returns the type of adjustment which caused the value changed event.
- Returns:
- adjustment type
·
getValue
public int getValue()
- Get value of adjustment. For compatibility with
java.awt.event.AdjustmentEvent
- Returns:
- value as integer.
·
getValueInt
public int getValueInt()
- Get value of adjustment as an integer.
- Returns:
- value as integer.
·
getValueDouble
public double getValueDouble()
- Get value of adjustment as a double.
- Returns:
- value a double.
All Packages Class Hierarchy This Package Previous Next Index