All Implemented Interfaces:
Serializable, IComponentAwareEventSink, IComponentAwareHeaderContributor, IClusterable

public class ListBehavior extends BootstrapBaseBehavior
A bootstrap styled list of elements. (ol/ul/dl tag)
Author:
miha
See Also:
  • Constructor Details

    • ListBehavior

      public ListBehavior()
      Constructor using ListBehavior.Type.DYNAMIC.
  • Method Details

    • description

      public static ListBehavior description()
      Returns:
      a new description list behavior
    • unordered

      public static ListBehavior unordered()
      Returns:
      a new unordered list behavior
    • ordered

      public static ListBehavior ordered()
      Returns:
      a new ordered list behavior
    • horizontal

      public ListBehavior horizontal()
      sets a special css class so that this list will be rendered horizontally.
      Returns:
      this instance for chaining.
    • inline

      public ListBehavior inline()
      sets a special css class so that this list will be rendered inline.
      Returns:
      this instance for chaining.
    • unstyled

      public ListBehavior unstyled()
      whether to us styles or not for ul tags.
      Returns:
      this instance for chaining
    • onComponentTag

      public void onComponentTag(Component component, ComponentTag tag)
      Overrides:
      onComponentTag in class Behavior