DCT Lightfoot v3 API specification

javax.microedition.lcdui
Class Item

java.lang.Object
  |
  +--javax.microedition.lcdui.Item
Direct Known Subclasses:
ChoiceGroup, DateField, Gauge, ImageItem, StringItem, TextField

public class Item
extends Object

Items are used to display things in forms


Nested Class Summary
protected  class Item.Peer
          The peer class
 
Field Summary
protected  Form form
          The form this item is on
protected  boolean highlighted
          This is set if we are highlighted
protected  javax.microedition.lcdui.TextLayout label
          The label to use for this item
protected  Item.Peer peer
          The peer we use
 
Constructor Summary
Item()
           
 
Method Summary
 java.lang.String getLabel()
          Get the label
 void setLabel(java.lang.String label)
          Set the label
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

peer

protected Item.Peer peer
The peer we use


label

protected javax.microedition.lcdui.TextLayout label
The label to use for this item


form

protected Form form
The form this item is on


highlighted

protected boolean highlighted
This is set if we are highlighted

Constructor Detail

Item

public Item()
Method Detail

getLabel

public java.lang.String getLabel()
Get the label

Returns:
the label

setLabel

public void setLabel(java.lang.String label)
Set the label

Parameters:
label - The label to set

DCT Lightfoot v3 API specification

DCT Lightfoot v3 API specification