Interface PageObjectContext
- All Superinterfaces:
PageObjectParentContext
- All Known Implementing Classes:
PageObjectContextImpl
- Author:
- Abdulin Ildar
-
Property Summary
Properties -
Method Summary
Modifier and TypeMethodDescriptionvoid
addScript
(ClassMetadata classMetadata) javafx.beans.property.Property<Boolean>
javafx.beans.property.Property<Boolean>
findRelativeContext
(String objectId) Finds object in current hierarchy that either has specified id or inherits page object with specified iddefault String
getName()
Gets the value of the property name.Returns parent context (page object, page etc)default String
javafx.collections.ObservableList<ScriptContext>
boolean
isChildOf
(PageObjectContext parentContext) Check that this context is a child (direct or indirect) of parentContextdefault boolean
javafx.beans.property.StringProperty
void
navigate()
void
removeScript
(ScriptContext scriptContext) void
setNavigateFunction
(Runnable function) Methods inherited from interface ru.cg.webbpm.studio.subsystems.page_designer.designer.api.context.PageObjectParentContext
addChild, addChild, addChild, addChild, addChildFromPrototype, addChildFromPrototype, findInChildren, getChildren, getId, removeChild
-
Property Details
-
Method Details
-
getRootContext
PageObjectParentContext getRootContext() -
getParent
PageObjectParentContext getParent()Returns parent context (page object, page etc)- Returns:
- parent context (not null)
-
isChildOf
Check that this context is a child (direct or indirect) of parentContext- Parameters:
parentContext
-- Returns:
- true if parentContext is an ancestor of this context
-
getObject
PageObject getObject() -
findRelativeContext
Finds object in current hierarchy that either has specified id or inherits page object with specified id- Parameters:
objectId
- object id or prototype id- Returns:
- object if found, or else null
-
getName
Gets the value of the property name.- Property description:
-
nameProperty
javafx.beans.property.StringProperty nameProperty()- See Also:
-
getPrototypeId
-
containerProperty
javafx.beans.property.Property<Boolean> containerProperty() -
isContainer
default boolean isContainer() -
addScript
-
removeScript
-
getScripts
javafx.collections.ObservableList<ScriptContext> getScripts() -
expandedProperty
javafx.beans.property.Property<Boolean> expandedProperty()
-