Class ColumnSelectionEvent

java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent
org.eclipse.nebula.widgets.nattable.selection.event.ColumnSelectionEvent
All Implemented Interfaces:
ILayerEvent, IVisualChangeEvent, ISelectionEvent

public class ColumnSelectionEvent extends ColumnVisualChangeEvent implements ISelectionEvent
  • Constructor Details

    • ColumnSelectionEvent

      public ColumnSelectionEvent(SelectionLayer selectionLayer, int columnPosition, boolean withShiftMask, boolean withControlMask)
      Constructor.
      Parameters:
      selectionLayer - The selection layer.
      columnPosition - The column position.
      withShiftMask - Boolean to determinate if the shift mask is used.
      withControlMask - Boolean to determinate if the control mask is used.
      Since:
      1.4
    • ColumnSelectionEvent

      protected ColumnSelectionEvent(ColumnSelectionEvent event)
  • Method Details

    • getSelectionLayer

      public SelectionLayer getSelectionLayer()
      Specified by:
      getSelectionLayer in interface ISelectionEvent
    • isWithShiftMask

      public boolean isWithShiftMask()
      Returns if the shift mask is used.
      Returns:
      true if the shift mask is used, false otherwise.
      Since:
      1.4
    • isWithControlMask

      public boolean isWithControlMask()
      Returns if the control mask is used.
      Returns:
      true if the control mask is used, false otherwise.
      Since:
      1.4
    • cloneEvent

      public ColumnSelectionEvent cloneEvent()
      Specified by:
      cloneEvent in interface ILayerEvent
      Returns:
      A cloned copy of the event. This cloned copy is provided to each listener.