Enum LabelLayout
- Alle implementierten Schnittstellen:
- Serializable,- Comparable<LabelLayout>,- java.lang.constant.Constable
- 
Verschachtelte Klassen - ÜbersichtVon Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum-Konstanten - ÜbersichtEnum-KonstantenEnum-KonstanteBeschreibungflex 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 sideVeraltet.since 5.0.0, not needed, because there is no surrounding container.let the label be on the top of the element
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungstatic LabelLayoutgetSegment(javax.faces.context.FacesContext facesContext) Veraltet.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) Veraltet.since 5.0.0.static LabelLayoutGibt die Enumerationskonstante dieses Typs mit dem angegebenen Namen zurück.static LabelLayout[]values()Gibt ein Array mit den Konstanten dieses Enum-Typs in der Reihenfolge ihrer Deklaration zurück.
- 
Enum-Konstanten - 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
- 
skipVeraltet.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.
 
- 
- 
Methodendetails- 
valuesGibt ein Array mit den Konstanten dieses Enum-Typs in der Reihenfolge ihrer Deklaration zurück.- Gibt zurück:
- ein Array mit den Konstanten dieses Enumerationstyps in der Reihenfolge ihrer Deklaration
 
- 
valueOfGibt die Enumerationskonstante dieses Typs mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enumerationskonstante in diesem Typ deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)- Parameter:
- name- Name der zurückzugebenden Enumerationskonstante.
- Gibt zurück:
- Enumerationskonstante mit dem angegebenen Namen
- Löst aus:
- IllegalArgumentException- wenn dieser Enumerationstyp keine Konstante mit dem angegebenen Namen enthält
- NullPointerException- wenn das Argument nicht angegeben wird
 
- 
isSegment
- 
setSegment@Deprecated public static void setSegment(javax.faces.context.FacesContext facesContext, LabelLayout labelLayout) Veraltet.since 5.0.0. Please useSupportsLabelLayout.setNextToRenderIsLabel(boolean).
- 
getSegmentVeraltet.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) 
 
-