Class CellSelectionEvent
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.layer.event.CellVisualChangeEvent
-
- org.eclipse.nebula.widgets.nattable.selection.event.CellSelectionEvent
-
- All Implemented Interfaces:
ILayerEvent
,IVisualChangeEvent
,ISelectionEvent
public class CellSelectionEvent extends CellVisualChangeEvent implements ISelectionEvent
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.layer.event.CellVisualChangeEvent
columnPosition, layer, rowPosition
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CellSelectionEvent(CellSelectionEvent event)
CellSelectionEvent(SelectionLayer selectionLayer, int columnPosition, int rowPosition, boolean withShiftMask, boolean withControlMask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CellSelectionEvent
cloneEvent()
boolean
convertToLocal(ILayer localLayer)
Convert the column/row positions carried by the event to the layer about to handle the event.SelectionLayer
getSelectionLayer()
boolean
isWithControlMask()
boolean
isWithShiftMask()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.CellVisualChangeEvent
getChangedPositionRectangles, getColumnPosition, getLayer, getRowPosition
-
-
-
-
Constructor Detail
-
CellSelectionEvent
public CellSelectionEvent(SelectionLayer selectionLayer, int columnPosition, int rowPosition, boolean withShiftMask, boolean withControlMask)
-
CellSelectionEvent
protected CellSelectionEvent(CellSelectionEvent event)
-
-
Method Detail
-
getSelectionLayer
public SelectionLayer getSelectionLayer()
- Specified by:
getSelectionLayer
in interfaceISelectionEvent
-
cloneEvent
public CellSelectionEvent cloneEvent()
- Specified by:
cloneEvent
in interfaceILayerEvent
- Overrides:
cloneEvent
in classCellVisualChangeEvent
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-
isWithShiftMask
public boolean isWithShiftMask()
-
isWithControlMask
public boolean isWithControlMask()
-
convertToLocal
public boolean convertToLocal(ILayer localLayer)
Description copied from interface:ILayerEvent
Convert the column/row positions carried by the event to the layer about to handle the event.- Specified by:
convertToLocal
in interfaceILayerEvent
- Overrides:
convertToLocal
in classCellVisualChangeEvent
- Parameters:
localLayer
- layer about to receive the event- Returns:
- TRUE if successfully converted, FALSE otherwise
-
-