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 protectedColumnSelectionEvent(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 ColumnSelectionEventcloneEvent()SelectionLayergetSelectionLayer()booleanisWithControlMask()Returns if the control mask is used.booleanisWithShiftMask()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:
getSelectionLayerin interfaceISelectionEvent
-
isWithShiftMask
public boolean isWithShiftMask()
Returns if the shift mask is used.- Returns:
trueif the shift mask is used,falseotherwise.- Since:
- 1.4
-
isWithControlMask
public boolean isWithControlMask()
Returns if the control mask is used.- Returns:
trueif the control mask is used,falseotherwise.- Since:
- 1.4
-
cloneEvent
public ColumnSelectionEvent cloneEvent()
- Specified by:
cloneEventin interfaceILayerEvent- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-
-