gr.bluevibe.fire.components
Class ListElement
java.lang.Object
gr.bluevibe.fire.components.Component
gr.bluevibe.fire.components.ListElement
- public class ListElement
- extends Component
Methods inherited from class gr.bluevibe.fire.components.Component |
addCommand, clock, equals, fireValidateEvent, generateEvent, getHeight, getMinHeight, getMinWidth, getWidth, isAnimated, isSelected, isTraversable, keyEvent, pointerEvent, setCommandListener, setContainerCurrent, setCurrent, setHeight, setMinHeight, setMinWidth, setSelected, setWidth |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListElement
public ListElement()
ListElement
public ListElement(java.lang.String text,
java.lang.Object id,
boolean checked)
paint
public void paint(javax.microedition.lcdui.Graphics g)
- Description copied from class:
Component
- Paint is called by the container of the component to allow it to draw itself on Graphics g
The drawable area on g is (0,0,width,height).
- Overrides:
paint
in class Component
- Parameters:
g
- the area on witch the component will draw it self.
validate
public void validate()
- Description copied from class:
Component
- A validate event requests from the component to recalculate its internal properties suck as width/height etc.
- Overrides:
validate
in class Component
getId
public java.lang.Object getId()
setId
public void setId(java.lang.Object id)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
setFont
public void setFont(javax.microedition.lcdui.Font f)
isOnPointer
public boolean isOnPointer()
setOnPointer
public void setOnPointer(boolean onPointer)
isChecked
public boolean isChecked()
setChecked
public void setChecked(boolean checked)
getBgColor
public java.lang.Integer getBgColor()
setBgColor
public void setBgColor(java.lang.Integer bgColor)
getColor
public int getColor()
setColor
public void setColor(int color)
isFullSizeHighlight
public boolean isFullSizeHighlight()
setFullSizeHighlight
public void setFullSizeHighlight(boolean fullSizeHighlight)