Package com.storedobject.chart
Enum Class GraphData.Layout
- All Implemented Interfaces:
Serializable
,Comparable<GraphData.Layout>
,Constable
- Enclosing class:
GraphData<N extends GraphData.Node>
The Layout enum defines various layout options that can be used for organizational
or structural representation. Each layout type specifies a different arrangement model.
Enum Constants:
- FORCE: Represents a force-directed layout, commonly used for graphs or networks.
- CIRCULAR: Represents a circular layout where elements are arranged in a circular fashion.
- NONE: Represents the absence of any specific layout.
The `toString` method is overridden to provide a string representation of the layout
type in the lowercase and enclosed in quotation marks.
- Author:
- Syam
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static GraphData.Layout
Returns the enum constant of this class with the specified name.static GraphData.Layout[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORCE
-
CIRCULAR
-
NONE
-
-
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
-
toString
- Overrides:
toString
in classEnum<GraphData.Layout>
-