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 TypeMethodDescriptionvoidensureCompleteness(IChartingAreaUI owner, ShapeType shapeType) intintString attribute that can be used by the application behind the shape management.intintintgetId()getText()intintintgetWidth()intgetX()intgetY()booleanbooleanbooleanbooleanvoidsetApplicationData(String applicationData) voidsetBoundedLineId(String boundedLineId) voidsetBoundedShapeId(String boundedShapeId) voidsetBoundedSubShape(boolean boundedSubShape) voidsetExternTextHeight(int externTextHeight) voidsetExternTextWidth(int externTextWidth) voidsetHeight(int height) voidvoidsetPageBean(IContainedPageBean pageBean) voidsetShapeBackgroundColor(String shapeBackgroundColor) voidsetShapeBackgroundImage(String shapeBackgroundImage) voidsetShapeTypeId(String shapeTypeId) voidvoidsetTextAlign(String textAlign) voidsetTextAnchor(ENUMTextAnchor textAnchor) voidsetTextColor(String textColor) voidsetTextFontBold(boolean textFontBold) voidsetTextFontItalic(boolean textFontItalic) voidsetTextFontSize(String textFontSize) voidsetTextRelX(int textRelX) voidsetTextRelY(int textRelY) voidsetWidth(int width) voidsetX(int x) voidsetY(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:
getTextAlignin interfaceIFormattedText
-
setTextAlign
- Specified by:
setTextAlignin interfaceIFormattedText
-
getSVGTextAlign
-
getTextFontSize
- Specified by:
getTextFontSizein interfaceIFormattedText
-
setTextFontSize
- Specified by:
setTextFontSizein interfaceIFormattedText
-
isTextFontBold
public boolean isTextFontBold()- Specified by:
isTextFontBoldin interfaceIFormattedText
-
setTextFontBold
public void setTextFontBold(boolean textFontBold) - Specified by:
setTextFontBoldin interfaceIFormattedText
-
isTextFontItalic
public boolean isTextFontItalic()- Specified by:
isTextFontItalicin interfaceIFormattedText
-
setTextFontItalic
public void setTextFontItalic(boolean textFontItalic) - Specified by:
setTextFontItalicin interfaceIFormattedText
-
getTextFont
- Specified by:
getTextFontin interfaceIFormattedText
-
getTextColor
- Specified by:
getTextColorin interfaceIFormattedText
-
setTextColor
- Specified by:
setTextColorin 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
-