@Dependent public class InsertColumnCommand extends AbstractCommand
Command to insert a column.scenarioGridLayer, scenarioGridPanel| Constructor and Description |
|---|
InsertColumnCommand() |
InsertColumnCommand(ScenarioGridModel model,
String columnId,
int columnIndex,
boolean isRight,
boolean asProperty,
ScenarioGridPanel scenarioGridPanel,
ScenarioGridLayer scenarioGridLayer) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
getFactIdentifierByColumnTitle, getHeaderTextBoxFactoryLocal, getScenarioGridColumnLocal, getScenarioGridColumnLocalpublic InsertColumnCommand()
public InsertColumnCommand(ScenarioGridModel model, String columnId, int columnIndex, boolean isRight, boolean asProperty, ScenarioGridPanel scenarioGridPanel, ScenarioGridLayer scenarioGridLayer)
model - columnId - columnIndex - isRight - when true, column will be inserted to the right of the given index (i.e. at position columnIndex +1), otherwise to the left (i.e. at position columnIndex)asProperty - when true, column will use the instance header of the original one, so to create a new "property" header under the same instancescenarioGridPanel - scenarioGridLayer - Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.