Class SpaceAddListener
java.lang.Object
repast.simphony.visualization.editor.SpaceAddListener
- All Implemented Interfaces:
AddListener
Deprecated.
2D piccolo based code is being removed
Listens for add events and prepares
the space so that the agent will be added
at the appropriate location.
- Author:
- Nick Collier
-
Constructor Summary
ConstructorDescriptionSpaceAddListener
(ContinuousSpace space, SpaceAddHandler handler) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the PInputEvent handler that will handle the gui part of the adding.void
postAdd()
Deprecated.Called immediately after the agent has been added.boolean
Deprecated.Called immediately prior to an agent being added.
-
Constructor Details
-
SpaceAddListener
Deprecated.
-
-
Method Details
-
preAdd
Deprecated.Called immediately prior to an agent being added.- Specified by:
preAdd
in interfaceAddListener
- Parameters:
obj
-point
- the location at which the agent should be added. @return true if an agent can be added to the specified location, otherwise false.
-
postAdd
public void postAdd()Deprecated.Called immediately after the agent has been added.- Specified by:
postAdd
in interfaceAddListener
-
getAddHandler
Deprecated.Gets the PInputEvent handler that will handle the gui part of the adding.- Specified by:
getAddHandler
in interfaceAddListener
- Returns:
- the PInputEvent handler that will handle the gui part of the adding.
-