net.sourceforge.plantuml.skin
Enum VisibilityModifier

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

public enum VisibilityModifier
extends Enum<VisibilityModifier>


Enum Constant Summary
PACKAGE_PRIVATE_FIELD
           
PACKAGE_PRIVATE_METHOD
           
PRIVATE_FIELD
           
PRIVATE_METHOD
           
PROTECTED_FIELD
           
PROTECTED_METHOD
           
PUBLIC_FIELD
           
PUBLIC_METHOD
           
 
Method Summary
 ColorParam getBackground()
           
 ColorParam getForeground()
           
 TextBlock getUBlock(int size, HtmlColor foregroundColor, HtmlColor backgoundColor)
           
 UDrawable getUDrawable(int size, HtmlColor foregroundColor, HtmlColor backgoundColor)
           
static VisibilityModifier getVisibilityModifier(char c, boolean isField)
           
static boolean isVisibilityCharacter(char c)
           
static VisibilityModifier valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VisibilityModifier[] 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

PRIVATE_FIELD

public static final VisibilityModifier PRIVATE_FIELD

PROTECTED_FIELD

public static final VisibilityModifier PROTECTED_FIELD

PACKAGE_PRIVATE_FIELD

public static final VisibilityModifier PACKAGE_PRIVATE_FIELD

PUBLIC_FIELD

public static final VisibilityModifier PUBLIC_FIELD

PRIVATE_METHOD

public static final VisibilityModifier PRIVATE_METHOD

PROTECTED_METHOD

public static final VisibilityModifier PROTECTED_METHOD

PACKAGE_PRIVATE_METHOD

public static final VisibilityModifier PACKAGE_PRIVATE_METHOD

PUBLIC_METHOD

public static final VisibilityModifier PUBLIC_METHOD
Method Detail

values

public static VisibilityModifier[] 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 (VisibilityModifier c : VisibilityModifier.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VisibilityModifier 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

getUDrawable

public UDrawable getUDrawable(int size,
                              HtmlColor foregroundColor,
                              HtmlColor backgoundColor)

getUBlock

public TextBlock getUBlock(int size,
                           HtmlColor foregroundColor,
                           HtmlColor backgoundColor)

isVisibilityCharacter

public static boolean isVisibilityCharacter(char c)

getVisibilityModifier

public static VisibilityModifier getVisibilityModifier(char c,
                                                       boolean isField)

getForeground

public final ColorParam getForeground()

getBackground

public final ColorParam getBackground()


Copyright © 2011. All Rights Reserved.