public class UIComponentManagerImpl extends Object implements UIComponentManager
UIComponentManager_BEAN, UIComponentManager_XSTREAM
Constructor and Description |
---|
UIComponentManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addUIComponents(UIComponents uiComponents)
添加界面组件
|
void |
compute()
计算组件的依赖关系
|
String[] |
getComponentCssArray(UIComponent component)
返回CssPath
|
String[] |
getComponentJsArray(UIComponent component)
返回JSPath
|
List<UIComponent> |
getHealthUiComponents()
返回所有的健康组件列表
|
UIComponent |
getUIComponent(String name)
根据名称返回界面组件
|
List<UIComponent> |
getUiComponents()
返回界面组件
|
boolean |
isHealth(String name)
是否健康,如果依赖的包都存在,则是健康的
|
void |
removeUIComponents(UIComponents uiComponents)
移除组件
|
void |
reset()
重置组件的依赖关系
|
public List<UIComponent> getUiComponents()
UIComponentManager
getUiComponents
in interface UIComponentManager
public List<UIComponent> getHealthUiComponents()
UIComponentManager
getHealthUiComponents
in interface UIComponentManager
public void addUIComponents(UIComponents uiComponents)
UIComponentManager
addUIComponents
in interface UIComponentManager
public boolean isHealth(String name)
UIComponentManager
isHealth
in interface UIComponentManager
public UIComponent getUIComponent(String name)
UIComponentManager
getUIComponent
in interface UIComponentManager
public String[] getComponentJsArray(UIComponent component)
UIComponentManager
getComponentJsArray
in interface UIComponentManager
component
- 返回JS类型public String[] getComponentCssArray(UIComponent component)
UIComponentManager
getComponentCssArray
in interface UIComponentManager
public void removeUIComponents(UIComponents uiComponents)
UIComponentManager
removeUIComponents
in interface UIComponentManager
public void compute()
UIComponentManager
compute
in interface UIComponentManager
public void reset()
UIComponentManager
reset
in interface UIComponentManager
Copyright © 2006–2018 TinyGroup. All rights reserved.