Package org.eclnt.ccaddons.diagram
Class ChartShapeInstance
java.lang.Object
org.eclnt.ccaddons.diagram.ChartShapeInstance
- All Implemented Interfaces:
IFormattedText
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
ensureCompleteness
(IChartingAreaUI owner, ShapeType shapeType) int
int
String attribute that can be used by the application behind the shape management.int
int
int
getId()
getText()
int
int
int
getWidth()
int
getX()
int
getY()
boolean
boolean
boolean
boolean
void
setApplicationData
(String applicationData) void
setBoundedLineId
(String boundedLineId) void
setBoundedShapeId
(String boundedShapeId) void
setBoundedSubShape
(boolean boundedSubShape) void
setExternTextHeight
(int externTextHeight) void
setExternTextWidth
(int externTextWidth) void
setHeight
(int height) void
void
setPageBean
(IContainedPageBean pageBean) void
setShapeBackgroundColor
(String shapeBackgroundColor) void
setShapeBackgroundImage
(String shapeBackgroundImage) void
setShapeTypeId
(String shapeTypeId) void
void
setTextAlign
(String textAlign) void
setTextAnchor
(ENUMTextAnchor textAnchor) void
setTextColor
(String textColor) void
setTextFontBold
(boolean textFontBold) void
setTextFontItalic
(boolean textFontItalic) void
setTextFontSize
(String textFontSize) void
setTextRelX
(int textRelX) void
setTextRelY
(int textRelY) void
setWidth
(int width) void
setX
(int x) void
setY
(int y)
-
Field Details
-
DEFAULT_BACKGROUND
- See Also:
-
PLACEHOLDER_BACKGROUND
- See Also:
-
-
Constructor Details
-
ChartShapeInstance
public ChartShapeInstance() -
ChartShapeInstance
-
-
Method Details
-
toBounds
-
ensureCompleteness
-
getId
-
setId
-
getShapeTypeId
-
setShapeTypeId
-
getX
public int getX() -
setX
public void setX(int x) -
getY
public int getY() -
setY
public void setY(int y) -
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getTextForDisplay
-
getText
-
setText
-
getTextAnchor
-
setTextAnchor
-
getExternTextWidth
public int getExternTextWidth() -
setExternTextWidth
public void setExternTextWidth(int externTextWidth) -
getExternTextHeight
public int getExternTextHeight() -
setExternTextHeight
public void setExternTextHeight(int externTextHeight) -
getTextRelX
public int getTextRelX() -
setTextRelX
public void setTextRelX(int textRelX) -
getTextRelY
public int getTextRelY() -
setTextRelY
public void setTextRelY(int textRelY) -
getBoundedShapeId
-
setBoundedShapeId
-
getBoundedLineId
-
setBoundedLineId
-
isBoundedSubShape
public boolean isBoundedSubShape() -
setBoundedSubShape
public void setBoundedSubShape(boolean boundedSubShape) -
getShapeBackgroundColor
-
setShapeBackgroundColor
-
getShapeBackgroundImage
-
setShapeBackgroundImage
-
getTextAlign
- Specified by:
getTextAlign
in interfaceIFormattedText
-
setTextAlign
- Specified by:
setTextAlign
in interfaceIFormattedText
-
getSVGTextAlign
-
getTextFontSize
- Specified by:
getTextFontSize
in interfaceIFormattedText
-
setTextFontSize
- Specified by:
setTextFontSize
in interfaceIFormattedText
-
isTextFontBold
public boolean isTextFontBold()- Specified by:
isTextFontBold
in interfaceIFormattedText
-
setTextFontBold
public void setTextFontBold(boolean textFontBold) - Specified by:
setTextFontBold
in interfaceIFormattedText
-
isTextFontItalic
public boolean isTextFontItalic()- Specified by:
isTextFontItalic
in interfaceIFormattedText
-
setTextFontItalic
public void setTextFontItalic(boolean textFontItalic) - Specified by:
setTextFontItalic
in interfaceIFormattedText
-
getTextFont
- Specified by:
getTextFont
in interfaceIFormattedText
-
getTextColor
- Specified by:
getTextColor
in interfaceIFormattedText
-
setTextColor
- Specified by:
setTextColor
in interfaceIFormattedText
-
isBoundToLine
public boolean isBoundToLine() -
getApplicationData
String attribute that can be used by the application behind the shape management. The attribute itself in not used in any way by the shape management. -
setApplicationData
-
getPageBean
-
setPageBean
-
getActualWidth
public int getActualWidth() -
getActualHeight
public int getActualHeight() -
replaceShapePlaceholder
-