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 |
|
|
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 |
StringItem
public StringItem(java.lang.String label,
java.lang.String text)
- Create a new string item
- Parameters:
label - The labeltext - The text
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