|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.AbstractButton
|
+--javax.swing.JMenuItem
|
+--javax.swing.JMenu
|
+--planetj.gui.CMMenuJ
Provides I18N functionality
| Field Summary |
| Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
CMMenuJ()
CMMenuJ constructor comment. |
|
CMMenuJ(String s)
CMMenuJ constructor comment. |
|
CMMenuJ(String s,
boolean b)
CMMenuJ constructor comment. |
|
| Method Summary | |
void |
add(Vector obs)
This will add a vector of components and/or actions to this menu Creation date: (7/17/00 11:47:03 AM) |
String |
getTranslation()
Gets the translated String. |
String |
getTranslationId()
Gets the key of the translated String. |
void |
setLabel(String key)
Overrides the superclass to set the key for the translated String. |
void |
setText(String key)
Overrides the superclass to set the key for the translated String. |
void |
setToolTipText(String toolTip)
Sets the toolTipText property (java.lang.String) value. |
void |
setTranslation(String newTranslation)
Sets the String without translating it. |
| Methods inherited from class javax.swing.JMenuItem |
addMenuDragMouseListener, addMenuKeyListener, getAccelerator, getMenuDragMouseListeners, getMenuKeyListeners, isArmed, processKeyEvent, processMenuDragMouseEvent, processMenuKeyEvent, processMouseEvent, removeMenuDragMouseListener, removeMenuKeyListener, setArmed, setEnabled, setUI |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.swing.MenuElement |
processKeyEvent, processMouseEvent |
| Constructor Detail |
public CMMenuJ()
public CMMenuJ(String s)
s - java.lang.String
public CMMenuJ(String s,
boolean b)
s - java.lang.Stringb - boolean| Method Detail |
public void add(Vector obs)
public String getTranslation()
public String getTranslationId()
public void setLabel(String key)
setLabel in class AbstractButtonpublic void setText(String key)
setText in class AbstractButtonpublic void setToolTipText(String toolTip)
setToolTipText in class JComponenttoolTip - The new value for the property.JComponent.getToolTipText()public void setTranslation(String newTranslation)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||