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