Enum FlatButton.ButtonType
- java.lang.Object
-
- java.lang.Enum<FlatButton.ButtonType>
-
- com.formdev.flatlaf.extras.components.FlatButton.ButtonType
-
- All Implemented Interfaces:
Serializable
,Comparable<FlatButton.ButtonType>
- Enclosing class:
- FlatButton
public static enum FlatButton.ButtonType extends Enum<FlatButton.ButtonType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description borderless
help
none
roundRect
square
tab
toolBarButton
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlatButton.ButtonType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlatButton.ButtonType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final FlatButton.ButtonType none
-
square
public static final FlatButton.ButtonType square
-
roundRect
public static final FlatButton.ButtonType roundRect
-
tab
public static final FlatButton.ButtonType tab
-
help
public static final FlatButton.ButtonType help
-
toolBarButton
public static final FlatButton.ButtonType toolBarButton
-
borderless
public static final FlatButton.ButtonType borderless
-
-
Method Detail
-
values
public static FlatButton.ButtonType[] 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 (FlatButton.ButtonType c : FlatButton.ButtonType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlatButton.ButtonType 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
-
-