|
||||||||||
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.ActivityElement
public class ActivityElement
ActivityElement.java
Draws an activity element in a list of activities (ActivityPanelElement). The element consists of a clock icon or time string, name of the activity and, if the activity has a description, an information icon. If the activity has extended information, pressing fire displays a description of the activity.
Field Summary |
---|
Fields inherited from class no.tellu.cdlc.gui.GuiElement |
---|
ANY, DECIMAL, EMAILADDR, NUMERIC, PASSWORD, PASSWORD_NUMERIC, PHONENUMBER, URL |
Constructor Summary | |
---|---|
ActivityElement()
Constructor ActivityElement |
Method Summary | |
---|---|
void |
elementLayoutManager()
Updates the layout of the extended information object |
boolean |
fire(int key)
Sets the extended information to be shown if it is not, hides it if it is already shown. |
boolean |
moveDown(int x)
Leaves the activity element and selects the element below. |
boolean |
moveUp(int x)
Leaves the activity element and selects the element above. |
void |
paint(javax.microedition.lcdui.Graphics g,
boolean selected)
Paints the activity element |
Methods inherited from class no.tellu.cdlc.gui.GroupElement |
---|
addtoGroup, addtoGroup, charPressed, clearButton, drawBackground, getCurrFieldNo, getCurrGuiElement, getGroup, getGroupElelemnt, getHorizontalSpace, getValue, getValue, getVerticalSpace, isAllElementsComplete, isInputValidated, moveLeft, moveRight, 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 ActivityElement()
Method 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 fire(int key)
fire
in class no.tellu.cdlc.gui.GroupElement
public boolean moveDown(int x)
moveDown
in class no.tellu.cdlc.gui.GroupElement
public boolean moveUp(int x)
moveUp
in class no.tellu.cdlc.gui.GroupElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |