Class ScreenSelection.SelectionHighlightController

  • All Implemented Interfaces:
    MessageListener, SelectListener, java.util.EventListener
    Enclosing class:
    ScreenSelection

    protected static class ScreenSelection.SelectionHighlightController
    extends HighlightController
    implements MessageListener
    Extends HighlightController to add the capability to highlight objects selected by a ScreenSelector. This tracks objects highlighted by both cursor rollover events and screen selection changes, and ensures that objects stay highlighted when they are either under cursor or in the ScreenSelector's selection rectangle.
    • Field Detail

      • lastBoxHighlightObjects

        protected java.util.List<Highlightable> lastBoxHighlightObjects
    • Constructor Detail

    • Method Detail

      • onMessage

        public void onMessage​(Message msg)
        Description copied from interface: MessageListener
        Invoked when a message is received.
        Specified by:
        onMessage in interface MessageListener
        Parameters:
        msg - The message that was received.
      • highlightSelectedObjects

        protected void highlightSelectedObjects​(java.util.List<?> list)