|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.tellu.cdlc.gui.GuiElement
no.tellu.cdlc.gui.GroupElement
kindergartenform.FormGroupElement
public class FormGroupElement
FormGroupElement.java
Created to support functionality that GroupElement doesn't. This functionality is moving left and right within a RadioButtonElement, drawing elements in a grid layout, and, if a GroupElement has several selectable GUI elements, only marking one of them as selected.
Field Summary |
---|
Fields inherited from class no.tellu.cdlc.gui.GuiElement |
---|
ANY, DECIMAL, EMAILADDR, NUMERIC, PASSWORD, PASSWORD_NUMERIC, PHONENUMBER, URL |
Constructor Summary | |
---|---|
FormGroupElement()
Constructor FormGroupElement |
|
FormGroupElement(java.lang.String elementId)
Constructor FormGroupElement |
Method Summary | |
---|---|
void |
elementLayoutManager()
Handles the layout of the FormGroupElement. |
boolean |
moveLeft(int x)
Allows moving left within a FormGroupElement. |
boolean |
moveRight(int x)
Allows moving right within a FormGroupElement. |
void |
paint(javax.microedition.lcdui.Graphics g,
boolean selected)
Paints the group element. |
Methods inherited from class no.tellu.cdlc.gui.GroupElement |
---|
addtoGroup, addtoGroup, charPressed, clearButton, drawBackground, fire, getCurrFieldNo, getCurrGuiElement, getGroup, getGroupElelemnt, getHorizontalSpace, getValue, getValue, getVerticalSpace, isAllElementsComplete, isInputValidated, moveDown, moveUp, numberPressed, poundPressed, removeFromGroup, selectNextSelectableField, selectPreviousSelectableField, setCurrentElement, setCurrFieldNo, setDrawBackgroud, setDrawFrame, setDrawRectangle, setFocused, setFont, setFont, setHorizontalSpace, setValue, setVerticalSpace, starPressed |
Methods inherited from class no.tellu.cdlc.gui.GuiElement |
---|
backPressed, callbackAction, changeFont, clearFields, contains, countCharactersToWidth, countCharactersToWidth, drawBorder, drawBorder, drawString, drawString, getComponentAt, getElement, getElementId, getFieldColour, getFieldType, getFont, getFontColour, getHeight, getHelpString, getInnerheight, getInnerWidth, getInsetBottom, getInsetLeft, getInsetRight, getInsetTop, getLabel, getLineColour, getMaxCharacters, getMaxHeight, getMaxWidth, getMinCharacters, getParent, getPreferredHeight, getPreferredWidth, getSoundFileName, getWidth, getWidtOfString, getWidtOfString, getX, getY, init, isBorderVisible, isEditable, isFocused, isHidden, isLayoutNeeded, isMaximumSizeSet, isPreferredHeightSizeSet, isPreferredSizeSet, isPreferredWidhtSizeSet, isSelectable, isVisible, moveToShow, paint, paint, remove, replaceTabInString, setAutoLayout, setBorderVisible, setBounds, setDrawBackground, setEditable, setElementId, setElementListner, setElementPosition, setFieldType, setFrameSize, setGroupElement, setHeight, setHelpString, setHidden, setInsetBottom, setInsetLeft, setInsetRight, setInsets, setInsetTop, setLabel, setLayoutNeeded, setLayoutNeeded, setMaxCharacters, setMaximumSize, setMinCharacters, setParent, setPreferredSize, setSelectable, setSize, setSoundFileName, setWidth, setX, setY, truncate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormGroupElement()
public FormGroupElement(java.lang.String elementId)
elementId
- the ID of the object of this classMethod Detail |
---|
public void elementLayoutManager()
elementLayoutManager
in class no.tellu.cdlc.gui.GroupElement
public void paint(javax.microedition.lcdui.Graphics g, boolean selected)
paint
in class no.tellu.cdlc.gui.GroupElement
public boolean moveLeft(int x)
moveLeft
in class no.tellu.cdlc.gui.GroupElement
public boolean moveRight(int x)
moveRight
in class no.tellu.cdlc.gui.GroupElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |