Package me.bimmr.bimmcore.gui.chat
Enum ChatMenu.HeightControl
- java.lang.Object
-
- java.lang.Enum<ChatMenu.HeightControl>
-
- me.bimmr.bimmcore.gui.chat.ChatMenu.HeightControl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ChatMenu.HeightControl>
,java.lang.constant.Constable
- Enclosing class:
- ChatMenu
public static enum ChatMenu.HeightControl extends java.lang.Enum<ChatMenu.HeightControl>
The enum Height control.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO
No auto fill at allAUTO_CENTER
No inner filling, fill top and bottom till max heightAUTO_EXTERNAL
No inner filling, fill top till max heightMANUAL
Fills inner to set heightMANUAL_CENTER
Fills inner till set height, fill top and bottom till max heightMANUAL_EXTERNAL
Fills inner till set height, fill top till max heightMAX
Inner fills top to max height
-
Method Summary
Modifier and Type Method Description boolean
isAuto()
boolean
isFillingInner()
boolean
isFillingTop()
boolean
isFillingTopAndBottom()
boolean
isManual()
boolean
isNotFilling()
static ChatMenu.HeightControl
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ChatMenu.HeightControl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAX
public static final ChatMenu.HeightControl MAX
Inner fills top to max height
-
MANUAL
public static final ChatMenu.HeightControl MANUAL
Fills inner to set height
-
AUTO
public static final ChatMenu.HeightControl AUTO
No auto fill at all
-
AUTO_EXTERNAL
public static final ChatMenu.HeightControl AUTO_EXTERNAL
No inner filling, fill top till max height
-
AUTO_CENTER
public static final ChatMenu.HeightControl AUTO_CENTER
No inner filling, fill top and bottom till max height
-
MANUAL_EXTERNAL
public static final ChatMenu.HeightControl MANUAL_EXTERNAL
Fills inner till set height, fill top till max height
-
MANUAL_CENTER
public static final ChatMenu.HeightControl MANUAL_CENTER
Fills inner till set height, fill top and bottom till max height
-
-
Method Detail
-
values
public static ChatMenu.HeightControl[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChatMenu.HeightControl valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isFillingTop
public boolean isFillingTop()
-
isFillingTopAndBottom
public boolean isFillingTopAndBottom()
-
isFillingInner
public boolean isFillingInner()
-
isNotFilling
public boolean isNotFilling()
-
isAuto
public boolean isAuto()
-
isManual
public boolean isManual()
-
-