net.codescore.ui.client
Class TeamLoader

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.AppWindow
                      extended by net.codescore.ui.components.windows.ContextWindow
                          extended by net.codescore.ui.client.TeamLoader
All Implemented Interfaces:
Serializable, Cloneable, Component, IdSpace, ComponentCtrl

public class TeamLoader
extends ContextWindow

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zul.Window
Window.ExtraCtrl
 
Field Summary
private  Button clariButton
           
private  CompetitionManager cm
           
private  Hbox header
           
private  Listbox lb
           
private  org.apache.commons.logging.Log log
           
private  Button scoreButton
           
private static long serialVersionUID
           
private  Vbox statusWin
           
private  Team team
           
private  TeamHome tHome
           
private  Ticker ticker
           
 
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
TeamLoader()
           
 
Method Summary
private  Team _TESTING_HACK()
          This is a testing method and should be removed once the system is mature enough to not need boot-strapping.
 CompetitionManager getCompetition()
           
private  void initClariButton(Component parent)
           
private  void initHeader()
           
private  void initScoreButton(Component parent)
           
private  void initStatusBox(Component parent)
           
private  void initTeamHome()
           
private  void initTeamList()
           
 void onCreate()
           
 void onReBuild()
           
 void onReGrade()
           
 void onTeamChange()
           
 
Methods inherited from class net.codescore.ui.components.windows.ContextWindow
getObjectContext
 
Methods inherited from class net.codescore.ui.components.windows.AppWindow
getRequest, getSession, getUserName, userHasRole
 
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, toString, unsetVariable
 
Methods inherited from class java.lang.Object
finalize, 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

clariButton

private Button clariButton

scoreButton

private Button scoreButton

cm

private CompetitionManager cm

header

private Hbox header

lb

private Listbox lb

log

private org.apache.commons.logging.Log log

statusWin

private Vbox statusWin

team

private Team team

tHome

private TeamHome tHome

ticker

private Ticker ticker
Constructor Detail

TeamLoader

public TeamLoader()
Method Detail

getCompetition

public CompetitionManager getCompetition()

onReBuild

public void onReBuild()

onCreate

public void onCreate()

onReGrade

public void onReGrade()

onTeamChange

public void onTeamChange()

_TESTING_HACK

private Team _TESTING_HACK()
This is a testing method and should be removed once the system is mature enough to not need boot-strapping.

Returns:
The default team;

initClariButton

private void initClariButton(Component parent)

initHeader

private void initHeader()

initScoreButton

private void initScoreButton(Component parent)

initStatusBox

private void initStatusBox(Component parent)

initTeamHome

private void initTeamHome()

initTeamList

private void initTeamList()


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