30313233343536
public BorderLayoutPanelInspector(String locator) { super(new ElementByLocatorInspector(locator)); } public ElementInspector content() { return new ElementByLocatorInspector(id() + BorderLayoutPanelRenderer.CONTENT_SUFFIX); }
25262728293031
/** * @author Dmitry Pikhulya */ public class TabbedPaneInspector extends ElementByReferenceInspector { public TabbedPaneInspector(String locator) { super(new ElementByLocatorInspector(locator)); }
686970717273747576
public int size() { return pageCount; } public ElementInspector get(int index) { return new ElementByLocatorInspector(id() + TabbedPaneRenderer.PANE_SUFFIX + index); } }; }
/** * @author Dmitry Pikhulya */ public class TabSetInspector extends ElementByReferenceInspector { public TabSetInspector(String locator) { super(new ElementByLocatorInspector(locator)); }
404142434445464748
public int size() { return tabCount; } public ElementInspector get(int index) { return new ElementByLocatorInspector(id() + Rendering.CLIENT_ID_SUFFIX_SEPARATOR + index); } }; }
23242526272829
/** * @author Dmitry Pikhulya */ public class DropDownPopupInspector extends ElementByReferenceInspector { public DropDownPopupInspector(String locator) { super(new ElementByLocatorInspector(locator)); }
424344454647484950
public int size() { return itemCount; } public ElementInspector get(int index) { return new ElementByLocatorInspector(id() + DropDownPopup.ITEM_PREFIX + index); } }; }
22232425262728
public class DateChooserInspector extends DropDownComponentInspector { private CalendarInspector calendar; public DateChooserInspector(String locator) { super(new ElementByLocatorInspector(locator)); }
43444546474849
return calendar; } public ElementInspector button() { return new ElementByLocatorInspector(id() + DropDownComponentRenderer.BUTTON_SUFFIX); }
20212223242526
* @author Andrii Gorbatov */ public class CalendarYearInspector extends ElementByReferenceInspector { public CalendarYearInspector(String locator) { super(new ElementByLocatorInspector(locator)); }