com.sencha.gxt.widget.core.client.treegrid
Class TreeGridView<M>
java.lang.Object
com.sencha.gxt.widget.core.client.grid.GridView<M>
com.sencha.gxt.widget.core.client.treegrid.TreeGridView<M>
public class TreeGridView<M>
- extends GridView<M>
| Methods inherited from class com.sencha.gxt.widget.core.client.grid.GridView |
ensureVisible, findCell, findCellIndex, findRow, findRowIndex, focus, focusCell, focusRow, getAppearance, getAutoExpandColumn, getAutoExpandMax, getAutoExpandMin, getBody, getCell, getEditorParent, getEmptyText, getHeader, getRow, getRow, getRowBody, getRowBodyRowSpan, getScroller, getScrollState, getViewConfig, isAdjustForHScroll, isAutoFill, isColumnLines, isDeferUpdates, isEnableRowBody, isForceFit, isShowDirtyCells, isSortingEnabled, isStripeRows, isTrackMouseOver, layout, scrollToTop, setAdjustForHScroll, setAutoExpandColumn, setAutoExpandMax, setAutoExpandMin, setAutoFill, setColumnLines, setDeferUpdates, setEmptyText, setEnableRowBody, setForceFit, setRowBodyRowSpan, setShowDirtyCells, setSortingEnabled, setStripeRows, setTrackMouseOver, setViewConfig |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeGridView
public TreeGridView()
collapse
public void collapse(Tree.TreeNode<M> node)
expand
public void expand(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)
getTemplate
public SafeHtml getTemplate(M m,
java.lang.String id,
SafeHtml text,
ImageResource icon,
boolean checkable,
Tree.Joint joint,
int level)
getTextElement
public Element getTextElement(Tree.TreeNode<M> node)
isSelectableTarget
public boolean isSelectableTarget(Element target)
- Description copied from class:
GridView
- Returns true if the given element is selectable.
- Overrides:
isSelectableTarget in class GridView<M>
- Parameters:
target - the element to check
- Returns:
- true if the given element is selectable
onDropChange
public void onDropChange(Element e,
boolean drop)
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)
refresh
public void refresh(boolean headerToo)
- Description copied from class:
GridView
- Rebuilds the grid using its current configuration and data.
- Overrides:
refresh in class GridView<M>
- Parameters:
headerToo - true to refresh the header
Copyright © 2012. All Rights Reserved.