Class ToolBarDescription.Init<T extends ToolBarDescription.Init<T>>

Direct Known Subclasses:
ToolBarDescription.Builder
Enclosing class:
ToolBarDescription

protected abstract static class ToolBarDescription.Init<T extends ToolBarDescription.Init<T>> extends WebElementDescription.Init<T>
Helper class for ToolBarDescription.Builder.
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • build

      public ToolBarDescription build()
      Description copied from class: DescriptionBase.Init
      Returns the built description instance (builder pattern).
      Overrides:
      build in class WebElementDescription.Init<T extends ToolBarDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • standalone

      public T standalone(Boolean standalone)
      Initiates whether the toolbar is standalone.
      Parameters:
      standalone - whether the toolbar is standalone.
      Returns:
      the description instance with updated state (builder pattern).
    • design

      public T design(ToolBarDesign design)
      Initializes the visual design of the toolbar.
      Parameters:
      design - the visual design of the toolbar.
      Returns:
      The description instance with updated state (builder pattern).
    • leftItemsCount

      public T leftItemsCount(Integer leftItemsCount)
      Initializes the item count in the left side of the toolbar.
      Parameters:
      leftItemsCount - the item count in the left side of the toolbar.
      Returns:
      The description instance with updated state (builder pattern).
    • middleItemsCount

      public T middleItemsCount(Integer middleItemsCount)
      Initializes the item count in the middle of the toolbar.
      Parameters:
      middleItemsCount - the item count in the middle of the toolbar.
      Returns:
      The description instance with updated state (builder pattern).
    • rightItemsCount

      public T rightItemsCount(Integer rightItemsCount)
      Initializes the item count in the right side of the toolbar.
      Parameters:
      rightItemsCount - the item count in the right side of the toolbar.
      Returns:
      the description instance with updated state (builder pattern).