Package net.sourceforge.plantuml.svek
Enum PackageStyle
- java.lang.Object
-
- java.lang.Enum<PackageStyle>
-
- net.sourceforge.plantuml.svek.PackageStyle
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PackageStyle>
public enum PackageStyle extends java.lang.Enum<PackageStyle>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawU(UGraphic ug, java.awt.geom.Dimension2D dim, java.awt.geom.Dimension2D titleDim, boolean shadowing)
static PackageStyle
fromString(java.lang.String value)
USymbol
toUSymbol()
static PackageStyle
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PackageStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOLDER
public static final PackageStyle FOLDER
-
RECTANGLE
public static final PackageStyle RECTANGLE
-
NODE
public static final PackageStyle NODE
-
FRAME
public static final PackageStyle FRAME
-
CLOUD
public static final PackageStyle CLOUD
-
DATABASE
public static final PackageStyle DATABASE
-
AGENT
public static final PackageStyle AGENT
-
STORAGE
public static final PackageStyle STORAGE
-
COMPONENT1
public static final PackageStyle COMPONENT1
-
COMPONENT2
public static final PackageStyle COMPONENT2
-
ARTIFACT
public static final PackageStyle ARTIFACT
-
CARD
public static final PackageStyle CARD
-
-
Method Detail
-
values
public static PackageStyle[] 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 (PackageStyle c : PackageStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PackageStyle valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static PackageStyle fromString(java.lang.String value)
-
toUSymbol
public USymbol toUSymbol()
-
drawU
public void drawU(UGraphic ug, java.awt.geom.Dimension2D dim, java.awt.geom.Dimension2D titleDim, boolean shadowing)
-
-