public enum LabelLayout extends Enum<LabelLayout>
Enum Constant and Description |
---|
flexLeft
flex layout: let the label be on the left side
|
flexRight
flex 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
|
gridBottom
grid layout: let the label be on the bottom cell and the input on the top cell.
|
gridLeft
grid layout: let the label be on the left cell and the input on the right cell.
|
gridRight
grid layout: let the label be on the right cell and the input on the left cell.
|
gridTop
grid layout: let the label be on the top cell and the input on the bottom cell.
|
none
do not render the label - same behavior as component without label attribute
|
segmentLeft
segment layout: let the label be on the left side
|
segmentRight
segment layout: let the label be on the right side
|
skip
skip rendering the surrounding container.
|
top
let the label be on the top of the element
|
Modifier and Type | Method and Description |
---|---|
static LabelLayout |
getSegment(javax.faces.context.FacesContext facesContext) |
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) |
static LabelLayout |
valueOf(String name)
Returns 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.
|
public static final LabelLayout none
public static final LabelLayout flexLeft
public static final LabelLayout flexRight
public static final LabelLayout top
public static final LabelLayout segmentLeft
public static final LabelLayout segmentRight
public static final LabelLayout flowLeft
public static final LabelLayout flowRight
public static final LabelLayout skip
public static final LabelLayout gridLeft
public static final LabelLayout gridRight
public static final LabelLayout gridTop
public static final LabelLayout gridBottom
public static LabelLayout[] values()
for (LabelLayout c : LabelLayout.values()) System.out.println(c);
public static LabelLayout valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean isSegment(LabelLayout labelLayout)
public static void setSegment(javax.faces.context.FacesContext facesContext, LabelLayout labelLayout)
public static LabelLayout getSegment(javax.faces.context.FacesContext facesContext)
public static void removeSegment(javax.faces.context.FacesContext facesContext)
public static boolean isGridLeft(javax.faces.component.UIComponent component)
public static boolean isGridRight(javax.faces.component.UIComponent component)
public static boolean isGridTop(javax.faces.component.UIComponent component)
public static boolean isGridBottom(javax.faces.component.UIComponent component)
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.