Enum Class ComplexBuilderHierarchy
java.lang.Object
java.lang.Enum<ComplexBuilderHierarchy>
com.jbstrap.ui.components.form.builders.ComplexBuilderHierarchy
- All Implemented Interfaces:
Serializable
,Comparable<ComplexBuilderHierarchy>
,Constable
Enum containing the usable hierarchies for the complex form builder
- 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 ConstantDescriptionIn this hierarchy, the order is blocks, columns and tabs.In this hierarchy, the order is blocks, tabs and columns.In this hierarchy, the order is columns, blocks and tabs.In this hierarchy, the order is columns, tabs and blocks.In this hierarchy, the order is tab, blocks and columns.In this hierarchy, the order is tab, columns and blocks. -
Method Summary
Modifier and TypeMethodDescriptiongetElement
(int level) static ComplexBuilderHierarchy
Returns the enum constant of this class with the specified name.static ComplexBuilderHierarchy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TAB_BLOCK_COLUMN
In this hierarchy, the order is tab, blocks and columns. This means that the tabs will be on top of the form, then in each tab, there will be the blocks, and the form items in the block will be organized in columns. -
TAB_COLUMN_BLOCK
In this hierarchy, the order is tab, columns and blocks. This means that the tabs will be on top of the form, then in each tab, there will be columns, and within the columns there will be the blocks, that will have the form items inside them. In this case, the blocks will only have the width of the column, and the form items within the blocks will be placed under each other -
BLOCK_TAB_COLUMN
In this hierarchy, the order is blocks, tabs and columns. This means that the form will be divided into blocks for its entire width. Within the blocks, there will be tabs, and within those tabs, the form items will be organized in columns. -
BLOCK_COLUMN_TAB
In this hierarchy, the order is blocks, columns and tabs. This means that the form will be divided into blocks along its entire width. Within the blocks, there will be columns, and inside the columns there will be tabs, that will have the form items ordered under each other. -
COLUMN_TAB_BLOCK
In this hierarchy, the order is columns, tabs and blocks. This means that columns will be first, then within the columns there will be the tabs, then within those, there will be the blocks. The blocks will have the form items. The blocks will have the width of the tab, and the items will be placed under each other. -
COLUMN_BLOCK_TAB
In this hierarchy, the order is columns, blocks and tabs. This means that columns will be first, then within the columns there will be the k blocks, and the tabs will be within the blocks. The form items in the tab will be placed under each other.
-
-
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
-
getElement
- Parameters:
level
- The level. The top-level is 0- Returns:
- The element corresponding to the specified level, or
null
if not found
-