Class StripeAnimation

    • Constructor Detail

    • Method Detail

      • paint

        public final void paint​(java.awt.Graphics2D graphics,
                                java.awt.image.ImageObserver observer)
        Specified by:
        paint in class Renderable2D<Stripe>
      • clone

        public ClonableRenderable2DInterface<Stripe> clone​(Stripe 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.
        Specified by:
        clone in interface ClonableRenderable2DInterface<Stripe>
        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