org.eclipse.nebula.widgets.nattable.hideshow.command
Class MultiColumnShowCommand

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
      extended by 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
MultiColumnShowCommand(Collection<Integer> columnIndexes)
           
 
Method Summary
 MultiColumnShowCommand cloneCommand()
          Same semantics as Object.clone() Used to make a copies of the command if has to passed to different layer stacks.
 Collection<Integer> getColumnIndexes()
           
 
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
convertToTargetLayer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiColumnShowCommand

public MultiColumnShowCommand(Collection<Integer> columnIndexes)
Parameters:
columnIndexes - The indexes of the columns that should be showed again.
Method Detail

getColumnIndexes

public Collection<Integer> getColumnIndexes()
Returns:
The indexes of the columns that should be showed again.

cloneCommand

public MultiColumnShowCommand cloneCommand()
Description copied from interface: ILayerCommand
Same semantics as Object.clone() Used to make a copies of the command if has to passed to different layer stacks.

Specified by:
cloneCommand in interface ILayerCommand
Overrides:
cloneCommand in class AbstractContextFreeCommand
Returns:
a cloned instance of the command
See Also:
GridLayer.doCommand(ILayerCommand)


Copyright © 2015. All rights reserved.