Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.microedition.lcdui
Class Item  view Item download Item.java

java.lang.Object
  extended byjavax.microedition.lcdui.Item
Direct Known Subclasses:
ChoiceGroup, DateField, Gauge, ImageItem, ImageStringItem, StringItem, TextField

public abstract class Item
extends java.lang.Object


Field Summary
private  boolean focus
           
(package private)  StringComponent labelComponent
           
(package private) static int OUTOFITEM
           
(package private)  Screen owner
           
 
Constructor Summary
(package private) Item(java.lang.String label)
           
 
Method Summary
(package private)  int getHeight()
           
 java.lang.String getLabel()
           
(package private)  Screen getOwner()
           
(package private)  boolean hasFocus()
           
(package private)  boolean isFocusable()
           
(package private)  void keyPressed(int keyCode)
           
(package private) abstract  int paint(Graphics g)
           
(package private)  void paintContent(Graphics g)
           
(package private)  void repaint()
           
(package private)  boolean select()
           
(package private)  void setFocus(boolean state)
           
 void setLabel(java.lang.String label)
           
(package private)  void setOwner(Screen owner)
           
(package private)  int traverse(int gameKeyCode, int top, int bottom, boolean action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTOFITEM

static final int OUTOFITEM
See Also:
Constant Field Values

labelComponent

StringComponent labelComponent

owner

Screen owner

focus

private boolean focus
Constructor Detail

Item

Item(java.lang.String label)
Method Detail

getLabel

public java.lang.String getLabel()

setLabel

public void setLabel(java.lang.String label)

getHeight

int getHeight()

isFocusable

boolean isFocusable()

keyPressed

void keyPressed(int keyCode)

paint

abstract int paint(Graphics g)

paintContent

void paintContent(Graphics g)

repaint

void repaint()

hasFocus

boolean hasFocus()

setFocus

void setFocus(boolean state)

getOwner

Screen getOwner()

setOwner

void setOwner(Screen owner)

select

boolean select()

traverse

int traverse(int gameKeyCode,
             int top,
             int bottom,
             boolean action)