Class AbstractDisplay

    • Field Detail

      • FRAME_UPDATE_INTERVAL

        public static long FRAME_UPDATE_INTERVAL
      • INFO_CURSOR

        protected static final Cursor INFO_CURSOR
      • lastRenderTS

        protected long lastRenderTS
    • Constructor Detail

      • AbstractDisplay

        public AbstractDisplay()
    • Method Detail

      • addObject

        protected abstract void addObject​(Object o)
      • removeObject

        protected abstract void removeObject​(Object o)
      • moveObject

        protected abstract void moveObject​(Object o)
      • addProbeListener

        public void addProbeListener​(ProbeListener listener)
        Adds a probe listener to listen for probe events produced by this IDisplay.
        Specified by:
        addProbeListener in interface IDisplay
        Parameters:
        listener - the listener to add
      • addDisplayListener

        public void addDisplayListener​(DisplayListener listener)
        Adds a display listener to this display.
        Specified by:
        addDisplayListener in interface IDisplay
        Parameters:
        listener - the listener to add
      • registerToolBar

        public void registerToolBar​(JToolBar bar)
        Registers the specified toolbar with this IDisplay. This IDisplay can then put buttons etc. are on this toolbar. This is a default no-op implementation.
        Specified by:
        registerToolBar in interface IDisplay
        Parameters:
        bar - the bar to register
      • destroy

        public void destroy()
        Destroys the display, allowing it to free any resources it may have acquired.
        Specified by:
        destroy in interface IDisplay
      • createInfoCursor

        public static Cursor createInfoCursor()