|
Sweet Home 3D 3.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractSpinnerModel
javax.swing.SpinnerNumberModel
com.eteks.sweethome3d.swing.NullableSpinner.NullableSpinnerNumberModel
com.eteks.sweethome3d.swing.NullableSpinner.NullableSpinnerLengthModel
public static class NullableSpinner.NullableSpinnerLengthModel
Nullable spinner model displaying length values matching preferences unit.
| Field Summary |
|---|
| Fields inherited from class javax.swing.AbstractSpinnerModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
NullableSpinner.NullableSpinnerLengthModel(UserPreferences preferences,
float minimum,
float maximum)
Creates a model managing lengths between the given minimum and maximum values in centimeter. |
|
| Method Summary | |
|---|---|
java.lang.Float |
getLength()
Returns the displayed value in centimeter. |
void |
setLength(java.lang.Float length)
Sets the length in centimeter displayed in this model. |
| Methods inherited from class com.eteks.sweethome3d.swing.NullableSpinner.NullableSpinnerNumberModel |
|---|
getNextValue, getNumber, getPreviousValue, getValue, isNullable, setNullable, setValue |
| Methods inherited from class javax.swing.SpinnerNumberModel |
|---|
getMaximum, getMinimum, getStepSize, setMaximum, setMinimum, setStepSize |
| Methods inherited from class javax.swing.AbstractSpinnerModel |
|---|
addChangeListener, fireStateChanged, getChangeListeners, getListeners, removeChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullableSpinner.NullableSpinnerLengthModel(UserPreferences preferences,
float minimum,
float maximum)
minimum and maximum values in centimeter.
| Method Detail |
|---|
public java.lang.Float getLength()
public void setLength(java.lang.Float length)
|
Sweet Home 3D 3.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
![]() |
? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |