Package org.gephi.utils.sparklines
Enum SparklineParameters.HighlightTextMode
- java.lang.Object
-
- java.lang.Enum<SparklineParameters.HighlightTextMode>
-
- org.gephi.utils.sparklines.SparklineParameters.HighlightTextMode
-
- All Implemented Interfaces:
Serializable,Comparable<SparklineParameters.HighlightTextMode>
- Enclosing class:
- SparklineParameters
public static enum SparklineParameters.HighlightTextMode extends Enum<SparklineParameters.HighlightTextMode>
Defines what text is shown when highlightTextColor is not null.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description X_AND_Y_VALUESX_VALUESY_VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateHighlightTextMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SparklineParameters.HighlightTextModevalueOf(String name)Returns the enum constant of this type with the specified name.static SparklineParameters.HighlightTextMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X_VALUES
public static final SparklineParameters.HighlightTextMode X_VALUES
-
Y_VALUES
public static final SparklineParameters.HighlightTextMode Y_VALUES
-
X_AND_Y_VALUES
public static final SparklineParameters.HighlightTextMode X_AND_Y_VALUES
-
-
Method Detail
-
values
public static SparklineParameters.HighlightTextMode[] 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 (SparklineParameters.HighlightTextMode c : SparklineParameters.HighlightTextMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SparklineParameters.HighlightTextMode 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
-
-