Package org.exoplatform.webui.core
Class UITree
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UITree
Author : Nhu Dinh Thuan nhudinhthuan@exoplatform.com Jul 7, 2006
A component that represents a tree. Can contain a UIRightClickPopupMenu
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends UIComponent>
T<T> voidfindComponentOfType(List<T> list, Class<T> type) <T extends UIComponent>
TfindFirstComponentOfType(Class<T> type) Collection<?> booleangetFieldValue(Object bean, String field) getIcon()<T> T<T> TCollection<?> booleanisSelected(Object obj) renderNode(Object obj) voidrenderUIComponent(UIComponent uicomponent) voidsetBeanChildCountField(String beanChildCountField) voidsetBeanIconField(String beanIconField_) voidsetBeanIdField(String beanIdField_) voidsetBeanLabelField(String beanLabelField_) voidsetChildren(Collection<?> children) voidsetColapseIcon(String colapseIcon) voidsetCollapseIcon(String colapseIcon) voidsetEscapeHTML(boolean escape) voidsetExpandIcon(String expandIcon) voidvoidsetMaxTitleCharacter(Integer maxTitleCharacter_) voidsetParentSelected(Object parentSelected) voidsetSelected(Object selectedObject) voidsetSelectedIcon(String selectedIcon) voidsetSibbling(Collection<?> sibbling) voidsetUiPopupMenu(UIRightClickPopupMenu uiPopupMenu) voidsetUIRightClickPopupMenu(UIRightClickPopupMenu uiPopupMenu) Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
-
Constructor Details
-
UITree
public UITree()
-
-
Method Details
-
getFieldValue
- Throws:
Exception
-
setBeanIdField
-
setBeanIconField
-
setBeanLabelField
-
setBeanChildCountField
-
getId
- Throws:
Exception
-
getActionLink
- Throws:
Exception
-
isSelected
- Throws:
Exception
-
getColapseIcon
-
setCollapseIcon
-
getExpandIcon
-
setExpandIcon
-
getIcon
-
setIcon
-
getSelectedIcon
-
setSelectedIcon
-
getChildren
-
setChildren
-
getSelected
public <T> T getSelected() -
setSelected
-
getParentSelected
public <T> T getParentSelected() -
setParentSelected
-
getSibbling
-
setSibbling
-
getUIRightClickPopupMenu
-
setUIRightClickPopupMenu
-
setEscapeHTML
public void setEscapeHTML(boolean escape) -
getEscapeHTML
public boolean getEscapeHTML() -
event
- Overrides:
eventin classUIComponent- Throws:
Exception
-
renderNode
- Throws:
Exception
-
renderUIComponent
- Throws:
Exception
-
findComponentById
- Overrides:
findComponentByIdin classUIComponent
-
findFirstComponentOfType
- Overrides:
findFirstComponentOfTypein classUIComponent
-
findComponentOfType
- Overrides:
findComponentOfTypein classUIComponent
-
getBeanIdField
-
getBeanChildCountField
-
getBeanLabelField
-
getBeanIconField
-
setMaxTitleCharacter
-
getMaxTitleCharacter
-
getUiPopupMenu
-
setUiPopupMenu
-
setColapseIcon
-