public class ImageCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMAND_NAME |
ADJACENT_SHIFT_MODE, INNER_SHIFT_MODE| Constructor and Description |
|---|
ImageCommand() |
ImageCommand(byte[] imageBytes,
ImageType imageType) |
ImageCommand(String image,
ImageType imageType) |
| 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 |
getName() |
String |
getSrc() |
void |
setImageType(String strType) |
void |
setSrc(String src) |
getAreaList, getShiftMode, getTransformationConfig, getTransformer, reset, setShiftModepublic static final String COMMAND_NAME
public ImageCommand()
public ImageCommand(byte[] imageBytes,
ImageType imageType)
public String getSrc()
public void setSrc(String src)
src - expression resulting in image byte arraypublic void setImageType(String strType)
public Command addArea(Area area)
CommandaddArea in interface CommandaddArea in class AbstractCommandpublic String getName()
public Size applyAt(CellRef cellRef, Context context)
CommandcellRef - cell reference where the command must be appliedcontext - bean context to useCopyright © 2017. All rights reserved.