|
||||||||||
| 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.MiMenuLauncherButton
| Field Summary | |
static java.lang.String |
Mi_MENU_LAUNCHER_BUTTON_PROTOTYPE_CLASS_NAME
|
| Constructor Summary | |
MiMenuLauncherButton()
|
|
MiMenuLauncherButton(MiMenu menu)
|
|
MiMenuLauncherButton(MiMenu menu,
MiPart obj)
|
|
MiMenuLauncherButton(MiMenu menu,
java.lang.String text)
|
|
| Method Summary | |
void |
addPopupLocation(MiPart subject,
int subjectPt,
int menuPt)
|
void |
copy(MiPart source)
Copy the state of this MiPart into the target MiPart. |
static MiWidget |
create()
Creates a new widget from the prototype. |
MiParts |
getAssociatedParts(MiParts parts)
|
MiMenu |
getMenu()
|
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. |
boolean |
processAction(MiiAction action)
Processes the given action. |
void |
processCommand(java.lang.String arg)
Processes the given command. |
void |
select(boolean flag)
Sets the button's selected state. |
void |
setMenu(MiMenu menu)
|
void |
setPopupLocation(MiPart subject,
int subjectPt)
|
static void |
setPrototype(MiMenuLauncherButton 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. |
| Methods inherited from class com.swfm.mica.widgets.MiButton |
appendShortCut, getFocusLabel, getInsensitiveLabel, getNormalLabel, getPropertyDescriptions, getPropertyValue, getSelectedLabel, hasProperty, select, setFocusLabel, setFocusLabel, setInsensitiveLabel, setInsensitiveLabel, setKeyboardFocus, setLabel, setMouseFocus, setNormalLabel, setNormalLabel, setPropertyValue, setSelectedLabel, setSelectedLabel, setValue |
| Methods inherited from class com.swfm.mica.widgets.MiLabel |
getLabel, getValue, 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_MENU_LAUNCHER_BUTTON_PROTOTYPE_CLASS_NAME
| Constructor Detail |
public MiMenuLauncherButton()
public MiMenuLauncherButton(MiMenu menu)
public MiMenuLauncherButton(MiMenu menu,
java.lang.String text)
public MiMenuLauncherButton(MiMenu menu,
MiPart obj)
| Method Detail |
public static MiWidget create()
setPrototype(com.swfm.mica.widgets.MiMenuLauncherButton)
public void setPopupLocation(MiPart subject,
int subjectPt)
public void addPopupLocation(MiPart subject,
int subjectPt,
int menuPt)
public void setMenu(MiMenu menu)
public MiMenu getMenu()
public static void setPrototype(MiMenuLauncherButton p)
p - the new prototypegetPrototype(),
create(),
MiPart.copy()public static MiWidget getPrototype()
setPrototype(com.swfm.mica.widgets.MiMenuLauncherButton),
create(),
MiPart.copy()public void copy(MiPart source)
copy in class MiButtonsource - the part to copyMiPart.copy()public void select(boolean flag)
MiButton
select in class MiButtonflag - true if this is selectedpublic boolean processAction(MiiAction action)
MiiActionHandler
processAction in interface MiiActionHandleraction - the action to process
public void processCommand(java.lang.String arg)
MiiCommandHandler
processCommand in interface MiiCommandHandlerprocessCommand in class MiButtonarg - the command argumentpublic MiParts getAssociatedParts(MiParts parts)
getAssociatedParts in class MiPart
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||