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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtent, getMaximum, getMinimum, getValue, setExtent, setMaximum, setMinimum, setValue
addChangeListener, getValueIsAdjusting, removeChangeListener, setValueIsAdjusting
public DefaultBoundedIntegerRangeModel(int value, int extent, int min, int max)
public int getDefaultValue()
getDefaultValue
in interface BoundedIntegerRangeModel
public void setDefaultValue(int def)
setDefaultValue
in interface BoundedIntegerRangeModel
public 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 BoundedIntegerRangeModel
Copyright © 1996-2014 FreeHEP. All Rights Reserved.