kindergartenform
Class FormPageTwoMap

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

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

FormPageTwoMap.java

Contains the content of the second page of the form, presented in a map.


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
FormPageTwoMap(java.lang.String elementId, no.tellu.cdlc.gui.LayoutManager layoutMgr, java.util.Vector kindergartens, FormWindow fw)
          Constructor FormPageTwoMap initialises the content to be shown.
 
Method Summary
 POIElement getPOIElement()
           
 void leavePanel()
          Removes the commands for choosing and regretting choice of kindergarten 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

FormPageTwoMap

public FormPageTwoMap(java.lang.String elementId,
                      no.tellu.cdlc.gui.LayoutManager layoutMgr,
                      java.util.Vector kindergartens,
                      FormWindow fw)
Constructor FormPageTwoMap 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

getPOIElement

public POIElement getPOIElement()
Returns:
the POIElement in the form page

leavePanel

public void leavePanel()
Removes the commands for choosing and regretting choice of kindergarten when the user leaves the form page.

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