|
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vipratech.beans.standardbeans.resources.ControlButtonIcon
The ControlButtonIcon class is a library of common icons for graphical user interface (GUI) buttons. The icons are hard-coded using pixel co-ordinates. Each icon has four possible states: enabled, disabled, up (for mouse over) and down (for mouse pressed). Currently supported icons types are: play, pause, stop, forward, fastforward, back, fastbackward.
MainButton
, Serialized FormField Summary | |
static int |
DISABLED
The icon is drawn using the GUI control shadow color. |
static int |
DOWN
The icon is drawn using highlighed colors, but offset 1 pixel to the right. |
static int |
ENABLED
The icon is drawn in standard colors. |
static int |
ICON_BACKWARD
A black, double left arrow. |
static int |
ICON_FASTBACKWARD
A black, rigth arrow with a rectangle. |
static int |
ICON_FASTFORWARD
A black, left arrow with a rectangle. |
static int |
ICON_FORWARD
A black, double rigth arrow. |
static int |
ICON_INFO
A info button icon. |
static int |
ICON_PAUSE
A standard black symbol for pause. |
static int |
ICON_PLAY
A black, right arrow. |
static int |
ICON_STOP
A quater |
static int |
UP
The icon is drawn using highlighed colors, usually as a result of mouse over event. |
Constructor Summary | |
ControlButtonIcon(int x,
int y,
int icon)
Constructor takes three int arguments: x,y, and icon type. |
Method Summary | |
void |
setIconDisplay(java.awt.Graphics g,
int iconDisplay)
Sets the display of the icon as enabled, disabled, up or down. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int ICON_PLAY
public static final int ICON_STOP
public static final int ICON_PAUSE
public static final int ICON_FORWARD
public static final int ICON_BACKWARD
public static final int ICON_FASTFORWARD
public static final int ICON_FASTBACKWARD
public static final int ICON_INFO
public static final int ENABLED
public static final int DISABLED
public static final int UP
public static final int DOWN
Constructor Detail |
public ControlButtonIcon(int x, int y, int icon)
Method Detail |
public final void setIconDisplay(java.awt.Graphics g, int iconDisplay)
|
dathe@chemie.uni-leipzig.de" | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |