|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.datamessenger.awt.graphics.Layout
|
+--com.datamessenger.awt.graphics.AdjustableLayout
| Fields inherited from class com.datamessenger.awt.graphics.Layout |
insets,
offsetx,
offsety |
| Fields inherited from interface java.awt.Adjustable |
HORIZONTAL,
VERTICAL |
| Constructor Summary | |
AdjustableLayout(int orientation)
|
|
| Method Summary | |
void |
addAdjustmentListener(java.awt.event.AdjustmentListener l)
Add a listener to recieve adjustment events when the value of the adjustable object changes. |
protected void |
fireAdjustmentEvent(int type)
|
int |
getBlockIncrement()
Gets the block value increment for the adjustable object. |
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 adjustable object. |
int |
getUnitIncrement()
Gets the unit value increment for the adjustable object. |
int |
getValue()
Gets the current value of the adjustable object. |
int |
getVisibleAmount()
Gets the length of the propertional indicator. |
void |
incrementBlock(int i)
|
void |
incrementUnit(int i)
|
void |
removeAdjustmentListener(java.awt.event.AdjustmentListener l)
Removes an adjustment listener. |
void |
scroll(int pixels)
Moves the value by the requested number of pixels. |
void |
setBlockIncrement(int b)
Sets the block value increment for the adjustable object. |
void |
setMaximum(int max)
Sets the maximum value of the adjustable object. |
void |
setMinimum(int min)
Sets the minimum value of the adjustable object. |
void |
setUnitIncrement(int u)
Sets the unit value increment for the adjustable object. |
void |
setValue(int v)
Sets the current value of the adjustable object. |
void |
setValues(int value,
int visible,
int min,
int max)
|
void |
setVisibleAmount(int v)
Sets the length of the proportionl indicator of the adjustable object. |
void |
updateLayout(java.awt.Rectangle parent,
LayoutContext child)
|
| Methods inherited from class com.datamessenger.awt.graphics.Layout |
getInsets,
getPreferredSize,
pack,
unpack,
updateLayout |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public AdjustableLayout(int orientation)
| Method Detail |
public void updateLayout(java.awt.Rectangle parent,
LayoutContext child)
public void setValues(int value,
int visible,
int min,
int max)
public void scroll(int pixels)
pixels - the number of pixels to move from the current valuepublic void incrementBlock(int i)
public void incrementUnit(int i)
public int getOrientation()
public void setMinimum(int min)
min - the minimum valuepublic int getMinimum()
public void setMaximum(int max)
max - the maximum valuepublic int getMaximum()
public void setUnitIncrement(int u)
u - the unit incrementpublic int getUnitIncrement()
public void setBlockIncrement(int b)
b - the block incrementpublic int getBlockIncrement()
public void setVisibleAmount(int v)
v - the length of the indicatorpublic int getVisibleAmount()
public void setValue(int v)
v - the current valuepublic int getValue()
public void addAdjustmentListener(java.awt.event.AdjustmentListener l)
l - the listener to recieve eventsAdjustmentEventpublic void removeAdjustmentListener(java.awt.event.AdjustmentListener l)
l - the listener being removedAdjustmentEventprotected void fireAdjustmentEvent(int type)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Comments, suggestions, and bug reports are welcomed and encouraged. Please refer them to our support page. Thank you. |
Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.