|
|||||||||||
| 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.JToggleButton
|
+--planetj.gui.CMToggleButtonJ
Insert the type's description here. Creation date: (5/14/02 10:47:40 AM)
| 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 | |
CMToggleButtonJ()
CMToggleButtonJ constructor comment. |
|
CMToggleButtonJ(Icon icon)
CMToggleButtonJ constructor comment. |
|
CMToggleButtonJ(Icon icon,
boolean selected)
CMToggleButtonJ constructor comment. |
|
CMToggleButtonJ(String text)
CMToggleButtonJ constructor comment. |
|
CMToggleButtonJ(String text,
boolean selected)
CMToggleButtonJ constructor comment. |
|
CMToggleButtonJ(String text,
Icon icon)
CMToggleButtonJ constructor comment. |
|
CMToggleButtonJ(String text,
Icon icon,
boolean selected)
CMToggleButtonJ constructor comment. |
|
| Method Summary | |
String |
getToolTipTranslationId()
Gets the key of the translation id EXAMPLE ^OkButton |
String |
getTranslation()
Gets the non-translated String. |
String |
getTranslationId()
Gets the key of the translation id EXAMPLE ^OkButton |
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 key)
Overrides the superclass to set the key for the translated String. |
void |
setToolTipTranslation(String newTranslation)
Sets the String without translating it. |
void |
setTranslation(String newTranslation)
Sets the String without translating it. |
| Methods inherited from class javax.swing.JToggleButton |
getAccessibleContext, getUIClassID, updateUI |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CMToggleButtonJ()
public CMToggleButtonJ(String text)
text - java.lang.String
public CMToggleButtonJ(String text,
Icon icon)
text - java.lang.Stringicon - javax.swing.Icon
public CMToggleButtonJ(String text,
Icon icon,
boolean selected)
text - java.lang.Stringicon - javax.swing.Iconselected - boolean
public CMToggleButtonJ(String text,
boolean selected)
text - java.lang.Stringselected - booleanpublic CMToggleButtonJ(Icon icon)
icon - javax.swing.Icon
public CMToggleButtonJ(Icon icon,
boolean selected)
icon - javax.swing.Iconselected - boolean| Method Detail |
public String getToolTipTranslationId()
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 key)
setToolTipText in class JComponentpublic void setToolTipTranslation(String newTranslation)
public void setTranslation(String newTranslation)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||