Enum FlatLabel.LabelType
- java.lang.Object
-
- java.lang.Enum<FlatLabel.LabelType>
-
- com.formdev.flatlaf.extras.components.FlatLabel.LabelType
-
- All Implemented Interfaces:
Serializable
,Comparable<FlatLabel.LabelType>
- Enclosing class:
- FlatLabel
public static enum FlatLabel.LabelType extends Enum<FlatLabel.LabelType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlatLabel.LabelType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlatLabel.LabelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
h00
public static final FlatLabel.LabelType h00
-
h0
public static final FlatLabel.LabelType h0
-
h1
public static final FlatLabel.LabelType h1
-
h2
public static final FlatLabel.LabelType h2
-
h3
public static final FlatLabel.LabelType h3
-
h4
public static final FlatLabel.LabelType h4
-
large
public static final FlatLabel.LabelType large
-
regular
public static final FlatLabel.LabelType regular
-
medium
public static final FlatLabel.LabelType medium
-
small
public static final FlatLabel.LabelType small
-
mini
public static final FlatLabel.LabelType mini
-
monospaced
public static final FlatLabel.LabelType monospaced
-
-
Method Detail
-
values
public static FlatLabel.LabelType[] 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 (FlatLabel.LabelType c : FlatLabel.LabelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlatLabel.LabelType 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
-
-