Class ConflictAnimation

    • Constructor Detail

      • ConflictAnimation

        public ConflictAnimation​(Conflict source,
                                 SimulatorInterface.TimeDoubleUnit simulator)
                          throws javax.naming.NamingException,
                                 java.rmi.RemoteException
        Parameters:
        source - Conflict; the conflict to draw
        simulator - SimulatorInterface.TimeDoubleUnit; the simulator to schedule on
        Throws:
        javax.naming.NamingException - in case of registration failure of the animation
        java.rmi.RemoteException - on communication failure
    • Method Detail

      • paint

        public final void paint​(java.awt.Graphics2D graphics,
                                java.awt.image.ImageObserver observer)
                         throws java.rmi.RemoteException
        Overrides:
        paint in class AbstractLineAnimation<Conflict>
        Throws:
        java.rmi.RemoteException