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 SelectionLayerselectionLayer
-
Constructor Summary
Constructors Constructor Description SelectColumnCommandHandler(SelectionLayer selectionLayer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoCommand(ILayer targetLayer, SelectColumnCommand command)Class<SelectColumnCommand>getCommandClass()protected voidselectColumn(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:
doCommandin 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:
getCommandClassin interfaceILayerCommandHandler<SelectColumnCommand>
-
-