|
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vipratech.beans.standardbeans.resources.MainButtonIcon
The ButtonIcon class is a library of common icons for graphical user interface (GUI) buttons. The icons are hard-coded using pixel co-ordinates as this avoids storing .gif images in .jar files. (Some browsers seem to have problems extracting .gif images from .jar files. Also the use of pixel co-ordinates means smaller .jar files whose GUI classes can execute faster if images do not have to loaded and rendered). The icons are designed to be 16x16 pixel size.
Each icon has four possible states: enabled, disabled, up (for mouse over) and down (for mouse pressed). Currently supported icons types are: start, stop, pause, reset, save, edit, info and wizard.
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_EDIT
A white icon that repsents an option dialog. |
static int |
ICON_INFO
A blue standard symbol for information with a white "i" symbol. |
static int |
ICON_PAUSE
A standard black symbol for pause. |
static int |
ICON_PROTOKOLL
A symbol for printing a protocol. |
static int |
ICON_RESET
A black, left pointing curly arrow. |
static int |
ICON_SAVE
A white closed folder icon. |
static int |
ICON_SEND
A symbol(letter) for sending a e-mail |
static int |
ICON_START
A black, right pointing curly arrow. |
static int |
ICON_STOP
A red stop sign with a white cross. |
static int |
ICON_WIZARD
A symbol for the stepwise wizard dialog. |
static int |
UP
The icon is drawn using highlighed colors, usually as a result of mouse over event. |
Constructor Summary | |
MainButtonIcon(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_START
public static final int ICON_STOP
public static final int ICON_PAUSE
public static final int ICON_RESET
public static final int ICON_SAVE
public static final int ICON_EDIT
public static final int ICON_INFO
public static final int ICON_WIZARD
public static final int ICON_PROTOKOLL
public static final int ICON_SEND
public static final int ENABLED
public static final int DISABLED
public static final int UP
public static final int DOWN
Constructor Detail |
public MainButtonIcon(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 |