|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScapeListener
A listener to an agent scape. When a scape is updated, it is the listener's responsility to update itself, and then inform the scape that updating is finished, so that the scape can continue iterating through its rules.
DefaultScapeListener
,
ScapeListenerDelegate
Method Summary | |
---|---|
java.lang.Object |
clone()
Require public access for clone. |
void |
environmentQuiting(ScapeEvent scapeEvent)
Method called as the environment is about to quit. |
Scape |
getScape()
Returns the Scape being viewed. |
boolean |
isGraphic()
Returns true if the listener is a graphical user interface component. |
boolean |
isLifeOfScape()
Returns true if the listener is intended to be used only for the current scape; typical of all but control related listeners. |
void |
scapeAdded(ScapeEvent scapeEvent)
Notifies the listener that the scape has added it. |
void |
scapeClosing(ScapeEvent scapeEvent)
Method called as the scape is about to be closed. |
void |
scapeDeserialized(ScapeEvent scapeEvent)
Method called immediatly after a model is deserialized. |
void |
scapeInitialized(ScapeEvent scapeEvent)
Called immediatly after the scape is initialized. |
void |
scapeIterated(ScapeEvent scapeEvent)
Called immediatly after scape is iterated. |
void |
scapeNotification(ScapeEvent scapeEvent)
Informs the listener that the agent scape has some kind of notification for the listener,. |
void |
scapeRemoved(ScapeEvent scapeEvent)
Removes the scape from this view. |
void |
scapeSetup(ScapeEvent scapeEvent)
Method called when the scape is ready for setup. |
void |
scapeStarted(ScapeEvent scapeEvent)
Called immediatly after the scape is started. |
void |
scapeStopped(ScapeEvent scapeEvent)
Called immediatly after the scape is stopped. |
Methods inherited from interface org.ascape.util.HasName |
---|
getName |
Method Detail |
---|
void scapeInitialized(ScapeEvent scapeEvent)
scapeEvent
- the scape eventvoid scapeStarted(ScapeEvent scapeEvent)
scapeEvent
- the scape eventvoid scapeStopped(ScapeEvent scapeEvent)
scapeEvent
- the scape eventvoid scapeIterated(ScapeEvent scapeEvent)
scapeEvent
- the scape eventvoid scapeSetup(ScapeEvent scapeEvent)
scapeEvent
- the scape eventvoid scapeClosing(ScapeEvent scapeEvent)
scapeEvent
- the scape eventvoid environmentQuiting(ScapeEvent scapeEvent)
scapeEvent
- the scape eventvoid scapeDeserialized(ScapeEvent scapeEvent)
scapeEvent
- the scape eventvoid scapeNotification(ScapeEvent scapeEvent)
scapeEvent
- the scape setup eventvoid scapeAdded(ScapeEvent scapeEvent) throws java.util.TooManyListenersException
scapeEvent
- the scape add event
java.util.TooManyListenersException
- the too many listeners exceptionvoid scapeRemoved(ScapeEvent scapeEvent)
scapeEvent
- the scape removed eventscapeAdded
boolean isGraphic()
boolean isLifeOfScape()
Scape getScape()
java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |