Package net.sourceforge.plantuml.style
Enum PName
- java.lang.Object
-
- java.lang.Enum<PName>
-
- net.sourceforge.plantuml.style.PName
-
- All Implemented Interfaces:
Serializable
,Comparable<PName>
public enum PName extends Enum<PName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BackGroundColor
DiagonalCorner
ExportedName
FontColor
FontName
FontSize
FontStyle
HeadColor
HorizontalAlignment
HyperLinkColor
Image
ImagePosition
LineColor
LineStyle
LineThickness
Margin
MaximumWidth
MinimumWidth
Padding
RoundCorner
Shadowing
ShowStereotype
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PName
getFromName(String name, StyleScheme scheme)
static PName
valueOf(String name)
Returns the enum constant of this type with the specified name.static PName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Shadowing
public static final PName Shadowing
-
FontName
public static final PName FontName
-
FontColor
public static final PName FontColor
-
FontSize
public static final PName FontSize
-
FontStyle
public static final PName FontStyle
-
BackGroundColor
public static final PName BackGroundColor
-
RoundCorner
public static final PName RoundCorner
-
LineThickness
public static final PName LineThickness
-
DiagonalCorner
public static final PName DiagonalCorner
-
HyperLinkColor
public static final PName HyperLinkColor
-
HeadColor
public static final PName HeadColor
-
LineColor
public static final PName LineColor
-
LineStyle
public static final PName LineStyle
-
Padding
public static final PName Padding
-
Margin
public static final PName Margin
-
MaximumWidth
public static final PName MaximumWidth
-
MinimumWidth
public static final PName MinimumWidth
-
ExportedName
public static final PName ExportedName
-
Image
public static final PName Image
-
HorizontalAlignment
public static final PName HorizontalAlignment
-
ShowStereotype
public static final PName ShowStereotype
-
ImagePosition
public static final PName ImagePosition
-
-
Method Detail
-
values
public static PName[] 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 (PName c : PName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PName 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
-
getFromName
public static PName getFromName(String name, StyleScheme scheme)
-
-