com.bstek.dorado.view.config.definition
public class ViewDefinition extends ContainerDefinition
ControlDefinition.ControlWrapper
ObjectDefinition.CreationInfo
Constructor and Description |
---|
ViewDefinition(ComponentTypeRegisterInfo registerInfo) |
Modifier and Type | Method and Description |
---|---|
ComponentDefinition |
getComponent(java.lang.String id)
根据组件id获取一个子组件的声明。
|
java.util.Map<java.lang.String,ComponentDefinition> |
getComponents()
返回所有子组件的Map集合。
|
protected boolean |
invokePrivateListener(java.lang.Object object,
java.lang.String listenerName,
java.lang.String methodName,
CreationContext context) |
void |
registerComponent(ComponentDefinition component)
向视图声明中注册一个子组件的声明。
|
void |
setScope(Scope scope)
设置对象的作用范围。
|
appendChild, clone, doInitObject, getChildren, getLayout, initChildrenCreationInfo, initCreationInfo, setLayout
getFinalLayoutConstraint, getLayoutConstraint, setLayoutConstraint
createObject, doCreate, getAssembleComponentDefinition, getComponentType, getId, getRegisterInfo, setAssembleComponentDefinition, setComponentType, setId
filterGlobalListener, getListener, initObject, invokePrivateListeners, preinitObject, setListener
createExpressionMethodInterceptor, getFinalValueOrExpression
getBeanId, getConstructorArgTypes, getImpl, getImplType, getMethodInterceptors, getParentReferences, getParents, getScope, isCacheCreatedObject, setBeanId, setCacheCreatedObject, setConstructorArgTypes, setImpl, setImplType, setParent, setParentReference, setParentReferences, setParents
addInitOperation, create, create, executeInitOperations, getDependentResources, getInitOperations, getProperties, getProperty, getResource, initProperties, removeProperty, setDependentResources, setObjectProperty, setProperties, setProperty, setResource
public ViewDefinition(ComponentTypeRegisterInfo registerInfo) throws java.lang.Exception
java.lang.Exception
public void setScope(Scope scope)
ObjectDefinition
setScope
in class ObjectDefinition
ScopeManager
public void registerComponent(ComponentDefinition component)
component
- 子组件的配置声明对象。public ComponentDefinition getComponent(java.lang.String id)
id
- 子组件的id。public java.util.Map<java.lang.String,ComponentDefinition> getComponents()
protected boolean invokePrivateListener(java.lang.Object object, java.lang.String listenerName, java.lang.String methodName, CreationContext context) throws java.lang.Exception
invokePrivateListener
in class ComponentDefinition
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.