|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.dsol.animation.D2.Renderable2D
nl.tudelft.simulation.dsol.animation.D2.EditableRenderable2D
EditableRenderable2D is an abstract class that implements EditableRenderable2DInterface. This class can be extended by classes that animate editable simulation objects.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Nested Class Summary |
| Nested classes inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface |
Renderable2DInterface.Util |
| Field Summary | |
protected Editable |
source
the source of this renderable |
| Fields inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D |
flip, rotate, scale, simulator, translate |
| Constructor Summary | |
EditableRenderable2D(Editable source,
SimulatorInterface simulator)
constructs a new EditableRenderable2D |
|
| Method Summary | |
boolean |
allowAddOrDeletePoints()
Is the user allowed to add or delete points of this editable? |
boolean |
allowDelete()
Is the user allowed to delete this object? |
boolean |
allowEditPoints()
Is the user allowed to edit individual points of this editable? |
boolean |
allowMove()
Is the user allowed to move this editable? |
boolean |
allowRotate()
Is the user allowed to rotate this editable? |
boolean |
allowScale()
Is the user allowed to scale this editable? |
int |
getMaxNumberOfPoints()
Get the maximum allowed number of points for this editable |
int |
getMinNumberOfPoints()
Get the minimum allowed number of points for this editable |
boolean |
isClosedShape()
Returns whether this shape is closed or open. |
| Methods inherited from class nl.tudelft.simulation.dsol.animation.D2.Renderable2D |
contains, destroy, getSource, isFlip, isRotate, isScale, isTranslate, paint, paint, setFlip, setRotate, setScale, setTranslate, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface |
contains, destroy, getSource, paint |
| Field Detail |
protected Editable source
| Constructor Detail |
public EditableRenderable2D(Editable source,
SimulatorInterface simulator)
source - the source and targetsimulator - the simulator| Method Detail |
public boolean isClosedShape()
throws java.rmi.RemoteException
EditableRenderable2DInterface
isClosedShape in interface EditableRenderable2DInterfacejava.rmi.RemoteException - RemoteExceptionEditableRenderable2DInterface.isClosedShape()
public boolean allowMove()
throws java.rmi.RemoteException
EditableRenderable2DInterface
allowMove in interface EditableRenderable2DInterfacejava.rmi.RemoteException - RemoteExceptionEditableRenderable2DInterface.allowMove()
public boolean allowRotate()
throws java.rmi.RemoteException
EditableRenderable2DInterface
allowRotate in interface EditableRenderable2DInterfacejava.rmi.RemoteException - RemoteExceptionEditableRenderable2DInterface.allowRotate()
public boolean allowScale()
throws java.rmi.RemoteException
EditableRenderable2DInterface
allowScale in interface EditableRenderable2DInterfacejava.rmi.RemoteException - RemoteExceptionEditableRenderable2DInterface.allowScale()
public boolean allowEditPoints()
throws java.rmi.RemoteException
EditableRenderable2DInterface
allowEditPoints in interface EditableRenderable2DInterfacejava.rmi.RemoteException - RemoteExceptionEditableRenderable2DInterface.allowEditPoints()
public boolean allowDelete()
throws java.rmi.RemoteException
EditableRenderable2DInterface
allowDelete in interface EditableRenderable2DInterfacejava.rmi.RemoteException - RemoteExceptionEditableRenderable2DInterface.allowDelete()
public boolean allowAddOrDeletePoints()
throws java.rmi.RemoteException
EditableRenderable2DInterface
allowAddOrDeletePoints in interface EditableRenderable2DInterfacejava.rmi.RemoteException - RemoteExceptionEditableRenderable2DInterface.allowAddOrDeletePoints()
public int getMaxNumberOfPoints()
throws java.rmi.RemoteException
EditableRenderable2DInterface
getMaxNumberOfPoints in interface EditableRenderable2DInterfacejava.rmi.RemoteException - RemoteExceptionEditableRenderable2DInterface.getMaxNumberOfPoints()
public int getMinNumberOfPoints()
throws java.rmi.RemoteException
EditableRenderable2DInterface
getMinNumberOfPoints in interface EditableRenderable2DInterfacejava.rmi.RemoteException - RemoteExceptionEditableRenderable2DInterface.getMinNumberOfPoints()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||