Class MultiColumnShowCommand
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
-
- org.eclipse.nebula.widgets.nattable.hideshow.command.MultiColumnShowCommand
-
- All Implemented Interfaces:
ILayerCommand
public class MultiColumnShowCommand extends AbstractContextFreeCommand
Command for showing hidden columns again via index.
-
-
Constructor Summary
Constructors Constructor Description MultiColumnShowCommand(int... columnIndexes)
MultiColumnShowCommand(Collection<Integer> columnIndexes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiColumnShowCommand
cloneCommand()
Same semantics asObject.clone()
Used to make a copies of the command if has to passed to different layer stacks.Collection<Integer>
getColumnIndexes()
int[]
getColumnIndexesArray()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
convertToTargetLayer
-
-
-
-
Constructor Detail
-
MultiColumnShowCommand
public MultiColumnShowCommand(Collection<Integer> columnIndexes)
- 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 Detail
-
getColumnIndexes
public Collection<Integer> 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
public MultiColumnShowCommand 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)
-
-