|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.montsuqi.widgets.UIStock
public class UIStock
This class provides mapping from a string name to a set of icon/text/tooltip/accelerator.
| Method Summary | |
|---|---|
static UIStock |
get(java.lang.String key)
Returns a ui stock named key. |
javax.swing.KeyStroke |
getAccelerator()
Gets the accelerator resource of this ui scock. |
javax.swing.Icon |
getIcon()
Gets the icon resource of this ui scock. |
java.lang.String |
getText()
Gets the text resource of this ui scock. |
java.lang.String |
getToolTip()
Gets the tooltip resource of this ui scock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getText()
Gets the text resource of this ui scock.
public java.lang.String getToolTip()
Gets the tooltip resource of this ui scock.
public javax.swing.Icon getIcon()
Gets the icon resource of this ui scock.
public javax.swing.KeyStroke getAccelerator()
Gets the accelerator resource of this ui scock.
public static UIStock get(java.lang.String key)
Returns a ui stock named key.
key - the key to look up the ui stock for.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||