|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.gui.util.IconUtils
Method Summary | |
---|---|
static void |
setDisabledIcon(RButton button,
java.lang.String key,
java.lang.String substituteText)
Assigns an icon to display in the button in disabled mode. |
static void |
setIcon(RButton button,
java.lang.String key,
java.lang.String substituteText)
Assigns an icon to display in the button in enabled mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void setIcon(RButton button, java.lang.String key, java.lang.String substituteText)
The key string may be either a key of the Application.properties file, or a fully qualified filename.
button
- The button to place the icon in.key
- A key string in the Application.properties file or a fully qualified filename.substituteText
- The text used to replace the icon in case of an error.public static void setDisabledIcon(RButton button, java.lang.String key, java.lang.String substituteText)
The key string may be either a key of the Application.properties file, or a fully qualified filename.
button
- The button to place the icon in.key
- A key string in the Application.properties file or a fully qualified filename.substituteText
- The text used to replace the icon in case of an error.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |