net.codescore.ui.client
Class TeamHome

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.Window
                  extended by net.codescore.ui.components.windows.TopControlledWin<TeamController>
                      extended by net.codescore.ui.client.TeamHome
All Implemented Interfaces:
Serializable, Cloneable, ControlledWin<TeamController>, Component, IdSpace, ComponentCtrl

public class TeamHome
extends TopControlledWin<TeamController>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zul.Window
Window.ExtraCtrl
 
Field Summary
private  ClarificationWindow cw
           
private  Vbox leftVBox
           
private  Hbox mainBox
           
private  Window pHolder
           
private  ProblemListWin plw
           
private  DynamicScoreBoard sbh
           
private static long serialVersionUID
           
 
Fields inherited from class net.codescore.ui.components.windows.TopControlledWin
log
 
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
TeamHome(Team t, CompetitionManager cm)
           
 
Method Summary
 void cleanup()
          This method releases all the call-backs, stops the controller and sets the window parent null.
protected  void finalize()
           
 ProbTree getProbTree()
           
private  void initWindow()
           
 void onClari()
           
 void onScore()
           
 void procUpdate()
           
 void setPwin(Window w)
           
 String toString()
           
 
Methods inherited from class net.codescore.ui.components.windows.TopControlledWin
getController, getTopWin, onCreate, setController, startController
 
Methods inherited from class org.zkoss.zul.Window
clone, doEmbedded, doHighlighted, doModal, doOverlapped, doPopup, getBorder, getCaption, getContentSclass, getContentStyle, getCtrlKeys, getDefaultActionOnShow, getMode, getOuterAttrs, getPosition, getRealStyle, getSclass, getTitle, getTitleSclass, inEmbedded, inHighlighted, inModal, inOverlapped, inPopup, insertBefore, isClosable, isSizable, newExtraCtrl, onChildRemoved, onClose, onModal, setBorder, setClosable, setContentSclass, setContentStyle, setCtrlKeys, setDefaultActionOnShow, setDraggable, setMode, setMode, setPage, setParent, setPosition, setSclass, setSizable, setTitle, setVisible
 
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, getRealStyleFlags, getStyle, getTooltiptext, getTop, getWidth, getZIndex, setClass, setDroppable, setFocus, setHeight, setLeft, 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, onChildAdded, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPageBefore, setVariable, smartUpdate, smartUpdate, smartUpdate, smartUpdateDeferred, smartUpdateValues, unsetVariable
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.zkoss.zk.ui.IdSpace
getFellow, getFellowIfAny
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

cw

private ClarificationWindow cw

leftVBox

private Vbox leftVBox

mainBox

private Hbox mainBox

pHolder

private Window pHolder

plw

private ProblemListWin plw

sbh

private DynamicScoreBoard sbh
Constructor Detail

TeamHome

public TeamHome(Team t,
                CompetitionManager cm)
Method Detail

cleanup

public void cleanup()
This method releases all the call-backs, stops the controller and sets the window parent null. It is called by the Competition manager when a new TeamHome is allocated for the same team.


getProbTree

public ProbTree getProbTree()

onClari

public void onClari()

onScore

public void onScore()

procUpdate

public void procUpdate()

setPwin

public void setPwin(Window w)

toString

public String toString()
Overrides:
toString in class AbstractComponent

initWindow

private void initWindow()

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


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