javax.microedition.lcdui
Class Item

java.lang.Object
  extended by javax.microedition.lcdui.Item
Direct Known Subclasses:
ChoiceGroup, Gauge, Spacer, StringItem, TextField

public abstract class Item
extends Object

Author:
Andre Nijholt

Constructor Summary
Item()
           
 
Method Summary
 void addCommand(Command cmd)
           
 String getLabel()
           
 int getMinimumHeight()
           
 int getMinimumWidth()
           
 boolean getPaintRequest()
           
 int getPreferredHeight()
           
 int getPreferredWidth()
           
 boolean isInteractive()
           
 void notifyStateChanged()
           
 void removeCommand(Command cmd)
           
 void setItemCommandListener(ItemCommandListener l)
           
 void setPreferredSize(int width, int height)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Item

public Item()
Method Detail

getLabel

public String getLabel()

getMinimumHeight

public int getMinimumHeight()

getMinimumWidth

public int getMinimumWidth()

getPreferredHeight

public int getPreferredHeight()

getPreferredWidth

public int getPreferredWidth()

setPreferredSize

public void setPreferredSize(int width,
                             int height)

isInteractive

public boolean isInteractive()

notifyStateChanged

public void notifyStateChanged()

addCommand

public void addCommand(Command cmd)

removeCommand

public void removeCommand(Command cmd)

setItemCommandListener

public void setItemCommandListener(ItemCommandListener l)

getPaintRequest

public boolean getPaintRequest()