net.codescore.ui.admin.setup
Class FullSetup

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.admin.setup.FullSetup
All Implemented Interfaces:
Serializable, Cloneable, Component, IdSpace, ComponentCtrl

public class FullSetup
extends Window

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zul.Window
Window.ExtraCtrl
 
Field Summary
 CompetitionManager compMan
           
private  Grid optionsGrid
           
private  Rows rows
           
private static long serialVersionUID
           
 
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
FullSetup(CompetitionManager cm)
           
 
Method Summary
private  void addRow(Component a, Component b)
           
private  void addRow(String label, Component c)
           
private  void initAutoBoxes()
           
private  void initDateBoxes()
           
private  void initGrid()
           
private  void initMaxTimeBox()
           
private  void initNumGradersBox()
           
private  void initSaveButton()
           
private  void initSecurity()
           
private  void initTitleBox()
           
 void initWin()
           
 void onDiscard()
           
 void onSave()
           
 void updateEndDate(Date d)
           
 void updateEndTime(Date d)
           
 void updateStartDate(Date d)
           
 void updateStartTime(Date d)
           
 
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

compMan

public final CompetitionManager compMan

optionsGrid

private Grid optionsGrid

rows

private Rows rows
Constructor Detail

FullSetup

public FullSetup(CompetitionManager cm)
Method Detail

initWin

public void initWin()

onDiscard

public void onDiscard()

onSave

public void onSave()

updateEndDate

public void updateEndDate(Date d)

updateEndTime

public void updateEndTime(Date d)

updateStartDate

public void updateStartDate(Date d)

updateStartTime

public void updateStartTime(Date d)

addRow

private void addRow(Component a,
                    Component b)

addRow

private void addRow(String label,
                    Component c)

initAutoBoxes

private void initAutoBoxes()

initDateBoxes

private void initDateBoxes()

initGrid

private void initGrid()

initMaxTimeBox

private void initMaxTimeBox()

initNumGradersBox

private void initNumGradersBox()

initSaveButton

private void initSaveButton()

initSecurity

private void initSecurity()

initTitleBox

private void initTitleBox()


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