Class HideRowByIndexCommand
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
org.eclipse.nebula.widgets.nattable.hideshow.command.HideRowByIndexCommand
- All Implemented Interfaces:
ILayerCommand
Hide a row by index instead of position. Intended to be used to
programmatically hide rows in complex compositions.
- Since:
- 2.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionHideRowByIndexCommand(int... rowIndexes) protectedClone constructor. -
Method Summary
Modifier and TypeMethodDescriptionSame semantics asObject.clone()Used to make a copies of the command if has to passed to different layer stacks.int[]Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
convertToTargetLayer
-
Constructor Details
-
HideRowByIndexCommand
public HideRowByIndexCommand(int... rowIndexes) - Parameters:
rowIndexes- The row indexes that should be hidden.
-
HideRowByIndexCommand
Clone constructor.- Parameters:
command- The command to clone.
-
-
Method Details
-
cloneCommand
Description copied from interface:ILayerCommandSame semantics asObject.clone()Used to make a copies of the command if has to passed to different layer stacks.- Specified by:
cloneCommandin interfaceILayerCommand- Overrides:
cloneCommandin classAbstractContextFreeCommand- Returns:
- a cloned instance of the command
- See Also:
-
getRowIndexes
public int[] getRowIndexes()- Returns:
- The row indexes that should be hidden.
-