|
||||||||||
| 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.MiButton
com.swfm.mica.widgets.MiPushButton
com.swfm.mica.widgets.MiCycleButton
| Field Summary | |
static java.lang.String |
Mi_CYCLEBUTTON_PROTOTYPE_CLASS_NAME
|
| Constructor Summary | |
MiCycleButton()
|
|
MiCycleButton(MiPart value1,
MiPart value2)
|
|
MiCycleButton(MiPart value1,
MiPart value2,
MiPart value3)
|
|
MiCycleButton(Strings values)
|
|
MiCycleButton(java.lang.String value1,
java.lang.String value2)
|
|
MiCycleButton(java.lang.String value1,
java.lang.String value2,
java.lang.String value3)
|
|
| Method Summary | |
void |
copy(MiPart source)
Copy the state of this MiPart into the target MiPart. |
static MiWidget |
create()
Creates a new widget from the prototype. |
Strings |
getContents()
Gets the contents (list of values) this widget displays. |
static MiWidget |
getPrototype()
Gets the prototype that is to be copied when the #create method is called and to have it's attributes and handlers copied whenever any widget of this type is created. |
java.lang.String |
getValue()
Get the value of this widget, which is the label. |
void |
select(boolean flag)
Sets the button's selected state. |
void |
setContents(Strings contents)
Sets the contents (list of values) this widget displays. |
static void |
setPrototype(MiCycleButton p)
Sets the prototype that is to be copied when the #create method is called and to have it's attributes and handlers copied whenever any widget of this type is created. |
void |
setValue(int index)
|
void |
setValue(java.lang.String value)
Set the value of this widget, which is the label, to the given text. |
| Methods inherited from class com.swfm.mica.widgets.MiPushButton |
getRepeatSelectWhenHeld, setPrototype, setRepeatSelectWhenHeld |
| Methods inherited from class com.swfm.mica.widgets.MiButton |
appendShortCut, getFocusLabel, getInsensitiveLabel, getNormalLabel, getPropertyDescriptions, getPropertyValue, getSelectedLabel, hasProperty, processCommand, select, setFocusLabel, setFocusLabel, setInsensitiveLabel, setInsensitiveLabel, setKeyboardFocus, setLabel, setMouseFocus, setNormalLabel, setNormalLabel, setPropertyValue, setSelectedLabel, setSelectedLabel |
| Methods inherited from class com.swfm.mica.widgets.MiLabel |
getLabel, setLabel, setPrototype, setSensitive, toString |
| 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 java.lang.String Mi_CYCLEBUTTON_PROTOTYPE_CLASS_NAME
| Constructor Detail |
public MiCycleButton()
public MiCycleButton(Strings values)
public MiCycleButton(java.lang.String value1,
java.lang.String value2)
public MiCycleButton(java.lang.String value1,
java.lang.String value2,
java.lang.String value3)
public MiCycleButton(MiPart value1,
MiPart value2)
public MiCycleButton(MiPart value1,
MiPart value2,
MiPart value3)
| Method Detail |
public static MiWidget create()
setPrototype(com.swfm.mica.widgets.MiCycleButton)public static void setPrototype(MiCycleButton p)
p - the new prototypegetPrototype(),
create(),
MiPart.copy()public static MiWidget getPrototype()
setPrototype(com.swfm.mica.widgets.MiCycleButton),
create(),
MiPart.copy()public void select(boolean flag)
MiButton
select in class MiButtonflag - true if this is selectedpublic void setValue(int index)
public void setValue(java.lang.String value)
MiButton
setValue in class MiButtonvalue - the new labelpublic java.lang.String getValue()
MiLabel
getValue in class MiLabelpublic void setContents(Strings contents)
MiWidget
setContents in class MiWidgetcontents - the contents in the form of a list
of text stringspublic Strings getContents()
MiWidget
getContents in class MiWidgetpublic void copy(MiPart source)
copy in class MiButtonMiPart.copy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||