Class AgentCloner
- java.lang.Object
-
- repast.simphony.visualization.editor.AgentCloner
-
public class AgentCloner extends Object
Deprecated.2D piccolo based code is being removedClones one object into another using introspection and bean properties.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description AgentCloner(Object agent)
Deprecated.Creates an AgentCloner that will clone the specified object.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
createClone()
Deprecated.Clone the object passed in the constructor.
-
-
-
Constructor Detail
-
AgentCloner
public AgentCloner(Object agent)
Deprecated.Creates an AgentCloner that will clone the specified object.- Parameters:
agent
- the agent to clone
-
-
Method Detail
-
createClone
public Object createClone() throws IntrospectionException, IllegalAccessException, InstantiationException, InvocationTargetException
Deprecated.Clone the object passed in the constructor.- Returns:
- the clone.
- Throws:
IntrospectionException
IllegalAccessException
InstantiationException
InvocationTargetException
-
-