Interface PageObjectParentContext
- All Known Subinterfaces:
PageContext
,PageObjectContext
- All Known Implementing Classes:
PageContextImpl
,PageObjectContextImpl
,PageObjectParentContextImpl
public interface PageObjectParentContext
Base class for object that contains page objects (i.e. a page object, a page or a component)
- Author:
- krylov
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(int idx, PageObjectContext child) addChild
(int idx, PageObject object) default void
addChild
(PageObjectContext child) default PageObjectContext
addChild
(PageObject object) addChildFromPrototype
(int idx, PageObject prototype) default PageObjectContext
addChildFromPrototype
(PageObject prototype) findInChildren
(String objectId) Finds object with given id in current childrenjavafx.collections.ObservableList<PageObjectContext>
getId()
void
removeChild
(PageObjectContext object)
-
Method Details
-
getId
String getId() -
getChildren
javafx.collections.ObservableList<PageObjectContext> getChildren() -
addChild
-
addChild
-
addChild
-
addChild
-
addChildFromPrototype
-
addChildFromPrototype
-
removeChild
-
findInChildren
Finds object with given id in current children- Parameters:
objectId
- object id- Returns:
- object if found, or else null
-