Enum LabelLayout
- Alle implementierten Schnittstellen:
Serializable
,Comparable<LabelLayout>
,java.lang.constant.Constable
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum-Konstanten - Übersicht
Enum-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übersicht
Modifizierer und TypMethodeBeschreibungstatic LabelLayout
getSegment
(javax.faces.context.FacesContext facesContext) Veraltet.since 5.0.0.static boolean
isGridBottom
(javax.faces.component.UIComponent component) static boolean
isGridLeft
(javax.faces.component.UIComponent component) static boolean
isGridRight
(javax.faces.component.UIComponent component) static boolean
isGridTop
(javax.faces.component.UIComponent component) static boolean
isSegment
(LabelLayout labelLayout) static void
removeSegment
(javax.faces.context.FacesContext facesContext) static void
setSegment
(javax.faces.context.FacesContext facesContext, LabelLayout labelLayout) Veraltet.since 5.0.0.static LabelLayout
Gibt 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
-
none
do not render the label - same behavior as component without label attribute -
flexLeft
flex layout: let the label be on the left side -
flexRight
flex layout: let the label be on the right side -
top
let the label be on the top of the element -
segmentLeft
segment layout: let the label be on the left side -
segmentRight
segment layout: let the label be on the right side -
flowLeft
flow layout: let the label be on the left side -
flowRight
flow layout: let the label be on the right side -
skip
Veraltet.since 5.0.0, not needed, because there is no surrounding container.skip rendering the surrounding container. -
gridLeft
grid layout: let the label be on the left cell and the input on the right cell. It uses 2 cells instead of one. -
gridRight
grid layout: let the label be on the right cell and the input on the left cell. It uses 2 cells instead of one. -
gridTop
grid layout: let the label be on the top cell and the input on the bottom cell. It uses 2 cells instead of one. -
gridBottom
grid layout: let the label be on the bottom cell and the input on the top cell. It uses 2 cells instead of one.
-
-
Methodendetails
-
values
Gibt 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
-
valueOf
Gibt 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ältNullPointerException
- 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)
. -
getSegment
Veraltet.since 5.0.0. Please useSupportsLabelLayout.isNextToRenderIsLabel()
. -
removeSegment
public static void removeSegment(javax.faces.context.FacesContext facesContext) -
isGridLeft
public static boolean isGridLeft(javax.faces.component.UIComponent component) -
isGridRight
public static boolean isGridRight(javax.faces.component.UIComponent component) -
isGridTop
public static boolean isGridTop(javax.faces.component.UIComponent component) -
isGridBottom
public static boolean isGridBottom(javax.faces.component.UIComponent component)
-