Class SelectColumnCommandHandler
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.selection.SelectColumnCommandHandler
-
- All Implemented Interfaces:
ILayerCommandHandler<SelectColumnCommand>
public class SelectColumnCommandHandler extends Object implements ILayerCommandHandler<SelectColumnCommand>
-
-
Field Summary
Fields Modifier and Type Field Description protected SelectionLayer
selectionLayer
-
Constructor Summary
Constructors Constructor Description SelectColumnCommandHandler(SelectionLayer selectionLayer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doCommand(ILayer targetLayer, SelectColumnCommand command)
Class<SelectColumnCommand>
getCommandClass()
protected void
selectColumn(int columnPosition, int rowPosition, boolean withShiftMask, boolean withControlMask)
-
-
-
Field Detail
-
selectionLayer
protected final SelectionLayer selectionLayer
- Since:
- 1.6
-
-
Constructor Detail
-
SelectColumnCommandHandler
public SelectColumnCommandHandler(SelectionLayer selectionLayer)
-
-
Method Detail
-
doCommand
public boolean doCommand(ILayer targetLayer, SelectColumnCommand command)
- Specified by:
doCommand
in interfaceILayerCommandHandler<SelectColumnCommand>
- Parameters:
targetLayer
- the target layercommand
- the command- Returns:
- true if the command has been handled, false otherwise
-
selectColumn
protected void selectColumn(int columnPosition, int rowPosition, boolean withShiftMask, boolean withControlMask)
-
getCommandClass
public Class<SelectColumnCommand> getCommandClass()
- Specified by:
getCommandClass
in interfaceILayerCommandHandler<SelectColumnCommand>
-
-