|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infovis.utils.ChangeManager
public class ChangeManager
Constructor Summary | |
---|---|
ChangeManager()
|
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener listener)
Adds a listener to the list that's notified each time a change occurs. |
void |
disableNotify()
Disables notification until enableNotify has been called. |
void |
enableNotify()
Re enable notifications, triggering eventListeners if modifications occur. |
int |
getModCount()
Returns the modCount. |
void |
removeChangeListener(ChangeListener listener)
Removes a listener from the list that's notified each time a change occurs. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeManager()
Method Detail |
---|
public int getModCount()
public void disableNotify()
This method is useful if a large number of modifications is going to happen on the column and notifying each time would be too time consuming. The notification will be deferred until enableNotify is called.
Calls to disableNotify can be nested
enableNotify()
public void enableNotify()
disableNotify()
public void addChangeListener(ChangeListener listener)
listener
- the listenerpublic void removeChangeListener(ChangeListener listener)
listener
- the listener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |