Class GISSelectionHandler

  • All Implemented Interfaces:
    EventListener, org.piccolo2d.event.PInputEventListener, PEditorEventListener

    public class GISSelectionHandler
    extends org.piccolo2d.event.PBasicInputEventHandler
    implements PEditorEventListener
    Deprecated.
    2D piccolo based code is being removed
    Event handler for selecting nodes.
    Author:
    Nick Collier
    • Constructor Detail

      • GISSelectionHandler

        public GISSelectionHandler​(DisplayGIS disp,
                                   PGISCanvas canvas)
        Deprecated.
    • Method Detail

      • mouseEntered

        public void mouseEntered​(org.piccolo2d.event.PInputEvent event)
        Deprecated.
        Overrides:
        mouseEntered in class org.piccolo2d.event.PBasicInputEventHandler
      • mouseExited

        public void mouseExited​(org.piccolo2d.event.PInputEvent event)
        Deprecated.
        Overrides:
        mouseExited in class org.piccolo2d.event.PBasicInputEventHandler
      • mouseClicked

        public void mouseClicked​(org.piccolo2d.event.PInputEvent event)
        Deprecated.
        Overrides:
        mouseClicked in class org.piccolo2d.event.PBasicInputEventHandler
      • addObjectSelectionListener

        public void addObjectSelectionListener​(ObjectSelectionListener listener)
        Deprecated.
      • objectsSelected

        public void objectsSelected​(Object[] objs)
        Deprecated.
        Invoked when the specified objects have been selected in code external to this
        Parameters:
        objs - the selected objects
      • init

        public void init()
        Deprecated.
        Initializes this listener. This happens only once whereas start / stop may occur multiple times.
        Specified by:
        init in interface PEditorEventListener
      • destroy

        public void destroy()
        Deprecated.
        Cleans up anything created by this listener in init. This happens only once whereas start / stop may occur multiple times.
        Specified by:
        destroy in interface PEditorEventListener
      • start

        public void start()
        Deprecated.
        Starts the listener. At the very least this should add the listener to whatever PNode it is listening on.
        Specified by:
        start in interface PEditorEventListener
      • stop

        public void stop()
        Deprecated.
        Stops the listener. At the very least this should remove the listener to whatever PNode it is listening on.
        Specified by:
        stop in interface PEditorEventListener