void
|
addChild(String key, WebComponent child)
Adds a child component to the current WebComponent .
|
void
|
addChildStateInfo(ParameterBuilder paramBldr)
|
void
|
addChildStateInfo(ParameterBuilder paramBldr, int howMuchState)
|
void
|
addChildStateInfo(ParameterBuilder paramBldr, String state, int howMuchState)
|
void
|
addChildStateInfo(ParameterBuilder paramBldr, WebComponent wc)
|
void
|
addChildStateInfo(ParameterBuilder paramBldr, String state)
|
void
|
addStateInfo(ParameterBuilder paramBldr, int howMuchState)
|
Collection
|
childValues()
|
void
|
clearChildren()
Removes all the child component instances from this component.
|
void
|
clearStateCache(int howMuchToClear)
Clears the cached state for the current component only, without touching
any child component's state.
|
void
|
collectData()
Triggers execution to the back end no matter whether it is synchronous or
asynchronous.
|
void
|
collectMinimalData()
This is similar to collectData() except data collected is minimal.
|
String
|
getCachedState(int whatState)
Return the cached state specified by the whatState .
|
WebComponent
|
getChild(String path)
Returns the bottom child component at the specified path.
|
WebComponent
|
getChild(int index)
Returns the child WebComponent specified by the index.
|
WebComponent
|
getChildByClass(Class classInstance)
Returns the child WebComponent instance specified by the class.
|
WebComponent
|
getChildByType(int childType)
Returns the child WebComponent instance specified by the type.
|
int
|
getChildCount()
Returns the total number of child component in the current WebComponent.
|
void
|
getChildrenByClass(Class classInstance, HashList retList, boolean recursive)
Returns the child WebComponent instance specified by the class.
|
int
|
getDefaultStateLevel()
Returns the default state level.
|
WebFeatures
|
getFeaturesManager()
Return the WebFeatures implementation associated with this WebComponent
|
int
|
getMaximumStateLevel()
Returns either the default state level of the current component or
the maximum state level among the current component and its child
components, whichever is greater.
|
String
|
getName()
Returns the name of the current component.
|
int
|
getOutputFormat()
|
WebComponent
|
getParent()
Returns the parent component of this component.
|
String
|
getPath()
Returns the path, starting from the root component to this component.
|
int
|
getPersistMode()
|
Set
|
getRenderingFilter()
returns the rendering filter.
|
WebComponent
|
getRoot()
Returns the root component reachable from the current component.
|
WebComponent
|
getTargetBean()
Get the target bean associated with this instance
|
String
|
getTargetBeanPath()
|
WebEvent
|
getWebEvent(int eventID, boolean recurse)
Returns the WebEvent denoted by the event ID.
|
WebEvent
|
getWebEvent(int eventID)
Returns the WebEvent denoted by the event ID.
|
WebEventHandler
|
getWebEventHandler()
|
boolean
|
handleRequest(RequestKeys keys)
Handles the request specified by the RequestKeys instance.
|
boolean
|
hasChanged()
Verifies the state of the component has changed
|
boolean
|
hasJustOpened()
Verifies if the component has just been opened.
|
boolean
|
haveChildrenChanged()
|
void
|
initBean()
Initialize the component after it's created and its properties initialized
|
void
|
invalidateChildrenState()
Invalidates the cached state of a component and its children.
|
boolean
|
isBeanContextEmpty()
Verifies if a bean context exists for the current WebComponent.
|
boolean
|
isChangeComparisonFlagSet(int stateFlag)
|
boolean
|
isFeatureAvailable(String featureList)
Verifies if the corresponding feature(s) is accesible based on the properties of this WebComponent.
|
WebEventHandler
|
newDefaultEventHandler()
|
StyleRequestContext
|
newStyleRequestContext()
|
void
|
prepareForReuse()
If a Web Component instance is going to be reused across different requests, this API serves as a notifier to the component to do the necessary cleanup.
|
WebComponent
|
removeChild(String key)
Removes the specified child component from the current component.
|
WebComponent
|
removeChild(WebComponent component)
Removes the specified child component from the current component.
|
boolean
|
restoreState(String state)
Restores a component based on its saved state.
|
boolean
|
restoreStateFromRequest(RequestKeys rk, String keyName)
Restores this component from the saved state keyed by keyName
in the RequestKeys object.
|
boolean
|
restoreStateFromRequest(RequestKeys rk)
Restores this component from the saved state keyed by this component's
name in the RequestKeys object.
|
void
|
saveXMLState(XMLStateSerializer builder, int howMuchState, int stateFlag)
Saves the component state
|
void
|
saveXMLState(StringBuffer buf, int howMuchState, int stateFlag)
Saves the component state in the provided StringBuffer
|
void
|
saveXMLState(XMLStateSerializer builder, int howMuchState)
Saves the component state
|
WebComponent
|
searchChild(String key)
Searches whole hierarchy rooted at the current component for the child
component specified the key and returns the search result.
|
void
|
setBeanContext(BeanContext beanContext, boolean forceUpdateChildren)
Sets an instance of BeanContext on the current WebBean.
|
void
|
setBeanContext(BeanContext beanContext)
Sets an instance of BeanContext on the current WebBean.
|
void
|
setChanged(boolean value)
Sets the changed state of the component
|
void
|
setChanged(boolean value, boolean recurse)
Sets the changed state of the component
|
void
|
setDefaultStateLevel(int stateLevel)
Set the default state level.
|
void
|
setFeaturesManager(WebFeatures featuresManager)
Associates a WebFeatures implementation with this WebComponent
|
void
|
setName(String name)
Sets the name for the current component.
|
void
|
setOutputFormat(int outputFormat)
|
void
|
setParent(WebComponent parentComponent)
Sets the parent component for the current component
|
void
|
setPersistMode(int persistFlag)
|
void
|
setRenderingFilter(Set renderingFilter)
Sets the list of beans to render.
|
void
|
setStateCache(int whatState, String stateToSave)
Caches the state specified by whatState.
|
void
|
setTargetBean(WebComponent bean)
Set the target bean that will be associated with this instance.
|
void
|
setTargetBeanPath(String beanName)
Define the base bean for this instance.
|
void
|
setWebEventHandler(WebEventHandler eventHandler)
|