Enum DotSerializer.ConfigurationKey
- java.lang.Object
-
- java.lang.Enum<DotSerializer.ConfigurationKey>
-
- org.openjdk.jmc.flightrecorder.serializers.dot.DotSerializer.ConfigurationKey
-
- All Implemented Interfaces:
Serializable,Comparable<DotSerializer.ConfigurationKey>
- Enclosing class:
- DotSerializer
public static enum DotSerializer.ConfigurationKey extends Enum<DotSerializer.ConfigurationKey>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EdgeStyleThe style for the edges.EdgeWeightAttributeThe attribute to use for the edge weights.FillcolorThe fill color, e.g.FontnameThe name of the font to use, e.g.MaxEdgeWeightThe max edge weight to use for the most traveled path.MaxNodeFontSizeFont size for the biggest node.MinEdgeWeightThe min edge weight to use for the least traveled path.MinNodeFontSizeFont size for the biggest node.NameThe name of the graph.NodeColorThe color of the node, e.g.NodeFillColorThe fill color of the node, e.g.NodeShapeShape of the nodes, e.g.NodeSizeAttributeThe attribute to use for node font size.StyleThe style, e.g.TitleAreaHave title area, true or false.TitleFontSizeFont size of the title area, e.g.TitleShapeShape of the title area, e.g.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DotSerializer.ConfigurationKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static DotSerializer.ConfigurationKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Name
public static final DotSerializer.ConfigurationKey Name
The name of the graph.
-
Style
public static final DotSerializer.ConfigurationKey Style
The style, e.g. filled.
-
Fillcolor
public static final DotSerializer.ConfigurationKey Fillcolor
The fill color, e.g. #f8f8f8.
-
Fontname
public static final DotSerializer.ConfigurationKey Fontname
The name of the font to use, e.g. helvetica, or helvetica:italics.
-
TitleArea
public static final DotSerializer.ConfigurationKey TitleArea
Have title area, true or false.
-
TitleFontSize
public static final DotSerializer.ConfigurationKey TitleFontSize
Font size of the title area, e.g. 16. Need to be parseable to a number.
-
TitleShape
public static final DotSerializer.ConfigurationKey TitleShape
Shape of the title area, e.g. box.
-
NodeShape
public static final DotSerializer.ConfigurationKey NodeShape
Shape of the nodes, e.g. box.
-
NodeColor
public static final DotSerializer.ConfigurationKey NodeColor
The color of the node, e.g. #b22b00.
-
NodeFillColor
public static final DotSerializer.ConfigurationKey NodeFillColor
The fill color of the node, e.g. #eddbd5.
-
MaxNodeFontSize
public static final DotSerializer.ConfigurationKey MaxNodeFontSize
Font size for the biggest node. This will be the font size used for the node with the biggest count or weight.
-
MinNodeFontSize
public static final DotSerializer.ConfigurationKey MinNodeFontSize
Font size for the biggest node. This will be the font size used for the node with the smallest count or weight.
-
NodeSizeAttribute
public static final DotSerializer.ConfigurationKey NodeSizeAttribute
The attribute to use for node font size. [count|weight]
-
EdgeWeightAttribute
public static final DotSerializer.ConfigurationKey EdgeWeightAttribute
The attribute to use for the edge weights. [count|weight]
-
EdgeStyle
public static final DotSerializer.ConfigurationKey EdgeStyle
The style for the edges. [solid|dotted|dashed|bold]
-
MaxEdgeWeight
public static final DotSerializer.ConfigurationKey MaxEdgeWeight
The max edge weight to use for the most traveled path.
-
MinEdgeWeight
public static final DotSerializer.ConfigurationKey MinEdgeWeight
The min edge weight to use for the least traveled path.
-
-
Method Detail
-
values
public static DotSerializer.ConfigurationKey[] 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 (DotSerializer.ConfigurationKey c : DotSerializer.ConfigurationKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DotSerializer.ConfigurationKey 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
-
-