|
||||||||||
| 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.MiLabeledWidget
| Field Summary |
| Constructor Summary | |
MiLabeledWidget(MiWidget widget,
java.lang.String label)
|
|
MiLabeledWidget(java.lang.String label,
MiWidget widget)
|
|
| Method Summary | |
void |
copy(MiPart source)
Copies the given MiPart. |
MiPart |
deepCopy()
Makes and returns a copy of this container and all of it's parts. |
MiText |
getLabel()
|
java.lang.String |
getValue()
Gets the value this widget displays. |
MiWidget |
getWidget()
|
void |
insertActionHandler(MiiAction action,
int index)
Inserts the given action, which will be sent to it's action handler when any of it's valid actions occur, at the given index. |
boolean |
isSelected()
Gets whether this MiPart is selected. |
boolean |
isSensitive()
Gets whether this MiPart is sensitive. |
boolean |
processAction(MiiAction action)
Processes the given action. |
void |
refreshLookAndFeel()
|
void |
removeActionHandler(int index)
Removes the action handler at the given index. |
void |
removeActionHandler(MiiAction action)
Removes the given action from the list of actions that this MiPart calls. |
void |
removeActionHandlers(MiiActionHandler handler)
Removes every instance of the given action handler from the list of action handlers this MiPart calls. |
void |
removeAllActionHandlers()
Removes all action handlers. |
void |
select(boolean flag)
Update the attributes of this widget while setting it's selected state. |
void |
setAttributes(MiAttributes atts)
Sets the attributes the widget is to have in the normal state. |
void |
setLabelLocation(int location)
Mi_LEFT_LOCATION Mi_RIGHT_LOCATION Mi_BOTTOM_LOCATION Mi_TOP_LOCATION |
void |
setSensitive(boolean flag)
Update the attributes of this widget while setting it's sensitivity. |
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 |
| Constructor Detail |
public MiLabeledWidget(java.lang.String label,
MiWidget widget)
public MiLabeledWidget(MiWidget widget,
java.lang.String label)
| Method Detail |
public void select(boolean flag)
MiWidget
select in class MiWidgetflag - true if selectedMiWidget.setRadioStateEnforcer(com.swfm.mica.widgets.MiRadioStateEnforcer)public boolean isSelected()
MiPart
isSelected in class MiPartpublic void setSensitive(boolean flag)
MiWidget
setSensitive in class MiWidgetflag - true if sensitivepublic boolean isSensitive()
MiPart
isSensitive in class MiPartpublic 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 MiText getLabel()
public void setLabelLocation(int location)
public MiWidget getWidget()
public void insertActionHandler(MiiAction action,
int index)
MiPart
insertActionHandler in class MiPartaction - the action to insertindex - the index of the insertion pointpublic void removeActionHandler(MiiAction action)
MiPart
removeActionHandler in class MiPartaction - the action to removepublic void removeActionHandlers(MiiActionHandler handler)
MiPart
removeActionHandlers in class MiParthandler - the action handler to removepublic void removeActionHandler(int index)
MiPart
removeActionHandler in class MiPartindex - the position of the action handler
to removepublic void removeAllActionHandlers()
MiPart
removeAllActionHandlers in class MiPartpublic void setAttributes(MiAttributes atts)
MiWidget
setAttributes in class MiWidgetatts - the attributesMiPart.setAttributes(com.swfm.mica.core.MiAttributes)public boolean processAction(MiiAction action)
MiiActionHandler
processAction in interface MiiActionHandleraction - the action to process
public void refreshLookAndFeel()
refreshLookAndFeel in class MiPartpublic void copy(MiPart source)
copy in class MiWidgetsource - the part to copyMiPart.copy()public MiPart deepCopy()
MiContainer
deepCopy in class MiContainerMiPart.copy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||