|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.event.StateSupport
public class StateSupport
This is a utility class that can be used by data containers to notify
StateEvent
listeners.
Constructor Summary | |
---|---|
StateSupport(java.lang.Object source)
Constructs a StateSupport object. |
Method Summary | |
---|---|
void |
addStateListener(StateListener listener)
|
void |
fireStateChanged()
|
void |
removeStateListener(StateListener listener)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StateSupport(java.lang.Object source)
source
- the object to be given as the source for any eventsMethod Detail |
---|
public void addStateListener(StateListener listener)
public void removeStateListener(StateListener listener)
public void fireStateChanged()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |