Enum Class SplitterPosition
- All Implemented Interfaces:
Serializable
,Comparable<SplitterPosition>
,Constable
Enum containing the named positions of the splitter component’s separator line
- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe line separating the splitter component’s containers is located at the bottom of the component Only for horizontal splitterThe line separating the splitter component’s containers is located in the middle of the component For horizontal as well as vertical splittersThe line separating the splitter component’s containers is located on the left side of the component Only for horizontal splitterThe line separating the splitter component’s containers is located on the right side of the component Only for horizontal splitterThe line separating the splitter component’s containers is located on the top of the component Only for horizontal splitter -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected List<com.jbstrap.ui.components.layout.splitter.SplitterOrientation>
static SplitterPosition
Returns the enum constant of this class with the specified name.static SplitterPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT
The line separating the splitter component’s containers is located on the left side of the component Only for horizontal splitter -
RIGHT
The line separating the splitter component’s containers is located on the right side of the component Only for horizontal splitter -
CENTER
The line separating the splitter component’s containers is located in the middle of the component For horizontal as well as vertical splitters -
TOP
The line separating the splitter component’s containers is located on the top of the component Only for horizontal splitter -
BOTTOM
The line separating the splitter component’s containers is located at the bottom of the component Only for horizontal splitter
-
-
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
-
getJsName
- Returns:
- The name of the position used in JavaScript
-
getOrientations
- Returns:
- A list of all splitter orientations enabling the named position for use
-