|
|||||||||
| Home >> All >> javax >> microedition >> [ lcdui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.microedition.lcdui
Class ImageItem

java.lang.Objectjavax.microedition.lcdui.Item
javax.microedition.lcdui.ImageItem
- public class ImageItem
- extends Item
| Field Summary | |
(package private) java.lang.String |
altText
|
(package private) Image |
img
|
(package private) int |
layout
|
static int |
LAYOUT_CENTER
|
static int |
LAYOUT_DEFAULT
|
static int |
LAYOUT_LEFT
|
static int |
LAYOUT_NEWLINE_AFTER
|
static int |
LAYOUT_NEWLINE_BEFORE
|
static int |
LAYOUT_RIGHT
|
| Fields inherited from class javax.microedition.lcdui.Item |
labelComponent, OUTOFITEM, owner |
| Constructor Summary | |
ImageItem(java.lang.String label,
Image img,
int layout,
java.lang.String altText)
|
|
| Method Summary | |
java.lang.String |
getAltText()
|
(package private) int |
getHeight()
|
Image |
getImage()
|
int |
getLayout()
|
(package private) int |
paint(Graphics g)
|
void |
setAltText(java.lang.String text)
|
void |
setImage(Image img)
|
void |
setLabel(java.lang.String label)
|
void |
setLayout(int layout)
|
(package private) int |
traverse(int gameKeyCode,
int top,
int bottom,
boolean action)
|
| Methods inherited from class javax.microedition.lcdui.Item |
getLabel, getOwner, hasFocus, isFocusable, keyPressed, paintContent, repaint, select, setFocus, setOwner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
LAYOUT_DEFAULT
public static final int LAYOUT_DEFAULT
- See Also:
- Constant Field Values
LAYOUT_LEFT
public static final int LAYOUT_LEFT
- See Also:
- Constant Field Values
LAYOUT_RIGHT
public static final int LAYOUT_RIGHT
- See Also:
- Constant Field Values
LAYOUT_CENTER
public static final int LAYOUT_CENTER
- See Also:
- Constant Field Values
LAYOUT_NEWLINE_BEFORE
public static final int LAYOUT_NEWLINE_BEFORE
- See Also:
- Constant Field Values
LAYOUT_NEWLINE_AFTER
public static final int LAYOUT_NEWLINE_AFTER
- See Also:
- Constant Field Values
img
Image img
layout
int layout
altText
java.lang.String altText
| Constructor Detail |
ImageItem
public ImageItem(java.lang.String label, Image img, int layout, java.lang.String altText)
| Method Detail |
getAltText
public java.lang.String getAltText()
getImage
public Image getImage()
getLayout
public int getLayout()
setAltText
public void setAltText(java.lang.String text)
setImage
public void setImage(Image img)
setLabel
public void setLabel(java.lang.String label)
setLayout
public void setLayout(int layout)
getHeight
int getHeight()
paint
int paint(Graphics g)
traverse
int traverse(int gameKeyCode,
int top,
int bottom,
boolean action)
|
|||||||||
| Home >> All >> javax >> microedition >> [ lcdui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC