Enum Class VisualStyle
- All Implemented Interfaces:
Serializable
,Comparable<VisualStyle>
,Constable
Capture combinations of colours and shapes to use in mermaid diagrams.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturn the colour number to use for the text.Return the colour number to use for the text.getShape()
Return the associated shape.Return the colour number to use for the text.toString()
JSON-style toStringstatic VisualStyle
Returns the enum constant of this class with the specified name.static VisualStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DESCRIPTION
-
PRINCIPAL_ASSET
-
ANCHOR_ASSET
-
ANCHORED_ELEMENT
-
LINKED_ELEMENT
-
INFORMATION_SUPPLY_CHAIN
-
INFORMATION_SUPPLY_CHAIN_SEG
-
INFORMATION_SUPPLY_CHAIN_IMPL
-
SOLUTION_BLUEPRINT
-
SOLUTION_ROLE
-
DEFAULT_SOLUTION_COMPONENT
-
AUTOMATED_PROCESS_SOLUTION_COMPONENT
-
THIRD_PARTY_PROCESS_SOLUTION_COMPONENT
-
MANUAL_PROCESS_SOLUTION_COMPONENT
-
DATA_STORAGE_SOLUTION_COMPONENT
-
DATA_DISTRIBUTION_SOLUTION_COMPONENT
-
DOCUMENT_PUBLISHING_SOLUTION_COMPONENT
-
INSIGHT_MODEL_SOLUTION_COMPONENT
-
SOLUTION_PORT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getTextColour
Return the colour number to use for the text.- Returns:
- string (eg #FFFFFF)
-
getFillColour
Return the colour number to use for the text.- Returns:
- string (eg #FFFFFF)
-
getLineColour
Return the colour number to use for the text.- Returns:
- string (eg #FFFFFF)
-
getShape
Return the associated shape.- Returns:
- string shape name
-
toString
JSON-style toString- Overrides:
toString
in classEnum<VisualStyle>
- Returns:
- return string containing the property names and values
-