KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > microedition > lcdui > CustomItem

javax.microedition.lcdui
Class CustomItem

java.lang.Object
  |
  +--javax.microedition.lcdui.Item
        |
        +--javax.microedition.lcdui.CustomItem
See Also:
Font.getFont(int), Display.getColor(int), traverse, Display.setCurrentItem(Item), Display.setCurrent(Displayable), invalidate, paint, Item.getPreferredWidth, Item.getPreferredHeight, Item.getMinimumWidth, Item.getMinimumHeight, sizeChanged, getPrefContentWidth, getPrefContentHeight, getMinContentWidth, getMinContentHeight, Item.notifyStateChanged()

protected CustomItem(String label)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getGameAction(int keyCode)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final int getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract int getMinContentHeight()
See Also:
paint, sizeChanged
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract int getMinContentWidth()
See Also:
paint, sizeChanged
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract int getPrefContentHeight(int width)
See Also:
paint, sizeChanged
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract int getPrefContentWidth(int height)
See Also:
paint, sizeChanged
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void hideNotify()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final void invalidate()
See Also:
paint, traverse, sizeChanged, getPrefContentWidth, getPrefContentHeight, getMinContentWidth, getMinContentHeight
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void keyPressed(int keyCode)
See Also:
getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void keyReleased(int keyCode)
See Also:
getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void keyRepeated(int keyCode)
See Also:
getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int KEY_PRESS
See Also:
keyPressed(int), getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int KEY_RELEASE
See Also:
keyReleased(int), getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int KEY_REPEAT
See Also:
keyRepeated(int), getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int NONE
See Also:
traverse(int, int, int, int[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected abstract void paint(Graphics g,
                              int w,
                              int h)
See Also:
SOLID, Font.getDefaultFont()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void pointerDragged(int x,
                              int y)
See Also:
getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void pointerPressed(int x,
                              int y)
See Also:
getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void pointerReleased(int x,
                               int y)
See Also:
getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int POINTER_DRAG
See Also:
pointerDragged(int, int), getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int POINTER_PRESS
See Also:
pointerPressed(int, int), getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int POINTER_RELEASE
See Also:
pointerReleased(int, int), getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final void repaint()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final void repaint(int x,
                             int y,
                             int w,
                             int h)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void showNotify()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void sizeChanged(int w,
                           int h)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean traverse(int dir,
                           int viewportWidth,
                           int viewportHeight,
                           int[] visRect_inout)
See Also:
TRAVERSE_VERTICAL, TRAVERSE_HORIZONTAL, traverseOut(), getInteractionModes(), NONE, Canvas.RIGHT, Canvas.LEFT, Canvas.DOWN, Canvas.UP
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void traverseOut()
See Also:
TRAVERSE_VERTICAL, TRAVERSE_HORIZONTAL, traverse(int, int, int, int[]), getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int TRAVERSE_HORIZONTAL
See Also:
traverse(int, int, int, int[]), getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static final int TRAVERSE_VERTICAL
See Also:
traverse(int, int, int, int[]), getInteractionModes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags