Class StandardPage
- java.lang.Object
-
- net.n2oapp.framework.api.metadata.Component
-
- net.n2oapp.framework.api.metadata.meta.page.Page
-
- net.n2oapp.framework.api.metadata.meta.page.StandardPage
-
- All Implemented Interfaces:
Serializable,JsonPropertiesAware,PropertiesAware,Compiled
- Direct Known Subclasses:
SearchablePage,TopLeftRightPage
public class StandardPage extends Page
Клиентская модель страницы с регионами- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classStandardPage.RegionWidth
-
Constructor Summary
Constructors Constructor Description StandardPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PerformButtonfindButton(String buttonId)Найти кнопку на странице<T extends Widget<?>>
TfindWidget(String clientWidgetId, Class<T> clazz)Найти виджет по клиентскому идентификатору-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.n2oapp.framework.api.metadata.aware.JsonPropertiesAware
getJsonProperties
-
Methods inherited from interface net.n2oapp.framework.api.metadata.aware.PropertiesAware
getProperties, setProperties
-
-
-
-
Method Detail
-
findWidget
public <T extends Widget<?>> T findWidget(String clientWidgetId, Class<T> clazz)
Найти виджет по клиентскому идентификатору- Type Parameters:
T- Тип виджета- Parameters:
clientWidgetId- Идентификаторclazz- Класс виджета- Returns:
- Найденный виджет
- Throws:
NoSuchElementException- Если виджет не был найден
-
findButton
public PerformButton findButton(String buttonId)
Найти кнопку на странице- Parameters:
buttonId- Идентификатор кнопки- Returns:
- Кнопка
- Throws:
NoSuchElementException- Если кнопка не найдена
-
-