|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Adjustable
The interface for objects that have an adjustable numeric value constrained within a bounded range of values.
Field Summary | |
---|---|
static int |
HORIZONTAL
|
static int |
VERTICAL
|
Method Summary | |
---|---|
void |
addAdjustmentListener(AdjustmentListener listener_)
|
int |
getBlockIncrement()
Gets the block increment (the amount by which the value will change when the arrow keys are pressed). |
int |
getMaximum()
Gets the maximum value of the adjustable object. |
int |
getMinimum()
Gets the minimum value of the adjustable object. |
int |
getOrientation()
Gets the orientation of the object. |
int |
getValue()
Gets the value of the adjustable object. |
int |
getVisibleAmount()
Gets the length of the proportional indicator. |
void |
processAdjustmentEvent(AdjustmentEvent evt_)
|
void |
removeAdjustmentListener(AdjustmentListener listener_)
|
void |
setBlockIncrement(int val_)
Sets the block increment |
void |
setMaximum(int val_)
Sets the maximum value of the adjustable object. |
void |
setMinimum(int val_)
Sets the minimum value of the adjustable object. |
void |
setValue(int val_)
Sets the value of the adjustable object. |
void |
setVisibleAmount(int val_)
Sets the length of the proportional indicator. |
Field Detail |
---|
static final int VERTICAL
static final int HORIZONTAL
Method Detail |
---|
void addAdjustmentListener(AdjustmentListener listener_)
void removeAdjustmentListener(AdjustmentListener listener_)
int getMaximum()
int getMinimum()
int getOrientation()
int getValue()
int getVisibleAmount()
int getBlockIncrement()
void setMaximum(int val_)
void setMinimum(int val_)
void setValue(int val_)
void setVisibleAmount(int val_)
void setBlockIncrement(int val_)
void processAdjustmentEvent(AdjustmentEvent evt_)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |