|
||||||||||
| 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.MiIconWithOptionMenu
| Field Summary | |
static java.lang.String |
Mi_ICONWITHOPTIONMENU_PROTOTYPE_CLASS_NAME
|
| Constructor Summary | |
MiIconWithOptionMenu()
|
|
MiIconWithOptionMenu(MiPart icon)
|
|
MiIconWithOptionMenu(MiPart icon,
MiPart menuPoppingDecoration)
|
|
| Method Summary | |
void |
appendItem(MiMenuItem item)
|
void |
appendItem(java.lang.String item)
|
void |
appendItems(Strings items)
|
static MiWidget |
create()
Creates a new widget from the prototype. |
void |
cycleToNextOption()
|
void |
cycleToPreviousOption()
|
Strings |
getContents()
Gets the contents (list of values) this widget displays. |
int |
getIndexOfItem(MiMenuItem item)
|
MiOptionMenu |
getOptionMenu()
|
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 |
getSelectedItem()
|
int |
getSelectedItemIndex()
|
MiMenuItem |
getSelectedMenuItem()
|
java.lang.String |
getValue()
Gets the value this widget displays. |
void |
popup()
|
boolean |
processAction(MiiAction action)
Processes the given action. |
void |
removeAllItems()
Removes all items from this container. |
void |
setContents(Strings contents)
Sets the contents (list of values) this widget displays. |
static void |
setPrototype(MiIconWithOptionMenu 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 |
setSelectedItem(int itemIndex)
|
void |
setSelectedItem(MiMenuItem item)
|
void |
setSelectedItem(java.lang.String item)
|
void |
setValue(java.lang.String value)
Sets the value this widget displays. |
| 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_ICONWITHOPTIONMENU_PROTOTYPE_CLASS_NAME
| Constructor Detail |
public MiIconWithOptionMenu()
public MiIconWithOptionMenu(MiPart icon)
public MiIconWithOptionMenu(MiPart icon,
MiPart menuPoppingDecoration)
| Method Detail |
public static MiWidget create()
setPrototype(com.swfm.mica.widgets.MiIconWithOptionMenu)public MiOptionMenu getOptionMenu()
public void appendItem(MiMenuItem item)
public void setSelectedItem(MiMenuItem item)
public int getIndexOfItem(MiMenuItem item)
public void setSelectedItem(java.lang.String item)
public void setSelectedItem(int itemIndex)
public void setValue(java.lang.String value)
MiWidget
setValue in class MiWidgetvalue - the value in the form of a text
stringpublic java.lang.String getValue()
MiWidget
getValue in class MiWidgetpublic 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 removeAllItems()
MiPart
removeAllItems in class MiPartpublic void appendItems(Strings items)
public void appendItem(java.lang.String item)
public java.lang.String getSelectedItem()
public int getSelectedItemIndex()
public MiMenuItem getSelectedMenuItem()
public void popup()
public void cycleToNextOption()
public void cycleToPreviousOption()
public boolean processAction(MiiAction action)
MiiActionHandler
processAction in interface MiiActionHandleraction - the action to process
public static void setPrototype(MiIconWithOptionMenu p)
p - the new prototypegetPrototype(),
create(),
MiPart.copy()public static MiWidget getPrototype()
setPrototype(com.swfm.mica.widgets.MiIconWithOptionMenu),
create(),
MiPart.copy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||