com.sencha.gxt.widget.core.client.tree
Class TreeView<M>

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.tree.TreeView<M>

public class TreeView<M>
extends java.lang.Object


Nested Class Summary
static class TreeView.TreeViewRenderMode
           
 
Constructor Summary
TreeView()
           
 
Method Summary
 void bind(Component component, Store<M> store)
           
 void collapse(Tree.TreeNode<M> node)
           
 void expand(Tree.TreeNode<M> node)
           
 int getCacheSize()
          Returns the cache size.
 Element getCheckElement(Tree.TreeNode<M> node)
           
 int getCleanDelay()
           
 Element getContainer(Tree.TreeNode<M> node)
           
 XElement getElementContainer(Tree.TreeNode<M> node)
           
 Element getIconElement(Tree.TreeNode<M> node)
           
 Element getJointElement(Tree.TreeNode<M> node)
           
 int getScrollDelay()
           
 SafeHtml getTemplate(M m, java.lang.String id, SafeHtml text, ImageResource icon, boolean checkable, Tree.CheckState checked, Tree.Joint joint, int level, TreeView.TreeViewRenderMode renderMode)
           
 Element getTextElement(Tree.TreeNode<M> node)
           
 boolean isSelectableTarget(M m, Element target)
           
 void onCheckChange(Tree.TreeNode<M> node, boolean checkable, Tree.CheckState state)
           
 void onDropChange(Tree.TreeNode<M> node, boolean drop)
           
 void onEvent(Event ce)
           
 void onIconStyleChange(Tree.TreeNode<M> node, ImageResource icon)
           
 void onJointChange(Tree.TreeNode<M> node, Tree.Joint joint)
           
 void onLoading(Tree.TreeNode<M> node)
           
 void onOverChange(Tree.TreeNode<M> node, boolean over)
           
 void onSelectChange(M model, boolean select)
           
 void onTextChange(Tree.TreeNode<M> node, SafeHtml text)
           
 void setCacheSize(int cacheSize)
           
 void setCleanDelay(int cleanDelay)
           
 void setScrollDelay(int scrollDelay)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeView

public TreeView()
Method Detail

bind

public void bind(Component component,
                 Store<M> store)

collapse

public void collapse(Tree.TreeNode<M> node)

expand

public void expand(Tree.TreeNode<M> node)

getCacheSize

public int getCacheSize()
Returns the cache size.

Returns:
the cache size

getCheckElement

public Element getCheckElement(Tree.TreeNode<M> node)

getCleanDelay

public int getCleanDelay()

getContainer

public Element getContainer(Tree.TreeNode<M> node)

getElementContainer

public XElement getElementContainer(Tree.TreeNode<M> node)

getIconElement

public Element getIconElement(Tree.TreeNode<M> node)

getJointElement

public Element getJointElement(Tree.TreeNode<M> node)

getScrollDelay

public int getScrollDelay()

getTemplate

public SafeHtml getTemplate(M m,
                            java.lang.String id,
                            SafeHtml text,
                            ImageResource icon,
                            boolean checkable,
                            Tree.CheckState checked,
                            Tree.Joint joint,
                            int level,
                            TreeView.TreeViewRenderMode renderMode)

getTextElement

public Element getTextElement(Tree.TreeNode<M> node)

isSelectableTarget

public boolean isSelectableTarget(M m,
                                  Element target)

onCheckChange

public void onCheckChange(Tree.TreeNode<M> node,
                          boolean checkable,
                          Tree.CheckState state)

onDropChange

public void onDropChange(Tree.TreeNode<M> node,
                         boolean drop)

onEvent

public void onEvent(Event ce)

onIconStyleChange

public void onIconStyleChange(Tree.TreeNode<M> node,
                              ImageResource icon)

onJointChange

public void onJointChange(Tree.TreeNode<M> node,
                          Tree.Joint joint)

onLoading

public void onLoading(Tree.TreeNode<M> node)

onOverChange

public void onOverChange(Tree.TreeNode<M> node,
                         boolean over)

onSelectChange

public void onSelectChange(M model,
                           boolean select)

onTextChange

public void onTextChange(Tree.TreeNode<M> node,
                         SafeHtml text)

setCacheSize

public void setCacheSize(int cacheSize)

setCleanDelay

public void setCleanDelay(int cleanDelay)

setScrollDelay

public void setScrollDelay(int scrollDelay)


Copyright © 2012. All Rights Reserved.