|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.util.IlpAbstractComparator
public abstract class IlpAbstractComparator
Abstract implementation of IlpMutableComparator.
It provides support for notification.
| Constructor Summary | |
|---|---|
IlpAbstractComparator()
Creates an IlpAbstractComparator. |
|
IlpAbstractComparator(Object source)
Creates and IlpAbstractComparator. |
|
| Method Summary | |
|---|---|
void |
addChangeListener(ChangeListener l)
Adds a listener to the comparator. |
protected void |
fireStateChanged()
Fires a state change to indicate that the comparator has changed. |
void |
removeChangeListener(ChangeListener l)
Removes a listener from the comparator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
compare, equals |
| Constructor Detail |
|---|
public IlpAbstractComparator()
IlpAbstractComparator.
It will use this as the source of events.
public IlpAbstractComparator(Object source)
IlpAbstractComparator.
It will use the source parameter as the source of the event, for example,
if you extend this class to create a support class.
| Method Detail |
|---|
public void addChangeListener(ChangeListener l)
addChangeListener in interface IlpMutableComparatorl - The ChangeListener to be added.public void removeChangeListener(ChangeListener l)
removeChangeListener in interface IlpMutableComparatorl - The ChangeListener to be removed.protected void fireStateChanged()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||