Package org.eclnt.ccaddons.diagram
Enum Class ENUMTextAnchor
- All Implemented Interfaces:
Serializable
,Comparable<ENUMTextAnchor>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetAlign()
getBounds
(int[] coords, int textWidth, int textHeight, int z) getBounds
(int x, int y, int textWidth, int textHeight, int shapeWidth, int shapeHeight, int x_rel, int y_rel, int z) getBoundsForEdit
(ChartShapeInstance csi, int z) getBoundsForExternText
(ChartLineInstance cli, ChartShapeInstance shapeFrom, ChartShapeInstance shapeTo, ShapeType shapeFromType, ShapeType shapeToType, Chart chart) getBoundsForExternText
(ChartShapeInstance csi, int z) getBoundsForText
(ChartShapeInstance csi, int z) int
static final ENUMTextAnchor[]
static final ENUMTextAnchor[]
int[]
int[]
getTextCoords
(ChartShapeInstance csi, int fontSize) int
int
boolean
boolean
static ENUMTextAnchor
Returns the enum constant of this class with the specified name.static ENUMTextAnchor[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOPLEFT
-
TOPCENTER
-
TOPRIGHT
-
MIDDLELEFT
-
MIDDLECENTER
-
MIDDLERIGHT
-
BOTTOMLEFT
-
BOTTOMCENTER
-
BOTTOMRIGHT
-
LINEFROM
-
LINECENTER
-
LINETO
-
-
Field Details
-
SVGTEXTALIGN_START
- See Also:
-
SVGTEXTALIGN_END
- See Also:
-
SVGTEXTALIGN_MIDDLE
- See Also:
-
TEXTALIGN_LEFT
- See Also:
-
TEXTALIGN_RIGHT
- See Also:
-
TEXTALIGN_MIDDLE
- See Also:
-
TEXTVALIGN_BOTTOM
- See Also:
-
TEXTVALIGN_TOP
- See Also:
-
TEXTVALIGN_MIDDLE
- See Also:
-
DEFAULT_DIST
public static final int DEFAULT_DIST- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getLineTextAnchors
-
getShapeTextAnchors
-
getTextboundsanchorPropertyValue
-
getAlign
-
getValign
-
getTextRelXDefault
public int getTextRelXDefault() -
getTextRelYDefault
public int getTextRelYDefault() -
getBoundsForEdit
-
getBoundsForExternText
-
getBoundsForText
-
getExternTextHeight
-
getBoundsForExternText
public String getBoundsForExternText(ChartLineInstance cli, ChartShapeInstance shapeFrom, ChartShapeInstance shapeTo, ShapeType shapeFromType, ShapeType shapeToType, Chart chart) -
getTextCoords
-
getTextCoords
-
getBounds
-
getBounds
public String getBounds(int x, int y, int textWidth, int textHeight, int shapeWidth, int shapeHeight, int x_rel, int y_rel, int z) -
isTextIntern
public boolean isTextIntern() -
isTextExtern
public boolean isTextExtern()
-