javax.microedition.lcdui
Class StringItem
java.lang.Object
javax.microedition.lcdui.Item
javax.microedition.lcdui.StringItem
public class StringItem
- extends Item
Fields inherited from class javax.microedition.lcdui.Item |
BUTTON, HYPERLINK, LAYOUT_2, LAYOUT_BOTTOM, LAYOUT_CENTER, LAYOUT_DEFAULT, LAYOUT_EXPAND, LAYOUT_LEFT, LAYOUT_NEWLINE_AFTER, LAYOUT_NEWLINE_BEFORE, LAYOUT_RIGHT, LAYOUT_SHRINK, LAYOUT_TOP, LAYOUT_VCENTER, LAYOUT_VEXPAND, LAYOUT_VSHRINK, PLAIN |
Methods inherited from class javax.microedition.lcdui.Item |
addCommand, getLabel, getLayout, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, notifyStateChanged, removeCommand, setDefaultCommand, setItemCommandListener, setLabel, setLayout |
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)
StringItem
public StringItem(String label,
String text,
int appearanceMode)
getText
public String getText()
setText
public void setText(String text)
getAppearanceMode
public int getAppearanceMode()
setFont
public void setFont(Font font)
getFont
public Font getFont()
setPreferredSize
public void setPreferredSize(int width,
int height)
- Overrides:
setPreferredSize
in class Item
Copyright © 2006-2007 Jayway AB. All Rights Reserved.