org.exoplatform.social.webui
Class UIFilterableTree

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UITree
          extended by org.exoplatform.social.webui.UIFilterableTree

public class UIFilterableTree
extends org.exoplatform.webui.core.UITree


Nested Class Summary
static interface UIFilterableTree.TreeNodeFilter
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UITree
org.exoplatform.webui.core.UITree.ChangeNodeActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIFilterableTree()
          Constructor.
 
Method Summary
 boolean displayThisNode(Object nodeObject, org.exoplatform.webui.application.WebuiRequestContext context)
           
 int getLeftMostDisplayedNodeIndex(List<Object> sibblings, org.exoplatform.webui.application.WebuiRequestContext context)
          Method returns index ( relative to unfiltered list of sibblings ) of most left displayed node.
 int getRightMostDisplayedNodeIndex(List<Object> sibblings, org.exoplatform.webui.application.WebuiRequestContext context)
          Returns index ( relative to unfiltered list of sibblings ) of most right displayed node.
 void setTreeNodeFilter(UIFilterableTree.TreeNodeFilter _nodeFilter)
           
 
Methods inherited from class org.exoplatform.webui.core.UITree
event, findComponentById, findComponentOfType, findFirstComponentOfType, getActionLink, getBeanChildCountField, getBeanIconField, getBeanIdField, getBeanLabelField, getChildren, getColapseIcon, getEscapeHTML, getExpandIcon, getFieldValue, getIcon, getId, getMaxTitleCharacter, getParentSelected, getSelected, getSelectedIcon, getSibbling, getUiPopupMenu, getUIRightClickPopupMenu, isSelected, renderNode, renderUIComponent, setBeanChildCountField, setBeanIconField, setBeanIdField, setBeanLabelField, setChildren, setColapseIcon, setCollapseIcon, setEscapeHTML, setExpandIcon, setIcon, setMaxTitleCharacter, setParentSelected, setSelected, setSelectedIcon, setSibbling, setUiPopupMenu, setUIRightClickPopupMenu
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIFilterableTree

public UIFilterableTree()
                 throws Exception
Constructor.

Throws:
Exception
Method Detail

displayThisNode

public boolean displayThisNode(Object nodeObject,
                               org.exoplatform.webui.application.WebuiRequestContext context)

getRightMostDisplayedNodeIndex

public int getRightMostDisplayedNodeIndex(List<Object> sibblings,
                                          org.exoplatform.webui.application.WebuiRequestContext context)
Returns index ( relative to unfiltered list of sibblings ) of most right displayed node. The index is needed for a fine UI

Parameters:
sibblings -
context -
Returns:

getLeftMostDisplayedNodeIndex

public int getLeftMostDisplayedNodeIndex(List<Object> sibblings,
                                         org.exoplatform.webui.application.WebuiRequestContext context)
Method returns index ( relative to unfiltered list of sibblings ) of most left displayed node.

Parameters:
sibblings -
context -
Returns:

setTreeNodeFilter

public void setTreeNodeFilter(UIFilterableTree.TreeNodeFilter _nodeFilter)


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.