Enum Class SidePanelPosition
- All Implemented Interfaces:
Serializable,Comparable<SidePanelPosition>,Constable
Represents the position of the side panel relative to the main content.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe side panel is placed at the bottom of the main content.The side panel is placed at the end position depending on the directionality (RTL or LTR) of the layout.The side panel is placed at the start position depending on the directionality (RTL or LTR) of the layout.The side panel is placed to the left of the main content.The side panel is placed to the right of the main content.The side panel is placed at the top of the main content. -
Method Summary
Modifier and TypeMethodDescriptionstatic SidePanelPositionReturns the enum constant of this class with the specified name.static SidePanelPosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
The side panel is placed at the top of the main content. -
RIGHT
The side panel is placed to the right of the main content. Does not consider RTL mode. -
BOTTOM
The side panel is placed at the bottom of the main content. -
LEFT
The side panel is placed to the left of the main content. Does not consider RTL mode. -
INLINE_START
The side panel is placed at the start position depending on the directionality (RTL or LTR) of the layout. -
INLINE_END
The side panel is placed at the end position depending on the directionality (RTL or LTR) of the layout.
-
-
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
-