kindergartenform
Class FormPageThree

java.lang.Object
  extended by no.tellu.cdlc.gui.GuiElement
      extended by no.tellu.cdlc.gui.GuiPanel
          extended by kindergartenform.FormPageThree
All Implemented Interfaces:
no.tellu.cdlc.gui.ElementListner

public class FormPageThree
extends no.tellu.cdlc.gui.GuiPanel

FormPageThree.java

Contains the content of the third page of the form.


Field Summary
 
Fields inherited from class no.tellu.cdlc.gui.GuiPanel
SELECTION_LIST
 
Fields inherited from class no.tellu.cdlc.gui.GuiElement
ANY, DECIMAL, EMAILADDR, NUMERIC, PASSWORD, PASSWORD_NUMERIC, PHONENUMBER, URL
 
Constructor Summary
FormPageThree(java.lang.String elementId, no.tellu.cdlc.gui.LayoutManager layoutMgr, java.util.Vector kindergartens, FormWindow fw)
          Constructor FormPageThree initialises the content to be shown.
 
Method Summary
 boolean isIconSelected()
          Checks if the user has chosen to see the daily routine with icons or numbers.
 void leavePanel()
          Removes the command 'See daily activities' when the user leaves the form page.
 void paint(javax.microedition.lcdui.Graphics g, boolean selected)
          Handles the commands to be shown on the menu line.
 
Methods inherited from class no.tellu.cdlc.gui.GuiPanel
add, add, add, backButton, charPressed, clearButton, clearFields, doLayout, elementLayoutManager, enterPanel, fadePanelBackground, findComponentAt, fire, getComponentAt, getCurrElementNo, getCurrGuiElement, getCurrGuiPanel, getCursorPosY, getElement, getElement, getElementCount, getGuiElements, getGuiElementsAsVector, getGuiListener, getGuiWindow, getLayoutMgr, getNcomponents, getScrollPaneIncrement, getValue, isAllElementsComplete, isInputValidated, moveDown, moveLeft, moveRight, moveToShow, moveUp, numberPressed, poundPressed, remove, remove, removeAllElements, replace, selectFirstSelectableField, selectNextSelectableField, selectPreviousSelectableField, setAllowScrollBars, setCurrElementNo, setCurrGuiElement, setCursorPosY, setFocused, setFont, setFont, setGuiListener, setHeight, setHideElement, setLayoutMgr, setPreferredHeight, setPreferredWidth, setScrollIncrement, setSelectedField, setWidth, starPressed
 
Methods inherited from class no.tellu.cdlc.gui.GuiElement
backPressed, callbackAction, changeFont, contains, countCharactersToWidth, countCharactersToWidth, drawBorder, drawBorder, drawString, drawString, getElementId, getFieldColour, getFieldType, getFont, getFontColour, getHeight, getHelpString, getInnerheight, getInnerWidth, getInsetBottom, getInsetLeft, getInsetRight, getInsetTop, getLabel, getLineColour, getMaxCharacters, getMaxHeight, getMaxWidth, getMinCharacters, getParent, getPreferredHeight, getPreferredWidth, getSoundFileName, getValue, getWidth, getWidtOfString, getWidtOfString, getX, getY, init, isBorderVisible, isEditable, isFocused, isHidden, isLayoutNeeded, isMaximumSizeSet, isPreferredHeightSizeSet, isPreferredSizeSet, isPreferredWidhtSizeSet, isSelectable, isVisible, paint, paint, replaceTabInString, setAutoLayout, setBorderVisible, setBounds, setDrawBackground, setEditable, setElementId, setElementListner, setElementPosition, setFieldType, setFrameSize, setGroupElement, setHelpString, setHidden, setInsetBottom, setInsetLeft, setInsetRight, setInsets, setInsetTop, setLabel, setLayoutNeeded, setLayoutNeeded, setMaxCharacters, setMaximumSize, setMinCharacters, setParent, setPreferredSize, setSelectable, setSize, setSoundFileName, setX, setY, truncate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormPageThree

public FormPageThree(java.lang.String elementId,
                     no.tellu.cdlc.gui.LayoutManager layoutMgr,
                     java.util.Vector kindergartens,
                     FormWindow fw)
Constructor FormPageThree initialises the content to be shown.

Parameters:
elementId - the ID of the object of this class
layoutMgr - the layout manager used in this form page
kindergartens - the kindergartens of the form
Method Detail

paint

public void paint(javax.microedition.lcdui.Graphics g,
                  boolean selected)
Handles the commands to be shown on the menu line.

Overrides:
paint in class no.tellu.cdlc.gui.GuiPanel

leavePanel

public void leavePanel()
Removes the command 'See daily activities' when the user leaves the form page.

Overrides:
leavePanel in class no.tellu.cdlc.gui.GuiPanel

isIconSelected

public boolean isIconSelected()
Checks if the user has chosen to see the daily routine with icons or numbers.

Returns:
true if the user chose icons, false if not