Class CellVisualChangeEvent
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.event.CellVisualChangeEvent
- All Implemented Interfaces:
ILayerEvent,IVisualChangeEvent
- Direct Known Subclasses:
CellSelectionEvent,CellVisualUpdateEvent,DataUpdateEvent
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCellVisualChangeEvent(ILayer layer, int columnPosition, int rowPosition) -
Method Summary
Modifier and TypeMethodDescriptionbooleanconvertToLocal(ILayer localLayer) Convert the column/row positions carried by the event to the layer about to handle the event.Collection<org.eclipse.swt.graphics.Rectangle>intgetLayer()int
-
Field Details
-
layer
-
columnPosition
protected int columnPosition -
rowPosition
protected int rowPosition
-
-
Constructor Details
-
CellVisualChangeEvent
-
CellVisualChangeEvent
-
-
Method Details
-
getLayer
- Specified by:
getLayerin interfaceIVisualChangeEvent- Returns:
- the layer that the visible change event is originating from.
-
getColumnPosition
public int getColumnPosition() -
getRowPosition
public int getRowPosition() -
convertToLocal
Description copied from interface:ILayerEventConvert the column/row positions carried by the event to the layer about to handle the event.- Specified by:
convertToLocalin interfaceILayerEvent- Parameters:
localLayer- layer about to receive the event- Returns:
- TRUE if successfully converted, FALSE otherwise
-
getChangedPositionRectangles
- Specified by:
getChangedPositionRectanglesin interfaceIVisualChangeEvent- Returns:
- the position rectangles that have changed and need to be redrawn. If no rectangles are returned, then the receiver should assume that the entire layer is changed and will need to be redrawn.
-
cloneEvent
- Specified by:
cloneEventin interfaceILayerEvent- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-