customitem
Class Table
java.lang.Object
javax.microedition.lcdui.Item
javax.microedition.lcdui.CustomItem
customitem.Table
- All Implemented Interfaces:
- javax.microedition.lcdui.ItemCommandListener
public class Table
- extends javax.microedition.lcdui.CustomItem
- implements javax.microedition.lcdui.ItemCommandListener
Field Summary |
(package private) boolean |
horz
|
(package private) boolean |
vert
|
Fields inherited from class javax.microedition.lcdui.CustomItem |
KEY_PRESS, KEY_RELEASE, KEY_REPEAT, NONE, POINTER_DRAG, POINTER_PRESS, POINTER_RELEASE, TRAVERSE_HORIZONTAL, TRAVERSE_VERTICAL |
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 |
Table(java.lang.String title,
javax.microedition.lcdui.Display d)
|
Methods inherited from class javax.microedition.lcdui.CustomItem |
getGameAction, getInteractionModes, hideNotify, invalidate, keyPressed, keyReleased, keyRepeated, pointerDragged, pointerPressed, pointerReleased, repaint, repaint, showNotify, sizeChanged, 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 |
horz
boolean horz
vert
boolean vert
Table
public Table(java.lang.String title,
javax.microedition.lcdui.Display d)
getMinContentHeight
protected int getMinContentHeight()
- Specified by:
getMinContentHeight
in class javax.microedition.lcdui.CustomItem
getMinContentWidth
protected int getMinContentWidth()
- Specified by:
getMinContentWidth
in class javax.microedition.lcdui.CustomItem
getPrefContentHeight
protected int getPrefContentHeight(int width)
- Specified by:
getPrefContentHeight
in class javax.microedition.lcdui.CustomItem
getPrefContentWidth
protected int getPrefContentWidth(int height)
- Specified by:
getPrefContentWidth
in class javax.microedition.lcdui.CustomItem
paint
protected void paint(javax.microedition.lcdui.Graphics g,
int w,
int h)
- Specified by:
paint
in class javax.microedition.lcdui.CustomItem
traverse
protected boolean traverse(int dir,
int viewportWidth,
int viewportHeight,
int[] visRect_inout)
- Overrides:
traverse
in class javax.microedition.lcdui.CustomItem
setText
public void setText(java.lang.String text)
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Item i)
- Specified by:
commandAction
in interface javax.microedition.lcdui.ItemCommandListener