Enum LabelLayout

java.lang.Object
java.lang.Enum<LabelLayout>
org.apache.myfaces.tobago.component.LabelLayout
Alle implementierten Schnittstellen:
Serializable, Comparable<LabelLayout>, java.lang.constant.Constable

public enum LabelLayout extends Enum<LabelLayout>
  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum-Konstanten - Übersicht

    Enum-Konstanten
    Enum-Konstante
    Beschreibung
    flex layout: let the label be on the left side
    flex layout: let the label be on the right side
    flow layout: let the label be on the left side
    flow layout: let the label be on the right side
    grid 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 attribute
    segment layout: let the label be on the left side
    segment layout: let the label be on the right side
    Veraltet.
    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 Typ
    Methode
    Beschreibung
    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.
    Gibt die Enumerationskonstante dieses Typs mit dem angegebenen Namen zurück.
    static LabelLayout[]
    Gibt ein Array mit den Konstanten dieses Enum-Typs in der Reihenfolge ihrer Deklaration zurück.

    Von Klasse geerbte Methoden java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum-Konstanten - Details

    • none

      public static final LabelLayout none
      do not render the label - same behavior as component without label attribute
    • flexLeft

      public static final LabelLayout flexLeft
      flex layout: let the label be on the left side
    • flexRight

      public static final LabelLayout flexRight
      flex layout: let the label be on the right side
    • top

      public static final LabelLayout top
      let the label be on the top of the element
    • segmentLeft

      public static final LabelLayout segmentLeft
      segment layout: let the label be on the left side
    • segmentRight

      public static final LabelLayout segmentRight
      segment layout: let the label be on the right side
    • flowLeft

      public static final LabelLayout flowLeft
      flow layout: let the label be on the left side
    • flowRight

      public static final LabelLayout flowRight
      flow layout: let the label be on the right side
    • skip

      @Deprecated public static final LabelLayout skip
      Veraltet.
      since 5.0.0, not needed, because there is no surrounding container.
      skip rendering the surrounding container.
    • gridLeft

      public static final LabelLayout 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

      public static final LabelLayout 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

      public static final LabelLayout 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

      public static final LabelLayout 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

      public static LabelLayout[] 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

      public static LabelLayout valueOf(String name)
      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ält
      NullPointerException - wenn das Argument nicht angegeben wird
    • isSegment

      public static boolean isSegment(LabelLayout labelLayout)
    • setSegment

      @Deprecated public static void setSegment(javax.faces.context.FacesContext facesContext, LabelLayout labelLayout)
      Veraltet.
    • getSegment

      @Deprecated public static LabelLayout getSegment(javax.faces.context.FacesContext facesContext)
      Veraltet.
    • 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)