Class OTSAnimationApplication<T extends OTSModelInterface>

    • Method Detail

      • animateNetwork

        protected void animateNetwork()
                               throws OTSDrawingException
        Creates the animation objects. This method is overridable. The default uses DefaultAnimationFactory.
        Throws:
        OTSDrawingException - on animation error
      • setAnimationToggles

        protected void setAnimationToggles()
        Set animation toggles. This method is overridable. The default sets standard text toggles.
      • setTextAnimationTogglesStandard

        public void setTextAnimationTogglesStandard​(DSOLPanel panel)
        Set the most common animation on, and create the toggles on the left hand side.
        Parameters:
        panel - OTSAnimationPanel; the WrappableAnimation.
      • addTabs

        protected void addTabs()
        Adds tabs. This method is overridable. The default does nothing.
      • getAnimationPanel

        public DSOLPanel getAnimationPanel()
        Returns the animation panel.
        Returns:
        OTSAnimationPanel; animation panel
      • getModel

        public T getModel()
        Returns:
        model