Enum Class Surface
- All Implemented Interfaces:
Serializable, Comparable<Surface>, Constable
Kinds of filled areas in built-in editor layouts. How each is being used comes with it as a
WidgetState.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn amount box in a list row: focused while it is being typed in.Dims everything behind a message card.A small box, such as a search field or a header label.A button's background, drawn byWidgetKit.button(GuiPainter, Rect, String, EditorButton.Role, WidgetState)unless the kit draws buttons itself.A message card.The close button on a message card's header.The header strip of a message card.A bind or value chip.A text field's box.Behind a list of rows.An editor's background.A list row: selected when it is the current choice, focused while it is being edited.A tab: selected when it is the open tab. -
Method Summary
-
Enum Constant Details
-
PANEL
An editor's background. -
LIST_AREA
Behind a list of rows. -
ROW
A list row: selected when it is the current choice, focused while it is being edited. -
FIELD
A text field's box. -
BOX
A small box, such as a search field or a header label. -
BUTTON
A button's background, drawn byWidgetKit.button(GuiPainter, Rect, String, EditorButton.Role, WidgetState)unless the kit draws buttons itself. -
TAB
A tab: selected when it is the open tab. -
CHIP
A bind or value chip. -
AMOUNT
An amount box in a list row: focused while it is being typed in. -
SCROLL_THUMB
-
CARD
A message card. -
CARD_HEADER
The header strip of a message card. -
CARD_BUTTON
The close button on a message card's header. -
BACKDROP
Dims everything behind a message card.
-
-
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
-