Class InitializeAutoResizeColumnsCommand
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractColumnCommand
org.eclipse.nebula.widgets.nattable.resize.command.InitializeAutoResizeColumnsCommand
- All Implemented Interfaces:
ILayerCommand
- Direct Known Subclasses:
AutoResizeColumnCommandFixture
This command triggers the AutoResizeColumms command. It collects the selected
columns from the
SelectionLayer
and fires the
AutoResizeColumnsCommand
on the GridLayer
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializeAutoResizeColumnsCommand
(ILayer layer, int columnPosition, IConfigRegistry configRegistry, GCFactory gcFactory) protected
-
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[]
void
setSelectedColumnPositions
(int[] selectedColumnPositions) Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractColumnCommand
convertToTargetLayer, getColumnPosition, getLayer, toString
-
Constructor Details
-
InitializeAutoResizeColumnsCommand
public InitializeAutoResizeColumnsCommand(ILayer layer, int columnPosition, IConfigRegistry configRegistry, GCFactory gcFactory) -
InitializeAutoResizeColumnsCommand
-
-
Method Details
-
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.- Returns:
- a cloned instance of the command
- See Also:
-
getGCFactory
-
getConfigRegistry
-
getSourceLayer
-
setSelectedColumnPositions
public void setSelectedColumnPositions(int[] selectedColumnPositions) -
getColumnPositions
public int[] getColumnPositions()
-