Package loci.poi.hssf.usermodel
Class HSSFSimpleShape
- java.lang.Object
-
- loci.poi.hssf.usermodel.HSSFShape
-
- loci.poi.hssf.usermodel.HSSFSimpleShape
-
- Direct Known Subclasses:
HSSFPicture
,HSSFTextbox
public class HSSFSimpleShape extends HSSFShape
Represents a simple shape such as a line, rectangle or oval.- Author:
- Glen Stampoultzis (glens at apache.org)
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class loci.poi.hssf.usermodel.HSSFShape
LINESTYLE_DASHDOTDOTSYS, LINESTYLE_DASHDOTGEL, LINESTYLE_DASHDOTSYS, LINESTYLE_DASHGEL, LINESTYLE_DASHSYS, LINESTYLE_DOTGEL, LINESTYLE_DOTSYS, LINESTYLE_LONGDASHDOTDOTGEL, LINESTYLE_LONGDASHDOTGEL, LINESTYLE_LONGDASHGEL, LINESTYLE_NONE, LINESTYLE_SOLID, LINEWIDTH_DEFAULT, LINEWIDTH_ONE_PT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getShapeType()
Gets the shape type.void
setShapeType(int shapeType)
Sets the shape types.-
Methods inherited from class loci.poi.hssf.usermodel.HSSFShape
countOfAllChildren, getAnchor, getFillColor, getLineStyle, getLineStyleColor, getLineWidth, getParent, isNoFill, setAnchor, setFillColor, setFillColor, setLineStyle, setLineStyleColor, setLineStyleColor, setLineWidth, setNoFill
-
-
-
-
Field Detail
-
OBJECT_TYPE_LINE
public static final short OBJECT_TYPE_LINE
- See Also:
- Constant Field Values
-
OBJECT_TYPE_RECTANGLE
public static final short OBJECT_TYPE_RECTANGLE
- See Also:
- Constant Field Values
-
OBJECT_TYPE_OVAL
public static final short OBJECT_TYPE_OVAL
- See Also:
- Constant Field Values
-
OBJECT_TYPE_PICTURE
public static final short OBJECT_TYPE_PICTURE
- See Also:
- Constant Field Values
-
OBJECT_TYPE_COMMENT
public static final short OBJECT_TYPE_COMMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getShapeType
public int getShapeType()
Gets the shape type.- Returns:
- One of the OBJECT_TYPE_* constants.
- See Also:
OBJECT_TYPE_LINE
,OBJECT_TYPE_OVAL
,OBJECT_TYPE_RECTANGLE
,OBJECT_TYPE_PICTURE
,OBJECT_TYPE_COMMENT
-
setShapeType
public void setShapeType(int shapeType)
Sets the shape types.- Parameters:
shapeType
- One of the OBJECT_TYPE_* constants.- See Also:
OBJECT_TYPE_LINE
,OBJECT_TYPE_OVAL
,OBJECT_TYPE_RECTANGLE
,OBJECT_TYPE_PICTURE
,OBJECT_TYPE_COMMENT
-
-