|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.field.AbstractFieldDescriptor<V>
net.sf.doolin.gui.field.AbstractPropertyFieldDescriptor<V>
net.sf.doolin.gui.field.FieldInteger<V>
V - Type of object for the viewpublic class FieldInteger<V>
Field for an Integer value.
It uses a JSpinner component.
The bounds of the component are defined, by order or priority:
setMinimumProperty(String) or
setMaximumProperty(String)
setMinimum(Integer) or
setMaximum(Integer)
null (unbounded)
| Constructor Summary | |
|---|---|
FieldInteger()
|
|
| Method Summary | |
|---|---|
Field<V> |
createField(GUIView<V> view)
Creates a field. |
Integer |
getMaximum()
Gets the maximum. |
String |
getMaximumProperty()
Returns the path to the property that contains the maximum value for this field. |
Integer |
getMinimum()
Gets the minimum. |
String |
getMinimumProperty()
Returns the path to the property that contains the minimum value for this field. |
int |
getStep()
Returns the step which is used for this field. |
void |
setMaximum(Integer maximum)
Sets the maximum. |
void |
setMaximumProperty(String maximumProperty)
Sets the path to the property that contains the maximum value for this field. |
void |
setMinimum(Integer minimum)
Sets the minimum. |
void |
setMinimumProperty(String minimumProperty)
Sets the path to the property that contains the minimum value for this field. |
void |
setStep(int step)
Sets the step which is used for this field. |
| Methods inherited from class net.sf.doolin.gui.field.AbstractPropertyFieldDescriptor |
|---|
getAdapter, getProperty, getPropertyPath, setAdapter, setProperty, setPropertyPath, subscribe, subscribe |
| Methods inherited from class net.sf.doolin.gui.field.AbstractFieldDescriptor |
|---|
getActionFactory, getConstraint, getDisplayStateHandler, getIconService, getName, getStyle, getTransferHandler, onInit, onShow, setActionFactory, setConstraint, setDisplayState, setDisplayStateHandler, setIconService, setName, setStyle, setTransferHandler |
| Methods inherited from class net.sf.doolin.bus.bean.Bean |
|---|
getBeanNotificationSupport, getParentBean, notify, setParentBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldInteger()
| Method Detail |
|---|
public Field<V> createField(GUIView<V> view)
view - Owning view
public Integer getMaximum()
public String getMaximumProperty()
public Integer getMinimum()
public String getMinimumProperty()
public int getStep()
public void setMaximum(Integer maximum)
maximum - the new maximumpublic void setMaximumProperty(String maximumProperty)
maximumProperty - Property pathpublic void setMinimum(Integer minimum)
minimum - the new minimumpublic void setMinimumProperty(String minimumProperty)
minimumProperty - Property pathpublic void setStep(int step)
step - Step between each value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||