|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swfm.mica.core.MiPart
com.swfm.mica.core.MiContainer
com.swfm.mica.layouts.MiLayout
com.swfm.mica.core.MiVisibleContainer
com.swfm.mica.widgets.MiWidget
com.swfm.mica.widgets.MiLabel
com.swfm.mica.widgets.MiMenuItem
| Field Summary | |
static int |
Mi_BINARY_STATE
|
static int |
Mi_N_ARY_STATE
|
| Constructor Summary | |
MiMenuItem(MiMenu cascadingMenu,
java.lang.String label)
|
|
MiMenuItem(MiPart icon)
|
|
MiMenuItem(MiPart icon,
MiWidget widget,
java.lang.String labelSpec)
|
|
MiMenuItem(MiPart icon,
java.lang.String labelSpec)
|
|
MiMenuItem(java.lang.String labelSpec)
|
|
| Method Summary | |
MiEvent |
getAcceleratorEvent()
|
MiPart |
getAcceleratorGraphics()
|
java.lang.String |
getAcceleratorText()
|
MiPart |
getGraphics()
|
MiPart |
getIconGraphics()
|
MiPart |
getLabelGraphics()
|
java.lang.String |
getLabelText()
|
MiEvent |
getMnemonicEvent()
|
MiPart |
getSeparatorGraphics()
|
java.lang.String |
getValue()
Get the value of this widget, which is the label. |
boolean |
isCascadeMenu()
|
boolean |
isSeparator()
|
void |
refreshLookAndFeel()
|
void |
select(boolean flag)
Update the attributes of this widget while setting it's selected state. |
void |
setBackgroundColor(java.awt.Color c)
Sets the background color. |
void |
setContents(MiPart icon,
MiWidget widget,
java.lang.String labelSpec)
|
void |
setIconGraphics(MiPart icon)
|
void |
setLabel(java.lang.String label)
Sets the label of this widget. |
void |
setMultiState(int state)
|
void |
setSensitive(boolean flag)
Sets the sensitivity of this widget and it's label. |
void |
setValue(java.lang.String label)
Set the value of this widget, which is the label, to the given text. |
java.lang.String |
toString()
Returns textual information about this label widget. |
| Methods inherited from class com.swfm.mica.widgets.MiLabel |
copy, create, getLabel, getPrototype, setLabel, setPrototype |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.swfm.mica.layouts.MiiLayout |
getMinimumSize, getPreferredSize, invalidateLayout |
| Field Detail |
public static final int Mi_BINARY_STATE
public static final int Mi_N_ARY_STATE
| Constructor Detail |
public MiMenuItem(MiPart icon)
public MiMenuItem(MiPart icon,
java.lang.String labelSpec)
public MiMenuItem(MiPart icon,
MiWidget widget,
java.lang.String labelSpec)
public MiMenuItem(java.lang.String labelSpec)
public MiMenuItem(MiMenu cascadingMenu,
java.lang.String label)
| Method Detail |
public void setBackgroundColor(java.awt.Color c)
MiPart
setBackgroundColor in class MiPartc - the colorpublic boolean isSeparator()
public boolean isCascadeMenu()
public void setMultiState(int state)
public void select(boolean flag)
MiWidget
select in class MiWidgetflag - true if selectedMiWidget.setRadioStateEnforcer(com.swfm.mica.widgets.MiRadioStateEnforcer)
public void setContents(MiPart icon,
MiWidget widget,
java.lang.String labelSpec)
public MiPart getGraphics()
public MiPart getIconGraphics()
public void setIconGraphics(MiPart icon)
public MiPart getLabelGraphics()
public MiPart getAcceleratorGraphics()
public MiPart getSeparatorGraphics()
public java.lang.String getValue()
MiLabel
getValue in class MiLabelpublic void setValue(java.lang.String label)
MiLabel
setValue in class MiLabellabel - the new labelpublic java.lang.String getLabelText()
public void setLabel(java.lang.String label)
MiLabel
setLabel in class MiLabellabel - the new labelpublic java.lang.String getAcceleratorText()
public MiEvent getAcceleratorEvent()
public MiEvent getMnemonicEvent()
public void setSensitive(boolean flag)
MiLabel
setSensitive in class MiLabelflag - true if this is to be sensitive#setLabelSensivitypublic void refreshLookAndFeel()
refreshLookAndFeel in class MiPartpublic java.lang.String toString()
MiLabel
toString in class MiLabel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||