Class OrderedList

All Implemented Interfaces:
AttachNotifier, ClickNotifier<OrderedList>, DetachNotifier, HasComponents, HasElement, HasEnabled, HasSize, HasStyle, HasText, Serializable

@Tag("ol") public class OrderedList extends HtmlContainer implements ClickNotifier<OrderedList>
Component representing a <ol> element.
Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • OrderedList

      public OrderedList()
      Creates a new empty ordered list.
    • OrderedList

      public OrderedList(OrderedList.NumberingType type)
      Creates a new empty ordered list with the specified OrderedList.NumberingType.
      Parameters:
      type - the numbering type of the list items
    • OrderedList

      public OrderedList(ListItem... items)
      Creates a new ordered list with the given list items.
      Parameters:
      items - the list items
  • Method Details