public class HSSFSimpleShape extends HSSFShape
Modifier and Type | Field and Description |
---|---|
static short |
OBJECT_TYPE_COMMENT |
static short |
OBJECT_TYPE_LINE |
static short |
OBJECT_TYPE_OVAL |
static short |
OBJECT_TYPE_PICTURE |
static short |
OBJECT_TYPE_RECTANGLE |
(package private) int |
shapeType |
anchor, fillColor, lineStyle, LINESTYLE_DASHDOTDOTSYS, LINESTYLE_DASHDOTGEL, LINESTYLE_DASHDOTSYS, LINESTYLE_DASHGEL, LINESTYLE_DASHSYS, LINESTYLE_DOTGEL, LINESTYLE_DOTSYS, LINESTYLE_LONGDASHDOTDOTGEL, LINESTYLE_LONGDASHDOTGEL, LINESTYLE_LONGDASHGEL, LINESTYLE_NONE, LINESTYLE_SOLID, lineStyleColor, lineWidth, LINEWIDTH_DEFAULT, LINEWIDTH_ONE_PT, noFill, parent
Constructor and Description |
---|
HSSFSimpleShape(HSSFShape parent,
HSSFAnchor anchor) |
Modifier and Type | Method and Description |
---|---|
int |
getShapeType()
Gets the shape type.
|
void |
setShapeType(int shapeType)
Sets the shape types.
|
countOfAllChildren, getAnchor, getFillColor, getLineStyle, getLineStyleColor, getLineWidth, getParent, isNoFill, setAnchor, setFillColor, setFillColor, setLineStyle, setLineStyleColor, setLineStyleColor, setLineWidth, setNoFill
public static final short OBJECT_TYPE_LINE
public static final short OBJECT_TYPE_RECTANGLE
public static final short OBJECT_TYPE_OVAL
public static final short OBJECT_TYPE_PICTURE
public static final short OBJECT_TYPE_COMMENT
int shapeType
HSSFSimpleShape(HSSFShape parent, HSSFAnchor anchor)
public int getShapeType()
OBJECT_TYPE_LINE
,
OBJECT_TYPE_OVAL
,
OBJECT_TYPE_RECTANGLE
,
OBJECT_TYPE_PICTURE
,
OBJECT_TYPE_COMMENT
public void setShapeType(int shapeType)
shapeType
- One of the OBJECT_TYPE_* constants.OBJECT_TYPE_LINE
,
OBJECT_TYPE_OVAL
,
OBJECT_TYPE_RECTANGLE
,
OBJECT_TYPE_PICTURE
,
OBJECT_TYPE_COMMENT
Copyright © 2016 Open Microscopy Environment