Class TableSelectedRowsListener

  • All Implemented Interfaces:
    org.eclipse.swt.widgets.Listener

    public abstract class TableSelectedRowsListener
    extends TableGroupRowRunner
    implements org.eclipse.swt.widgets.Listener
    Listener primarily for Menu Selection. Implement run(TableRowCore) and it will get called for each row the user has selected.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.eclipse.swt.widgets.Event event
      Event information passed in via the Listener.
      private boolean getOffSWT  
      private TableView<?> tv  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleEvent​(org.eclipse.swt.widgets.Event e)
      Process the trapped event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • getOffSWT

        private final boolean getOffSWT
      • event

        protected org.eclipse.swt.widgets.Event event
        Event information passed in via the Listener. Accessible in run(TableRowSWT).
    • Constructor Detail

      • TableSelectedRowsListener

        public TableSelectedRowsListener​(TableView<?> impl,
                                         boolean getOffSWT)
      • TableSelectedRowsListener

        public TableSelectedRowsListener​(TableView<?> impl)
        triggers the event off of the SWT thread
        Parameters:
        impl -
    • Method Detail

      • handleEvent

        public final void handleEvent​(org.eclipse.swt.widgets.Event e)
        Process the trapped event. This function does not need to be overidden.
        Specified by:
        handleEvent in interface org.eclipse.swt.widgets.Listener
        Parameters:
        e - event information