public class DefaultBoundedIntegerRangeModel extends DefaultBoundedRangeModel implements BoundedIntegerRangeModel
changeEvent, listenerList| Constructor and Description |
|---|
DefaultBoundedIntegerRangeModel(int value,
int extent,
int min,
int max) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultValue() |
static boolean |
rangePropertiesChanged(BoundedIntegerRangeModel model,
int newValue,
int newExtent,
int newMin,
int newMax,
int newDef,
boolean newAdjusting) |
void |
setDefaultValue(int def) |
void |
setRangeProperties(int newValue,
int newExtent,
int newMin,
int newMax,
int newDef,
boolean newAdjusting) |
addChangeListener, fireStateChanged, getChangeListeners, getExtent, getListeners, getMaximum, getMinimum, getValue, getValueIsAdjusting, removeChangeListener, setExtent, setMaximum, setMinimum, setRangeProperties, setValue, setValueIsAdjusting, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtent, getMaximum, getMinimum, getValue, setExtent, setMaximum, setMinimum, setValueaddChangeListener, getValueIsAdjusting, removeChangeListener, setValueIsAdjustingpublic DefaultBoundedIntegerRangeModel(int value,
int extent,
int min,
int max)
public int getDefaultValue()
getDefaultValue in interface BoundedIntegerRangeModelpublic void setDefaultValue(int def)
setDefaultValue in interface BoundedIntegerRangeModelpublic static boolean rangePropertiesChanged(BoundedIntegerRangeModel model, int newValue, int newExtent, int newMin, int newMax, int newDef, boolean newAdjusting)
public void setRangeProperties(int newValue,
int newExtent,
int newMin,
int newMax,
int newDef,
boolean newAdjusting)
setRangeProperties in interface BoundedIntegerRangeModelCopyright © 1996-2014 FreeHEP. All Rights Reserved.