public abstract class AbstractPage extends java.lang.Object implements Page, PageCtrl, java.io.Serializable
Page.APPLICATION_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPage() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called when this page is about to be destroyed.
|
Component |
getFellow(java.lang.String compId)
Returns a component of the specified ID in this ID space.
|
Component |
getFellow(java.lang.String compId,
boolean recurse)
The same as
getFellow(String). |
Component |
getFellowIfAny(java.lang.String compId)
Returns a component of the specified ID in this ID space, or null
if not found.
|
Component |
getFellowIfAny(java.lang.String compId,
boolean recurse)
The same as
getFellowIfAny(String). |
java.util.Collection<Component> |
getFellows()
Returns all fellows in this ID space.
|
Component |
getFirstRoot()
Returns the first root component.
|
Component |
getLastRoot()
Returns the last root component.
|
java.util.Collection<Component> |
getRoots()
Returns a readonly list of the root components.
|
boolean |
hasFellow(java.lang.String compId)
Returns whether there is a fellow named with the specified component ID.
|
boolean |
hasFellow(java.lang.String compId,
boolean recurse)
The same as
hasFellow(String). |
void |
removeComponents()
Removes all components in this page.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClassResolver, addEventListener, addFunctionMapper, addTemplate, addVariableResolver, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getComponentDefinition, getComponentDefinition, getComponentDefinitionMap, getDesktop, getEventListeners, getExpressionFactoryClass, getFunctionMapper, getId, getInterpreter, getLanguageDefinition, getListenerIterator, getLoadedInterpreters, getRequestPath, getStyle, getTemplate, getTitle, getUuid, getViewport, getXelVariable, getXelVariable, getZScriptClass, getZScriptFunction, getZScriptFunction, getZScriptLanguage, getZScriptVariable, getZScriptVariable, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFunctionMapper, hasVariableResolver, interpret, invalidate, isAlive, isComplete, isListenerAvailable, removeAttribute, removeAttribute, removeEventListener, removeFunctionMapper, removeTemplate, removeVariableResolver, resolveClass, setAttribute, setAttribute, setComplete, setExpressionFactoryClass, setId, setStyle, setTitle, setViewport, setZScriptLanguageaddScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttributeaddAfterHeadTags, addBeforeHeadTags, addDeferredZScript, getAfterHeadTags, getAutomaticTimeout, getBeforeHeadTags, getCacheable, getContentType, getDocType, getFirstLine, getOwner, getResponseHeaders, getRootAttributes, getWidgetClass, init, preInit, redraw, sessionDidActivate, sessionWillPassivate, setAutomaticTimeout, setCacheable, setContentType, setDocType, setFirstLine, setOwner, setRootAttributes, setWidgetClasspublic Component getFirstRoot()
PagegetFirstRoot in interface Pagepublic Component getLastRoot()
PagegetLastRoot in interface Pagepublic boolean hasFellow(java.lang.String compId)
IdSpacepublic boolean hasFellow(java.lang.String compId,
boolean recurse)
hasFellow(String).
In other words, the recurse parameter is not applicable.public Component getFellow(java.lang.String compId) throws ComponentNotFoundException
IdSpaceUnlike IdSpace.getFellowIfAny(String), it throws ComponentNotFoundException
if not found.
getFellow in interface IdSpaceComponentNotFoundException - is thrown if
this component doesn't belong to any ID spacepublic Component getFellow(java.lang.String compId, boolean recurse) throws ComponentNotFoundException
getFellow(String).
In other words, the recurse parameter is not applicable.getFellow in interface IdSpacerecurse - whether to look up the parent ID space for the
existence of the fellowComponentNotFoundException - is thrown if
this component doesn't belong to any ID spacepublic Component getFellowIfAny(java.lang.String compId)
IdSpaceUnlike IdSpace.getFellow(String), it returns null if not found.
getFellowIfAny in interface IdSpacepublic Component getFellowIfAny(java.lang.String compId, boolean recurse)
getFellowIfAny(String).
In other words, the recurse parameter is not applicable.getFellowIfAny in interface IdSpacerecurse - whether to look up the parent ID space for the
existence of the fellowpublic java.util.Collection<Component> getFellows()
IdSpacegetFellows in interface IdSpacepublic java.util.Collection<Component> getRoots()
Pagepublic void removeComponents()
PageremoveComponents in interface PageExecution.createComponents(String,Component,Map)Copyright © 2005-2021 Potix Corporation. All Rights Reserved.