Enum LinkDecor
- java.lang.Object
-
- java.lang.Enum<LinkDecor>
-
- net.sourceforge.plantuml.cucadiagram.LinkDecor
-
- All Implemented Interfaces:
Serializable
,Comparable<LinkDecor>
public enum LinkDecor extends Enum<LinkDecor>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGREGATION
ARROW
ARROW_AND_CIRCLE
ARROW_TRIANGLE
CIRCLE
CIRCLE_CONNECT
CIRCLE_CROSS
CIRCLE_CROWFOOT
CIRCLE_FILL
CIRCLE_LINE
COMPOSITION
CROWFOOT
DEFINEDBY
DOUBLE_LINE
EXTENDS
HALF_ARROW
LINE_CROWFOOT
NONE
NOT_NAVIGABLE
PARENTHESIS
PLUS
REDEFINES
SQUARE
SQUARE_toberemoved
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getArrowSize()
ExtremityFactory
getExtremityFactory(HColor backgroundColor)
ExtremityFactory
getExtremityFactoryComplete(HColor backgroundColor)
int
getMargin()
boolean
isExtendsLike()
boolean
isFill()
static LinkDecor
valueOf(String name)
Returns the enum constant of this type with the specified name.static LinkDecor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final LinkDecor NONE
-
EXTENDS
public static final LinkDecor EXTENDS
-
COMPOSITION
public static final LinkDecor COMPOSITION
-
AGREGATION
public static final LinkDecor AGREGATION
-
NOT_NAVIGABLE
public static final LinkDecor NOT_NAVIGABLE
-
REDEFINES
public static final LinkDecor REDEFINES
-
DEFINEDBY
public static final LinkDecor DEFINEDBY
-
CROWFOOT
public static final LinkDecor CROWFOOT
-
CIRCLE_CROWFOOT
public static final LinkDecor CIRCLE_CROWFOOT
-
CIRCLE_LINE
public static final LinkDecor CIRCLE_LINE
-
DOUBLE_LINE
public static final LinkDecor DOUBLE_LINE
-
LINE_CROWFOOT
public static final LinkDecor LINE_CROWFOOT
-
ARROW
public static final LinkDecor ARROW
-
ARROW_TRIANGLE
public static final LinkDecor ARROW_TRIANGLE
-
ARROW_AND_CIRCLE
public static final LinkDecor ARROW_AND_CIRCLE
-
CIRCLE
public static final LinkDecor CIRCLE
-
CIRCLE_FILL
public static final LinkDecor CIRCLE_FILL
-
CIRCLE_CONNECT
public static final LinkDecor CIRCLE_CONNECT
-
PARENTHESIS
public static final LinkDecor PARENTHESIS
-
SQUARE
public static final LinkDecor SQUARE
-
CIRCLE_CROSS
public static final LinkDecor CIRCLE_CROSS
-
PLUS
public static final LinkDecor PLUS
-
HALF_ARROW
public static final LinkDecor HALF_ARROW
-
SQUARE_toberemoved
public static final LinkDecor SQUARE_toberemoved
-
-
Method Detail
-
values
public static LinkDecor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LinkDecor c : LinkDecor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinkDecor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getMargin
public int getMargin()
-
isFill
public boolean isFill()
-
getArrowSize
public double getArrowSize()
-
isExtendsLike
public boolean isExtendsLike()
-
getExtremityFactoryComplete
public ExtremityFactory getExtremityFactoryComplete(HColor backgroundColor)
-
getExtremityFactory
public ExtremityFactory getExtremityFactory(HColor backgroundColor)
-
-