Class MultiColumnShowCommand
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
org.eclipse.nebula.widgets.nattable.hideshow.command.MultiColumnShowCommand
- All Implemented Interfaces:
ILayerCommand
Command for showing hidden columns again via index.
-
Constructor Summary
ConstructorDescriptionMultiColumnShowCommand
(int... columnIndexes) MultiColumnShowCommand
(Collection<Integer> columnIndexes) -
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
-
MultiColumnShowCommand
- Parameters:
columnIndexes
- The indexes of the columns that should be showed again.
-
MultiColumnShowCommand
public MultiColumnShowCommand(int... columnIndexes) - Parameters:
columnIndexes
- The indexes of the columns that should be showed again.- Since:
- 2.0
-
-
Method Details
-
getColumnIndexes
- Returns:
- The indexes of the columns that should be showed again.
-
getColumnIndexesArray
public int[] getColumnIndexesArray()- Returns:
- The indexes of the columns that should be showed again.
- Since:
- 2.0
-
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:
-