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 Summary
Constructors Modifier Constructor Description protected
ColumnSelectionEvent(ColumnSelectionEvent event)
ColumnSelectionEvent(SelectionLayer selectionLayer, int columnPosition, boolean withShiftMask, boolean withControlMask)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnSelectionEvent
cloneEvent()
SelectionLayer
getSelectionLayer()
boolean
isWithControlMask()
Returns if the control mask is used.boolean
isWithShiftMask()
Returns if the shift mask is used.-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent
convertToLocal, getChangedPositionRectangles, getColumnIndexes, getColumnPositionRanges, getLayer, setColumnPositionRanges, toString
-
-
-
-
Constructor Detail
-
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 Detail
-
getSelectionLayer
public SelectionLayer getSelectionLayer()
- Specified by:
getSelectionLayer
in interfaceISelectionEvent
-
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 interfaceILayerEvent
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-
-