public interface ComponentManager
Modifier and Type | Method and Description |
---|---|
void |
addComponent(ComponentDefine component) |
void |
addComponents(ComponentDefines components) |
ComponentDefine |
getComponentDefine(String componentName) |
List<ComponentDefine> |
getComponentDefines() |
ComponentInterface |
getComponentInstance(String componentName)
根据组件名称获取组件实例
|
void |
removeComponent(ComponentDefine component) |
void |
removeComponents(ComponentDefines components) |
void addComponents(ComponentDefines components)
void addComponent(ComponentDefine component)
void removeComponents(ComponentDefines components)
void removeComponent(ComponentDefine component)
ComponentDefine getComponentDefine(String componentName)
List<ComponentDefine> getComponentDefines()
ComponentInterface getComponentInstance(String componentName) throws Exception
componentName
- Exception
Copyright © 2006–2018 TinyGroup. All rights reserved.