javax.microedition.lcdui
Class CustomItem

java.lang.Object
  extended by javax.microedition.lcdui.Item
      extended by javax.microedition.lcdui.CustomItem

public abstract class CustomItem
extends Item


Field Summary
 
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
 
Constructor Summary
protected CustomItem(String label)
           
 
Method Summary
 int getGameAction(int keyCode)
           
protected  int getInteractionModes()
           
protected abstract  int getMinContentHeight()
           
protected abstract  int getMinContentWidth()
           
protected abstract  int getPrefContentHeight(int arg1)
           
protected abstract  int getPrefContentWidth(int arg1)
           
protected  void hideNotify()
           
protected  void invalidate()
           
protected  void keyPressed(int keyCode)
           
protected  void keyReleased(int keyCode)
           
protected  void keyRepeated(int keyCode)
           
protected abstract  void paint(Graphics arg1, int arg2, int arg3)
           
protected  void pointerDragged(int x, int y)
           
protected  void pointerPressed(int x, int y)
           
protected  void pointerReleased(int x, int y)
           
protected  void repaint()
           
protected  void repaint(int x, int y, int w, int h)
           
protected  void showNotify()
           
protected  void sizeChanged(int w, int h)
           
protected  boolean traverse(int dir, int viewportWidth, int viewportHeight, int[] visRect_inout)
           
protected  void traverseOut()
           
 
Methods inherited from class javax.microedition.lcdui.Item
addCommand, getLabel, getLayout, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, notifyStateChanged, removeCommand, setDefaultCommand, setItemCommandListener, setLabel, setLayout, setPreferredSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomItem

protected CustomItem(String label)
Method Detail

getGameAction

public int getGameAction(int keyCode)

getInteractionModes

protected int getInteractionModes()

getMinContentWidth

protected abstract int getMinContentWidth()

getMinContentHeight

protected abstract int getMinContentHeight()

getPrefContentWidth

protected abstract int getPrefContentWidth(int arg1)

getPrefContentHeight

protected abstract int getPrefContentHeight(int arg1)

sizeChanged

protected void sizeChanged(int w,
                           int h)

invalidate

protected void invalidate()

paint

protected abstract void paint(Graphics arg1,
                              int arg2,
                              int arg3)

repaint

protected void repaint()

repaint

protected void repaint(int x,
                       int y,
                       int w,
                       int h)

traverse

protected boolean traverse(int dir,
                           int viewportWidth,
                           int viewportHeight,
                           int[] visRect_inout)

traverseOut

protected void traverseOut()

keyPressed

protected void keyPressed(int keyCode)

keyReleased

protected void keyReleased(int keyCode)

keyRepeated

protected void keyRepeated(int keyCode)

pointerPressed

protected void pointerPressed(int x,
                              int y)

pointerReleased

protected void pointerReleased(int x,
                               int y)

pointerDragged

protected void pointerDragged(int x,
                              int y)

showNotify

protected void showNotify()

hideNotify

protected void hideNotify()


Copyright © 2006-2007 Jayway AB. All Rights Reserved.