net.sourceforge.plantuml.svek
Enum PackageStyle

java.lang.Object
  extended by java.lang.Enum<PackageStyle>
      extended by net.sourceforge.plantuml.svek.PackageStyle
All Implemented Interfaces:
Serializable, Comparable<PackageStyle>

public enum PackageStyle
extends Enum<PackageStyle>


Enum Constant Summary
AGENT
           
ARTIFACT
           
CLOUD
           
COMPONENT1
           
COMPONENT2
           
DATABASE
           
FOLDER
           
FRAME
           
NODE
           
RECT
           
STORAGE
           
 
Method Summary
 void drawU(UGraphic ug, Dimension2D dim, Dimension2D titleDim, boolean shadowing)
           
static PackageStyle fromString(String value)
           
static PackageStyle valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FOLDER

public static final PackageStyle FOLDER

RECT

public static final PackageStyle RECT

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
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(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 name
NullPointerException - if the argument is null

fromString

public static PackageStyle fromString(String value)

drawU

public void drawU(UGraphic ug,
                  Dimension2D dim,
                  Dimension2D titleDim,
                  boolean shadowing)


Copyright © 2013. All Rights Reserved.