Class RowDeleteCommand
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.command.AbstractMultiRowCommand
-
- org.eclipse.nebula.widgets.nattable.data.command.RowDeleteCommand
-
- All Implemented Interfaces:
ILayerCommand
public class RowDeleteCommand extends AbstractMultiRowCommand
Command to delete a row.- Since:
- 1.6
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RowDeleteCommand(RowDeleteCommand command)
Clone constructor.RowDeleteCommand(ILayer layer, int... rowPositions)
Creates aRowDeleteCommand
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILayerCommand
cloneCommand()
Same semantics asObject.clone()
Used to make a copies of the command if has to passed to different layer stacks.-
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractMultiRowCommand
convertToTargetLayer, getRowPositions, getRowPositionsArray, setRowPositions
-
-
-
-
Constructor Detail
-
RowDeleteCommand
public RowDeleteCommand(ILayer layer, int... rowPositions)
Creates aRowDeleteCommand
.- Parameters:
layer
- The layer to which the row positions match.rowPositions
- The row positions to delete.
-
RowDeleteCommand
protected RowDeleteCommand(RowDeleteCommand command)
Clone constructor.- Parameters:
command
- The command to clone.
-
-
Method Detail
-
cloneCommand
public ILayerCommand cloneCommand()
Description copied from interface:ILayerCommand
Same semantics asObject.clone()
Used to make a copies of the command if has to passed to different layer stacks.- Returns:
- a cloned instance of the command
- See Also:
GridLayer.doCommand(ILayerCommand)
-
-