Class MultiRowShowCommand
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
-
- org.eclipse.nebula.widgets.nattable.hideshow.command.MultiRowShowCommand
-
- All Implemented Interfaces:
ILayerCommand
public class MultiRowShowCommand extends AbstractContextFreeCommand
Command for showing hidden rows again via index.
-
-
Constructor Summary
Constructors Constructor Description MultiRowShowCommand(int... rowIndexes)
MultiRowShowCommand(Collection<Integer> rowIndexes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiRowShowCommand
cloneCommand()
Same semantics asObject.clone()
Used to make a copies of the command if has to passed to different layer stacks.Collection<Integer>
getRowIndexes()
int[]
getRowIndexesArray()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
convertToTargetLayer
-
-
-
-
Constructor Detail
-
MultiRowShowCommand
public MultiRowShowCommand(Collection<Integer> rowIndexes)
- Parameters:
rowIndexes
- The indexes of the rows that should be showed again.
-
MultiRowShowCommand
public MultiRowShowCommand(int... rowIndexes)
- Parameters:
rowIndexes
- The indexes of the rows that should be showed again.- Since:
- 2.0
-
-
Method Detail
-
getRowIndexes
public Collection<Integer> getRowIndexes()
- Returns:
- The indexes of the rows that should be showed again.
-
getRowIndexesArray
public int[] getRowIndexesArray()
- Returns:
- The indexes of the rows that should be showed again.
- Since:
- 2.0
-
cloneCommand
public MultiRowShowCommand 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.- Specified by:
cloneCommand
in interfaceILayerCommand
- Overrides:
cloneCommand
in classAbstractContextFreeCommand
- Returns:
- a cloned instance of the command
- See Also:
GridLayer.doCommand(ILayerCommand)
-
-