net.codescore.ui.client.probtree
Class ProbItem

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.Treeitem
                  extended by net.codescore.ui.client.probtree.ProbItem
All Implemented Interfaces:
Serializable, Cloneable, Component, ComponentCtrl

public class ProbItem
extends Treeitem

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zul.Treeitem
Treeitem.ExtraCtrl
 
Field Summary
private  Team curTeam
           
private  Treecell nameCell
           
private  Problem prob
           
private  Treerow row
           
private static long serialVersionUID
           
private  List<SubItem> sItems
           
private  Treecell statusCell
           
private  Treechildren subChildern
           
private  TeamHome tHome
           
 
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
ProbItem(Problem p, TeamHome th)
           
 
Method Summary
private  void addSub(TeamSubmission s)
           
 void onClick()
           
 boolean pEquals(Problem p)
           
private  void setVals()
           
 
Methods inherited from class org.zkoss.zul.Treeitem
clone, getImage, getLabel, getLevel, getParentItem, getSrc, getTree, getTreechildren, getTreeitem, getTreerow, getValue, indexOf, insertBefore, invalidate, isAsapRequired, isCheckable, isContainer, isDisabled, isEmpty, isLoaded, isOpen, isSelected, newExtraCtrl, onChildRemoved, setAction, setCheckable, setDisabled, setDraggable, setDroppable, setImage, setLabel, setOpen, setParent, setSelected, setSrc, setValue, setVisible, smartUpdate, unload
 
Methods inherited from class org.zkoss.zul.impl.XulElement
getAction, getActionAttrs, getAllOnClickAttrs, getContext, getInnerAttrs, getOuterAttrs, getPopup, getTooltip, 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, 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, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setPageBefore, setVariable, 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

curTeam

private final Team curTeam

nameCell

private final Treecell nameCell

statusCell

private final Treecell statusCell

prob

private Problem prob

row

private final Treerow row

sItems

private final List<SubItem> sItems

subChildern

private final Treechildren subChildern

tHome

private final TeamHome tHome
Constructor Detail

ProbItem

public ProbItem(Problem p,
                TeamHome th)
Method Detail

onClick

public void onClick()

pEquals

public boolean pEquals(Problem p)

addSub

private void addSub(TeamSubmission s)

setVals

private void setVals()


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