Enum LabelLayout
- All Implemented Interfaces:
- Serializable,- Comparable<LabelLayout>,- java.lang.constant.Constable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionflex layout: let the label be on the left sideflex layout: let the label be on the right sideflow layout: let the label be on the left sideflow layout: let the label be on the right sidegrid layout: let the label be on the bottom cell and the input on the top cell.grid layout: let the label be on the left cell and the input on the right cell.grid layout: let the label be on the right cell and the input on the left cell.grid layout: let the label be on the top cell and the input on the bottom cell.do not render the label - same behavior as component without label attributesegment layout: let the label be on the left sidesegment layout: let the label be on the right sideDeprecated.since 5.0.0, not needed, because there is no surrounding container.let the label be on the top of the element
- 
Method SummaryModifier and TypeMethodDescriptionstatic LabelLayoutgetSegment(javax.faces.context.FacesContext facesContext) Deprecated.since 5.0.0.static booleanisGridBottom(javax.faces.component.UIComponent component) static booleanisGridLeft(javax.faces.component.UIComponent component) static booleanisGridRight(javax.faces.component.UIComponent component) static booleanisGridTop(javax.faces.component.UIComponent component) static booleanisSegment(LabelLayout labelLayout) static voidremoveSegment(javax.faces.context.FacesContext facesContext) static voidsetSegment(javax.faces.context.FacesContext facesContext, LabelLayout labelLayout) Deprecated.since 5.0.0.static LabelLayoutReturns the enum constant of this type with the specified name.static LabelLayout[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
nonedo not render the label - same behavior as component without label attribute
- 
flexLeftflex layout: let the label be on the left side
- 
flexRightflex layout: let the label be on the right side
- 
toplet the label be on the top of the element
- 
segmentLeftsegment layout: let the label be on the left side
- 
segmentRightsegment layout: let the label be on the right side
- 
flowLeftflow layout: let the label be on the left side
- 
flowRightflow layout: let the label be on the right side
- 
skipDeprecated.since 5.0.0, not needed, because there is no surrounding container.skip rendering the surrounding container.
- 
gridLeftgrid layout: let the label be on the left cell and the input on the right cell. It uses 2 cells instead of one.
- 
gridRightgrid layout: let the label be on the right cell and the input on the left cell. It uses 2 cells instead of one.
- 
gridTopgrid layout: let the label be on the top cell and the input on the bottom cell. It uses 2 cells instead of one.
- 
gridBottomgrid layout: let the label be on the bottom cell and the input on the top cell. It uses 2 cells instead of one.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
isSegment
- 
setSegment@Deprecated public static void setSegment(javax.faces.context.FacesContext facesContext, LabelLayout labelLayout) Deprecated.since 5.0.0. Please useSupportsLabelLayout.setNextToRenderIsLabel(boolean).
- 
getSegmentDeprecated.since 5.0.0. Please useSupportsLabelLayout.isNextToRenderIsLabel().
- 
removeSegmentpublic static void removeSegment(javax.faces.context.FacesContext facesContext) 
- 
isGridLeftpublic static boolean isGridLeft(javax.faces.component.UIComponent component) 
- 
isGridRightpublic static boolean isGridRight(javax.faces.component.UIComponent component) 
- 
isGridToppublic static boolean isGridTop(javax.faces.component.UIComponent component) 
- 
isGridBottompublic static boolean isGridBottom(javax.faces.component.UIComponent component) 
 
-