at.lcm.x2c.parameterEditor.widget
Class SpinnerDouble_Model
java.lang.Object
javax.swing.AbstractSpinnerModel
javax.swing.SpinnerNumberModel
at.lcm.x2c.parameterEditor.widget.SpinnerDouble_Model
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.SpinnerModel
- Direct Known Subclasses:
- SpinnerDouble_ModelAdd, SpinnerDouble_ModelMult
public abstract class SpinnerDouble_Model
- extends javax.swing.SpinnerNumberModel
Numeric spinner model.
- Author:
- Martin Hochwallner
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractSpinnerModel |
listenerList |
Methods inherited from class javax.swing.SpinnerNumberModel |
getMaximum, getMinimum, getNextValue, getNumber, getPreviousValue, getStepSize, getValue, setMaximum, setMinimum, setStepSize, setValue |
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 |
fractionDigits
protected int fractionDigits
SpinnerDouble_Model
public SpinnerDouble_Model()
SpinnerDouble_Model
public SpinnerDouble_Model(java.lang.Double value,
java.lang.Double minimum,
java.lang.Double maximum,
java.lang.Double stepSize)
spinnValue
public abstract void spinnValue(int increments)
- Parameters:
increments
-
getConfigAsXML
public abstract java.lang.String getConfigAsXML()
getFractionDigits
public int getFractionDigits()
setFractionDigits
public void setFractionDigits(int fractionDigits)
Copyright 2019 LCM. All rights reserved.