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
-
Constructor Summary
ModifierConstructorDescriptionprotected
ColumnSelectionEvent
(SelectionLayer selectionLayer, int columnPosition, boolean withShiftMask, boolean withControlMask) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if the control mask is used.boolean
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 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
-
-
Method Details
-
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
- Specified by:
cloneEvent
in interfaceILayerEvent
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-