net.codescore.ui.client.probtree
Class ProbTree

java.lang.Object
  extended by org.zkoss.zk.ui.AbstractComponent
      extended by org.zkoss.zk.ui.HtmlBasedComponent
          extended by org.zkoss.zul.impl.XulElement
              extended by org.zkoss.zul.Tree
                  extended by net.codescore.ui.client.probtree.ProbTree
All Implemented Interfaces:
Serializable, Cloneable, Component, ComponentCtrl

public class ProbTree
extends Tree

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zul.Tree
Tree.ExtraCtrl
 
Field Summary
private  Treechildren childern
           
private  List<ProbItem> pItems
           
private  Treecol probNameCol
           
private  Treecol probStatCol
           
private static long serialVersionUID
           
private  Treecols tCols
           
private  TeamHome th
           
 
Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent
RS_NO_DISPLAY, RS_NO_HEIGHT, RS_NO_WIDTH
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Constructor Summary
ProbTree(TeamHome h)
           
 
Method Summary
protected  void addProb(Problem p)
           
protected  void initProbs()
           
protected  void initTree()
           
 void onProblemAdd(Problem p)
           
 void onSelect(SelectEvent e)
           
 void refresh()
           
 
Methods inherited from class org.zkoss.zul.Tree
addItemToSelection, clear, clearSelection, clone, getAssociatedNode, getChildByNode, getHeads, getIconSclass, getInnerWidth, getItemCount, getItems, getModel, getName, getOuterAttrs, getPageSize, getRows, getSelectedCount, getSelectedItem, getSelectedItems, getSeltype, getTreechildren, getTreecols, getTreefoot, getTreeitemRenderer, insertBefore, isCheckmark, isFixedLayout, isMultiple, isVflex, newExtraCtrl, onChildAdded, onChildRemoved, removeItemFromSelection, renderItem, renderItem, renderItemByPath, renderItems, selectAll, selectItem, setActivePage, setCheckmark, setFixedLayout, setIconSclass, setInnerWidth, setModel, setMultiple, setName, setPageSize, setRows, setSelectedItem, setSeltype, setTreeitemRenderer, setVflex, smartUpdate, toggleItemSelection
 
Methods inherited from class org.zkoss.zul.impl.XulElement
getAction, getActionAttrs, getAllOnClickAttrs, getContext, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setContext, setPopup, setPopup, setTooltip, setTooltip
 
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent
focus, getAllOnClickAttrs, getDraggable, getDroppable, getHeight, getLeft, getRealSclass, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZIndex, setClass, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex
 
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendAsapAttr, appendChild, applyProperties, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getCommand, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getExtraCtrl, getFellow, getFellowIfAny, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, invalidate, isAsapRequired, isChildable, isInvalidated, isListenerAvailable, isVisible, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, smartUpdate, smartUpdate, smartUpdateDeferred, smartUpdateValues, toString, unsetVariable
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

childern

private Treechildren childern

pItems

private final List<ProbItem> pItems

probNameCol

private Treecol probNameCol

probStatCol

private Treecol probStatCol

tCols

private Treecols tCols

th

private final TeamHome th
Constructor Detail

ProbTree

public ProbTree(TeamHome h)
Method Detail

onProblemAdd

public void onProblemAdd(Problem p)

onSelect

public void onSelect(SelectEvent e)

refresh

public void refresh()

addProb

protected void addProb(Problem p)

initProbs

protected void initProbs()

initTree

protected void initTree()


Copyright 2008 © Adam Cornett, Andrew Conner All Rights Reserved.