Package net.minheur.potoflux.screen.tabs
Enum Class TabSides
- All Implemented Interfaces:
Serializable,Comparable<TabSides>,Constable,IComboSetting
Enum extending
Side, also featuring a key and translated name-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TabSidesgetFromCode(String code) Static getter for aTabSidesfrom a codejavafx.geometry.SidegetSide()Getter for the real sideGetter for thecodetoString()Make to string gets the translated namestatic TabSidesReturns the enum constant of this class with the specified name.static TabSides[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
Side.TOP -
BOTTOM
Side.BOTTOM -
LEFT
Side.LEFT -
RIGHT
Side.RIGHT
-
-
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
-
returnValue
Getter for thecode- Specified by:
returnValuein interfaceIComboSetting- Returns:
code
-
getSide
public javafx.geometry.Side getSide()Getter for the real side- Returns:
side
-
getFromCode
Static getter for aTabSidesfrom a code- Parameters:
code- to get the side of- Returns:
- the corresponding side, or
nullif not exists
-
toString
Make to string gets the translated name
-