Class N2oTreeWidget.N2oTreeItem

All Implemented Interfaces:
Badge, Component, Element, Expandable, TreeWidget.TreeItem
Enclosing class:
N2oTreeWidget

public class N2oTreeWidget.N2oTreeItem extends N2oComponent implements TreeWidget.TreeItem
  • Constructor Details

    • N2oTreeItem

      public N2oTreeItem(com.codeborne.selenide.SelenideElement element)
  • Method Details

    • expand

      public void expand()
      Description copied from interface: Expandable
      Раскрытие выпадающего списка
      Specified by:
      expand in interface Expandable
    • collapse

      public void collapse()
      Description copied from interface: Expandable
      Скрытие выпадающего списка
      Specified by:
      collapse in interface Expandable
    • shouldBeExpanded

      public void shouldBeExpanded()
      Description copied from interface: Expandable
      Проверка того, что выпадающий список раскрыт
      Specified by:
      shouldBeExpanded in interface Expandable
    • shouldBeCollapsed

      public void shouldBeCollapsed()
      Description copied from interface: Expandable
      Проверка того, что выпадающий список скрыт
      Specified by:
      shouldBeCollapsed in interface Expandable
    • badgeShouldHavePosition

      public void badgeShouldHavePosition(BadgePosition position)
      Description copied from interface: Badge
      Проверка позиции баджа на соответствие ожидаемой позиции
      Specified by:
      badgeShouldHavePosition in interface Badge
      Parameters:
      position - ожидаемая позиция баджа
    • switcher

      protected com.codeborne.selenide.SelenideElement switcher()