|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.lcdui.Displayable
javax.microedition.lcdui.Canvas
net.sourceforge.mewt.iform.IFormCanvas
public class IFormCanvas
The Class IFormCanvas.
Field Summary |
---|
Fields inherited from class javax.microedition.lcdui.Canvas |
---|
DOWN, FIRE, GAME_A, GAME_B, GAME_C, GAME_D, KEY_NUM0, KEY_NUM1, KEY_NUM2, KEY_NUM3, KEY_NUM4, KEY_NUM5, KEY_NUM6, KEY_NUM7, KEY_NUM8, KEY_NUM9, KEY_POUND, KEY_STAR, LEFT, RIGHT, UP |
Constructor Summary | |
---|---|
IFormCanvas()
Instantiates a new i form canvas. |
|
IFormCanvas(int rows,
int cols)
Instantiates a new i form canvas. |
Method Summary | |
---|---|
ImageButton |
addItem(ImageButton newItem)
Adds the item. |
TextButton |
addItem(java.lang.String label,
java.lang.String imageRes)
Adds the item. |
void |
addPopperListener(IFormListener pl)
Adds the popper listener. |
void |
dispose()
Dispose. |
int |
getBackground()
Gets the background. |
int |
getCols()
Gets the cols. |
int |
getForeground()
Gets the foreground. |
int |
getRows()
Gets the rows. |
ImageButton |
getSelected()
Gets the selected. |
int |
getSelectedIndex()
Gets the selected index. |
void |
removeAll()
Removes the all. |
void |
setBackground(int background)
Sets the background. |
void |
setCols(int cols)
Sets the cols. |
void |
setForeground(int foreground)
Sets the foreground. |
void |
setRows(int rows)
Sets the rows. |
void |
setSelectedIndex(int index)
Sets the selected index. |
Methods inherited from class javax.microedition.lcdui.Canvas |
---|
getGameAction, getKeyCode, getKeyName, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, isDoubleBuffered, repaint, repaint, serviceRepaints, setCommandListener, setFullScreenMode |
Methods inherited from class javax.microedition.lcdui.Displayable |
---|
addCommand, getHeight, getTicker, getTitle, getWidth, isShown, removeCommand, setTicker, setTitle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IFormCanvas()
public IFormCanvas(int rows, int cols)
rows
- the rowscols
- the colsMethod Detail |
---|
public void addPopperListener(IFormListener pl)
pl
- the plpublic TextButton addItem(java.lang.String label, java.lang.String imageRes)
label
- the labelimageRes
- the image res
public ImageButton addItem(ImageButton newItem)
newItem
- the new item
public int getSelectedIndex()
public ImageButton getSelected()
public void setSelectedIndex(int index)
index
- the new selected indexpublic void removeAll()
public void dispose()
public int getForeground()
public void setForeground(int foreground)
foreground
- the new foregroundpublic int getBackground()
public void setBackground(int background)
background
- the new backgroundpublic int getRows()
public void setRows(int rows)
rows
- the new rowspublic int getCols()
public void setCols(int cols)
cols
- the new cols
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |