Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.microedition.lcdui
Class StringItem

    java.lang.Object
      javax.microedition.lcdui.Item
          javax.microedition.lcdui.StringItem

    public class StringItem

extends Item

Author:
  Andre Nijholt

Field Summary

Fields inherited from class javax.microedition.lcdui.Item
`cmdListener, commands, interactive, label, minHeight, minWidth, prefHeight, prefWidth`

Constructor Summary
`StringItem(String label, String text)`

Method Summary
`String` | `getText()`
`void` | `paint(Graphics g, int x, int y, int w, int h, boolean selected)`
`void` | `setText(String text)`

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
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait`

Constructor Detail

### StringItem

    public StringItem(String label,
                      String text)

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD