DCT Lightfoot v3 API specification

javax.microedition.lcdui
Class StringItem

java.lang.Object
  |
  +--javax.microedition.lcdui.Item
        |
        +--javax.microedition.lcdui.StringItem

public class StringItem
extends Item

String items store strings in a form


Nested Class Summary
protected  class StringItem.Peer
          Peer class that does the drawing
 
Nested classes inherited from class javax.microedition.lcdui.Item
 
Field Summary
 
Fields inherited from class javax.microedition.lcdui.Item
form, highlighted, label, peer
 
Constructor Summary
StringItem(java.lang.String label, java.lang.String text)
          Create a new string item
 
Method Summary
 java.lang.String getText()
          Get the text
 void setText(java.lang.String text)
          Set the text
 
Methods inherited from class javax.microedition.lcdui.Item
getLabel, setLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringItem

public StringItem(java.lang.String label,
                  java.lang.String text)
Create a new string item

Parameters:
label - The label
text - The text
Method Detail

getText

public java.lang.String getText()
Get the text

Returns:
the text

setText

public void setText(java.lang.String text)
Set the text

Parameters:
text - The text to set

DCT Lightfoot v3 API specification

DCT Lightfoot v3 API specification