public class GridCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMAND_NAME |
static String |
DATA_VAR |
static String |
HEADER_VAR |
ADJACENT_SHIFT_MODE, INNER_SHIFT_MODE| Constructor and Description |
|---|
GridCommand() |
GridCommand(String headers,
String data) |
GridCommand(String headers,
String data,
Area headerArea,
Area bodyArea) |
GridCommand(String headers,
String data,
String props,
Area headerArea,
Area bodyArea) |
| Modifier and Type | Method and Description |
|---|---|
Command |
addArea(Area area)
Adds an area to this command
|
Size |
applyAt(CellRef cellRef,
Context context)
Applies a command at the given cell reference
|
String |
getData() |
String |
getFormatCells() |
String |
getHeaders() |
String |
getName() |
String |
getProps() |
void |
setData(String data) |
void |
setFormatCells(String formatCells) |
void |
setHeaders(String headers) |
void |
setProps(String props) |
getAreaList, getLockRange, getShiftMode, getTransformationConfig, getTransformer, reset, setLockRange, setLockRange, setShiftModepublic static final String COMMAND_NAME
public static final String HEADER_VAR
public static final String DATA_VAR
public GridCommand()
public GridCommand(String headers, String data, String props, Area headerArea, Area bodyArea)
public String getName()
public String getHeaders()
public void setHeaders(String headers)
public String getData()
public void setData(String data)
public String getProps()
public void setProps(String props)
public String getFormatCells()
public void setFormatCells(String formatCells)
formatCells - Comma-separated list of format type cells, e.g. formatCells="Double:E1, Date:F1"public Command addArea(Area area)
CommandaddArea in interface CommandaddArea in class AbstractCommandarea - to be added areapublic Size applyAt(CellRef cellRef, Context context)
CommandcellRef - cell reference where the command must be appliedcontext - bean context to useCopyright © 2023. All rights reserved.