T
- the Locatable class of the source that indicates the location of the Renderable on the screenpublic interface ClonableRenderable2DInterface<T extends Locatable> extends Renderable2DInterface<T>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Renderable2DInterface.Util
Modifier and Type | Method and Description |
---|---|
ClonableRenderable2DInterface<T> |
clone(T newSource,
SimulatorInterface.TimeDoubleUnit newSimulator)
Clone the animation object and register it for the new source on the new simulation.
|
contains, destroy, getSource, paint
ClonableRenderable2DInterface<T> clone(T newSource, SimulatorInterface.TimeDoubleUnit newSimulator) throws NamingException, RemoteException
newSource
- T; the sourcenewSimulator
- SimulatorInterface.TimeDoubleUnit; the simulatorNamingException
- when animation context cannot be created or retrievedRemoteException
- - when remote context cannot be foundCopyright © 2014–2019 Delft University of Technology. All rights reserved.