com.jidesoft.range
Class AbstractRange<T>
java.lang.Object
com.jidesoft.range.AbstractRange<T>
- All Implemented Interfaces:
- Range<T>
- Direct Known Subclasses:
- AbstractNumericRange, CategoryRange, TimeRange
public abstract class AbstractRange<T>
- extends Object
- implements Range<T>
An abstract implementation of Range
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRange
public AbstractRange()
copy
public Range<T> copy()
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Description copied from interface:
Range
- You can add a property change listener if you are interested to know when the range changes
- Specified by:
addPropertyChangeListener
in interface Range<T>
- Parameters:
listener
- the new property change listener
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Description copied from interface:
Range
- Remove a property change listener
- Specified by:
removePropertyChangeListener
in interface Range<T>
- Parameters:
listener
- the PropertyChangeListener
to remove
firePropertyChange
protected void firePropertyChange(PropertyChangeEvent evt)
firePropertyChange
protected void firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
firePropertyChange
protected void firePropertyChange(String propertyName,
int oldValue,
int newValue)
firePropertyChange
protected void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
createIntermediate
public abstract Range<T> createIntermediate(Range<T> targetRange,
double position)