Enum Class ButtonPanel.AnchorType
java.lang.Object
java.lang.Enum<ButtonPanel.AnchorType>
io.github.pixelmk.pixelmkmenu.gui.components.ButtonPanel.AnchorType
- All Implemented Interfaces:
Serializable,Comparable<ButtonPanel.AnchorType>,Constable
- Enclosing class:
ButtonPanel
Where the anchor for the button panel is located.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnchor to bottom left of screen.Anchor to bottom right of screen.Anchor to top left of screen.Anchor to top right of screen. -
Method Summary
Modifier and TypeMethodDescriptionstatic ButtonPanel.AnchorTypeReturns the enum constant of this class with the specified name.static ButtonPanel.AnchorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP_LEFT
Anchor to top left of screen. -
BOTTOM_LEFT
Anchor to bottom left of screen. -
TOP_RIGHT
Anchor to top right of screen. -
BOTTOM_RIGHT
Anchor to bottom right of screen.
-
-
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
-