|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ComponentDefinition | |
---|---|
org.zkoss.zk.ui | Interfaces of the common user-interfaces, such as Page and Component. |
org.zkoss.zk.ui.impl | Implementation of user interfaces and factories (implementation only). |
org.zkoss.zk.ui.metainfo | Metainfo representing pages and languages (implementation only). |
org.zkoss.zk.ui.metainfo.impl | The implementation class of the metainfos. |
org.zkoss.zk.ui.sys | Internal interfaces of user interfaces and factories (behind the scene). |
Uses of ComponentDefinition in org.zkoss.zk.ui |
---|
Methods in org.zkoss.zk.ui that return ComponentDefinition | |
---|---|
ComponentDefinition |
Page.getComponentDefinition(java.lang.Class<? extends Component> cls,
boolean recurse)
Returns the component definition of the specified class, or null if not found. |
ComponentDefinition |
Page.getComponentDefinition(java.lang.String name,
boolean recurse)
Returns the component definition of the specified name, or null if not found. |
ComponentDefinition |
Component.getDefinition()
Returns the component definition of this component (never null). |
ComponentDefinition |
AbstractComponent.getDefinition()
|
static ComponentDefinition |
Components.getDefinitionByDeviceType(java.lang.String deviceType,
java.lang.Class cls)
Returns the component definition of the specified class in all language of the specified device, or null if not found |
Methods in org.zkoss.zk.ui with parameters of type ComponentDefinition | |
---|---|
void |
AbstractComponent.setDefinition(ComponentDefinition compdef)
|
Uses of ComponentDefinition in org.zkoss.zk.ui.impl |
---|
Methods in org.zkoss.zk.ui.impl that return ComponentDefinition | |
---|---|
ComponentDefinition |
PageImpl.getComponentDefinition(java.lang.Class<? extends Component> cls,
boolean recurse)
|
ComponentDefinition |
PageImpl.getComponentDefinition(java.lang.String name,
boolean recurse)
|
Methods in org.zkoss.zk.ui.impl with parameters of type ComponentDefinition | |
---|---|
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ComponentDefinition compdef,
java.lang.String clsnm)
|
Uses of ComponentDefinition in org.zkoss.zk.ui.metainfo |
---|
Methods in org.zkoss.zk.ui.metainfo that return ComponentDefinition | |
---|---|
ComponentDefinition |
ComponentDefinition.clone(LanguageDefinition langdef,
java.lang.String name)
Clones this definition and assigns with the specified language definition and name. |
ComponentDefinition |
ComponentDefinitionMap.get(java.lang.Class cls)
Returns the component definition of the specified class, or null if not found. |
ComponentDefinition |
ComponentDefinitionMap.get(java.lang.String name)
Returns the component definition of the specified name, or null if not not found. |
ComponentDefinition |
ComponentInfo.getComponentDefinition()
Returns the component definition, or null if it is PageDefinition. |
ComponentDefinition |
LanguageDefinition.getComponentDefinition(java.lang.Class klass)
Returns ComponentDefinition of the specified class. |
ComponentDefinition |
PageDefinition.getComponentDefinition(java.lang.Class cls,
boolean recurse)
Returns the component definition of the specified class, or null if not found. |
ComponentDefinition |
LanguageDefinition.getComponentDefinition(java.lang.String name)
Returns ComponentDefinition of the specified name. |
ComponentDefinition |
PageDefinition.getComponentDefinition(java.lang.String name,
boolean recurse)
Returns the component definition of the specified name, or null if not found. |
ComponentDefinition |
LanguageDefinition.getComponentDefinitionIfAny(java.lang.String name)
Returns ComponentDefinition of the specified name, or null
if not found. |
ComponentDefinition |
LanguageDefinition.getDynamicTagDefinition()
Returns the component definition of the dynamic tag, or null if this language doesn't support the dynamic tag. |
ComponentDefinition |
LanguageDefinition.getMacroDefinition(java.lang.String name,
java.lang.String macroURI,
boolean inline,
PageDefinition pgdef)
Instantiates and returns the component definition for the specified condition. |
ComponentDefinition |
LanguageDefinition.getNativeDefinition()
Returns the component definition for the native components. |
Methods in org.zkoss.zk.ui.metainfo that return types with arguments of type ComponentDefinition | |
---|---|
java.util.Collection<ComponentDefinition> |
LanguageDefinition.getComponentDefinitions()
Returns a readonly collection of all component definitions in this language. |
java.util.Collection<ComponentDefinition> |
ComponentDefinitionMap.getDefinitions()
Returns a readonly collection of component definitions ( ComponentDefinition ) defined in this map. |
Methods in org.zkoss.zk.ui.metainfo with parameters of type ComponentDefinition | |
---|---|
void |
ComponentDefinitionMap.add(ComponentDefinition compdef)
Adds a component definition to this map. |
void |
PageDefinition.addComponentDefinition(ComponentDefinition compdef)
Adds a component definition belonging to this page definition only. |
void |
LanguageDefinition.addComponentDefinition(ComponentDefinition compdef)
Adds a component definition. |
Constructors in org.zkoss.zk.ui.metainfo with parameters of type ComponentDefinition | |
---|---|
ComponentInfo(NodeInfo parent,
ComponentDefinition compdef,
java.lang.String tag)
Constructs the information about how to create component. |
|
NativeInfo(EvaluatorRef evlar,
ComponentDefinition compdef,
java.lang.String tag)
Constructs a native info without a parent. |
|
NativeInfo(NodeInfo parent,
ComponentDefinition compdef,
java.lang.String tag)
Constructs a native info with a parent. |
Uses of ComponentDefinition in org.zkoss.zk.ui.metainfo.impl |
---|
Classes in org.zkoss.zk.ui.metainfo.impl that implement ComponentDefinition | |
---|---|
class |
ComponentDefinitionImpl
An implementation of ComponentDefinition . |
class |
MacroDefinition
The macro component definition. |
Methods in org.zkoss.zk.ui.metainfo.impl that return ComponentDefinition | |
---|---|
ComponentDefinition |
ComponentDefinitionImpl.clone(LanguageDefinition langdef,
java.lang.String name)
|
static ComponentDefinition |
ComponentDefinitionImpl.newMacroDefinition(LanguageDefinition langdef,
PageDefinition pgdef,
java.lang.String name,
java.lang.Class<? extends Component> cls,
java.lang.String macroURI,
boolean inline)
Constructs a macro component definition. |
static ComponentDefinition |
ComponentDefinitionImpl.newNativeDefinition(LanguageDefinition langdef,
java.lang.String name,
java.lang.Class<? extends Component> cls)
Constructs a native component definition. |
Uses of ComponentDefinition in org.zkoss.zk.ui.sys |
---|
Fields in org.zkoss.zk.ui.sys declared as ComponentDefinition | |
---|---|
static ComponentDefinition |
ComponentsCtrl.DUMMY
Represents a dummy definition. |
Methods in org.zkoss.zk.ui.sys with parameters of type ComponentDefinition | |
---|---|
Component |
UiFactory.newComponent(Page page,
Component parent,
ComponentDefinition compdef,
java.lang.String clsnm)
Creates and initializes a component based on the specified ComponentDefinition . |
static void |
ComponentsCtrl.setCurrentInfo(ComponentDefinition compdef)
Sets the current component definition, which is used only by UiEngine to communicate with
AbstractComponent . |
void |
ComponentCtrl.setDefinition(ComponentDefinition compdef)
Sets the component definition. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |