javax.microedition.lcdui
Class StringItem
java.lang.Object
javax.microedition.lcdui.Item
javax.microedition.lcdui.StringItem
public class StringItem
- extends Item
- Author:
- Andre Nijholt
Methods inherited from class javax.microedition.lcdui.Item |
addCommand, getLabel, getMinimumHeight, getMinimumWidth, getPaintRequest, getPreferredHeight, getPreferredWidth, hideNotify, isInteractive, keyPressed, keyReleased, notifyStateChanged, removeCommand, repaint, setItemCommandListener, setPreferredSize, showNotify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringItem
public StringItem(String label,
String text)
getText
public String getText()
setText
public void setText(String text)
paint
public void paint(Graphics g,
int x,
int y,
int w,
int h,
boolean selected)
- Specified by:
paint
in class Item