Enum NoteLinkStrategy
- java.lang.Object
-
- java.lang.Enum<NoteLinkStrategy>
-
- net.sourceforge.plantuml.cucadiagram.NoteLinkStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<NoteLinkStrategy>
public enum NoteLinkStrategy extends Enum<NoteLinkStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HALF_NOT_PRINTED
HALF_PRINTED_FULL
NORMAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XDimension2D
computeDimension(double width, double height)
static NoteLinkStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static NoteLinkStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final NoteLinkStrategy NORMAL
-
HALF_PRINTED_FULL
public static final NoteLinkStrategy HALF_PRINTED_FULL
-
HALF_NOT_PRINTED
public static final NoteLinkStrategy HALF_NOT_PRINTED
-
-
Method Detail
-
values
public static NoteLinkStrategy[] 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 (NoteLinkStrategy c : NoteLinkStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NoteLinkStrategy 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
-
computeDimension
public XDimension2D computeDimension(double width, double height)
-
-