Interface ClonableRenderable2DInterface<T extends Locatable>

    • Method Detail

      • clone

        ClonableRenderable2DInterface<T> clone​(T newSource,
                                               SimulatorInterface.TimeDoubleUnit newSimulator)
                                        throws javax.naming.NamingException,
                                               java.rmi.RemoteException
        Clone the animation object and register it for the new source on the new simulation.
        Parameters:
        newSource - T; the source
        newSimulator - SimulatorInterface.TimeDoubleUnit; the simulator
        Returns:
        the generated clone
        Throws:
        javax.naming.NamingException - when animation context cannot be created or retrieved
        java.rmi.RemoteException - - when remote context cannot be found