Enum TableStrategy
- java.lang.Object
-
- java.lang.Enum<TableStrategy>
-
- net.sourceforge.plantuml.salt.element.TableStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<TableStrategy>
public enum TableStrategy extends Enum<TableStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DRAW_ALL
DRAW_HORIZONTAL
DRAW_NONE
DRAW_OUTSIDE
DRAW_OUTSIDE_WITH_TITLE
DRAW_VERTICAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableStrategy
fromChar(char c)
static TableStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static TableStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAW_NONE
public static final TableStrategy DRAW_NONE
-
DRAW_OUTSIDE
public static final TableStrategy DRAW_OUTSIDE
-
DRAW_OUTSIDE_WITH_TITLE
public static final TableStrategy DRAW_OUTSIDE_WITH_TITLE
-
DRAW_HORIZONTAL
public static final TableStrategy DRAW_HORIZONTAL
-
DRAW_VERTICAL
public static final TableStrategy DRAW_VERTICAL
-
DRAW_ALL
public static final TableStrategy DRAW_ALL
-
-
Method Detail
-
values
public static TableStrategy[] 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 (TableStrategy c : TableStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableStrategy 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
-
fromChar
public static TableStrategy fromChar(char c)
-
-