gr.bluevibe.fire.components
Class ListElement

java.lang.Object
  extended bygr.bluevibe.fire.components.Component
      extended bygr.bluevibe.fire.components.ListElement

public class ListElement
extends Component


Constructor Summary
ListElement()
           
ListElement(java.lang.String text, java.lang.Object id, boolean checked)
           
 
Method Summary
 java.lang.Integer getBgColor()
           
 int getColor()
           
 java.lang.Object getId()
           
 java.lang.String getText()
           
 boolean isChecked()
           
 boolean isFullSizeHighlight()
           
 boolean isOnPointer()
           
 void paint(javax.microedition.lcdui.Graphics g)
          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).
 void setBgColor(java.lang.Integer bgColor)
           
 void setChecked(boolean checked)
           
 void setColor(int color)
           
 void setFont(javax.microedition.lcdui.Font f)
           
 void setFullSizeHighlight(boolean fullSizeHighlight)
           
 void setId(java.lang.Object id)
           
 void setOnPointer(boolean onPointer)
           
 void setText(java.lang.String text)
           
 void validate()
          A validate event requests from the component to recalculate its internal properties suck as width/height etc.
 
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
 

Constructor Detail

ListElement

public ListElement()

ListElement

public ListElement(java.lang.String text,
                   java.lang.Object id,
                   boolean checked)
Method Detail

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)