|
||||||||||
| 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.MiSpinBox
| Field Summary | |
static java.lang.String |
Mi_DECREASE_COMMAND_NAME
|
static java.lang.String |
Mi_INCREASE_COMMAND_NAME
|
static java.lang.String |
Mi_SPINBOX_PROTOTYPE_CLASS_NAME
|
| Constructor Summary | |
MiSpinBox()
|
|
MiSpinBox(boolean editable)
|
|
| Method Summary | |
static MiWidget |
create()
Creates a new widget from the prototype. |
Strings |
getContents()
Gets the contents (list of values) this widget displays. |
double |
getMaximumValue()
|
double |
getMinimumValue()
|
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. |
MiSpinButtons |
getSpinButtons()
|
double |
getStepValue()
|
MiTextField |
getTextField()
|
java.lang.String |
getValue()
Gets the value this widget displays. |
com.swfm.mica.widgets.MiiValueIterator |
getValueIterator()
|
boolean |
processAction(MiiAction action)
Processes the given action. |
void |
processCommand(java.lang.String command)
Processes the given command. |
void |
setContents(Strings contents)
Sets the contents (list of values) this widget displays. |
void |
setIsStringValue()
|
void |
setMaximumValue(double maximum)
|
void |
setMinimumValue(double minimum)
|
static void |
setPrototype(MiSpinBox 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 |
setRange(double minimum,
double maximum,
double increment)
|
void |
setRange(int minimum,
int maximum,
int increment)
|
void |
setSensitive(boolean flag)
Update the attributes of this widget while setting it's sensitivity. |
void |
setStepValue(double step)
|
void |
setValue(java.lang.String value)
Sets the value this widget displays. |
void |
setValueIterator(com.swfm.mica.widgets.MiiValueIterator iterator)
|
| 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_INCREASE_COMMAND_NAME
public static final java.lang.String Mi_DECREASE_COMMAND_NAME
public static final java.lang.String Mi_SPINBOX_PROTOTYPE_CLASS_NAME
| Constructor Detail |
public MiSpinBox()
public MiSpinBox(boolean editable)
| Method Detail |
public static MiWidget create()
setPrototype(com.swfm.mica.widgets.MiSpinBox)public void setIsStringValue()
public void setRange(int minimum,
int maximum,
int increment)
public void setRange(double minimum,
double maximum,
double increment)
public void setMinimumValue(double minimum)
public double getMinimumValue()
public void setMaximumValue(double maximum)
public double getMaximumValue()
public void setStepValue(double step)
public double getStepValue()
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 MiTextField getTextField()
public MiSpinButtons getSpinButtons()
public void setValueIterator(com.swfm.mica.widgets.MiiValueIterator iterator)
public com.swfm.mica.widgets.MiiValueIterator getValueIterator()
public static void setPrototype(MiSpinBox p)
p - the new prototypegetPrototype(),
create(),
MiPart.copy()public static MiWidget getPrototype()
setPrototype(com.swfm.mica.widgets.MiSpinBox),
create(),
MiPart.copy()public void setSensitive(boolean flag)
MiWidget
setSensitive in class MiWidgetflag - true if sensitivepublic void processCommand(java.lang.String command)
MiiCommandHandler
processCommand in interface MiiCommandHandlerpublic boolean processAction(MiiAction action)
MiiActionHandler
processAction in interface MiiActionHandleraction - the action to process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||