Class UITree

java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UITree

public class UITree extends UIComponent
Author : Nhu Dinh Thuan nhudinhthuan@exoplatform.com Jul 7, 2006 A component that represents a tree. Can contain a UIRightClickPopupMenu
See Also:
  • Constructor Details

    • UITree

      public UITree()
  • Method Details

    • getFieldValue

      public Object getFieldValue(Object bean, String field) throws Exception
      Throws:
      Exception
    • setBeanIdField

      public void setBeanIdField(String beanIdField_)
    • setBeanIconField

      public void setBeanIconField(String beanIconField_)
    • setBeanLabelField

      public void setBeanLabelField(String beanLabelField_)
    • setBeanChildCountField

      public void setBeanChildCountField(String beanChildCountField)
    • getId

      public Object getId(Object object) throws Exception
      Throws:
      Exception
    • getActionLink

      public String getActionLink() throws Exception
      Throws:
      Exception
    • isSelected

      public boolean isSelected(Object obj) throws Exception
      Throws:
      Exception
    • getColapseIcon

      public String getColapseIcon()
    • setCollapseIcon

      public void setCollapseIcon(String colapseIcon)
    • getExpandIcon

      public String getExpandIcon()
    • setExpandIcon

      public void setExpandIcon(String expandIcon)
    • getIcon

      public String getIcon()
    • setIcon

      public void setIcon(String icon)
    • getSelectedIcon

      public String getSelectedIcon()
    • setSelectedIcon

      public void setSelectedIcon(String selectedIcon)
    • getChildren

      public Collection<?> getChildren()
    • setChildren

      public void setChildren(Collection<?> children)
    • getSelected

      public <T> T getSelected()
    • setSelected

      public void setSelected(Object selectedObject)
    • getParentSelected

      public <T> T getParentSelected()
    • setParentSelected

      public void setParentSelected(Object parentSelected)
    • getSibbling

      public Collection<?> getSibbling()
    • setSibbling

      public void setSibbling(Collection<?> sibbling)
    • getUIRightClickPopupMenu

      public UIRightClickPopupMenu getUIRightClickPopupMenu()
    • setUIRightClickPopupMenu

      public void setUIRightClickPopupMenu(UIRightClickPopupMenu uiPopupMenu)
    • setEscapeHTML

      public void setEscapeHTML(boolean escape)
    • getEscapeHTML

      public boolean getEscapeHTML()
    • event

      public String event(String name, String beanId) throws Exception
      Overrides:
      event in class UIComponent
      Throws:
      Exception
    • renderNode

      public String renderNode(Object obj) throws Exception
      Throws:
      Exception
    • renderUIComponent

      public void renderUIComponent(UIComponent uicomponent) throws Exception
      Throws:
      Exception
    • findComponentById

      public <T extends UIComponent> T findComponentById(String id)
      Overrides:
      findComponentById in class UIComponent
    • findFirstComponentOfType

      public <T extends UIComponent> T findFirstComponentOfType(Class<T> type)
      Overrides:
      findFirstComponentOfType in class UIComponent
    • findComponentOfType

      public <T> void findComponentOfType(List<T> list, Class<T> type)
      Overrides:
      findComponentOfType in class UIComponent
    • getBeanIdField

      public String getBeanIdField()
    • getBeanChildCountField

      public String getBeanChildCountField()
    • getBeanLabelField

      public String getBeanLabelField()
    • getBeanIconField

      public String getBeanIconField()
    • setMaxTitleCharacter

      public void setMaxTitleCharacter(Integer maxTitleCharacter_)
    • getMaxTitleCharacter

      public Integer getMaxTitleCharacter()
    • getUiPopupMenu

      public UIRightClickPopupMenu getUiPopupMenu()
    • setUiPopupMenu

      public void setUiPopupMenu(UIRightClickPopupMenu uiPopupMenu)
    • setColapseIcon

      public void setColapseIcon(String colapseIcon)