javax.microedition.lcdui
Class Displayable
java.lang.Object
javax.microedition.lcdui.Displayable
- Direct Known Subclasses:
- Screen
public class Displayable
- extends Object
- Author:
- Andre Nijholt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_LEFT
public static final int KEY_LEFT
- See Also:
- Constant Field Values
KEY_ENTER
public static final int KEY_ENTER
- See Also:
- Constant Field Values
KEY_RIGHT
public static final int KEY_RIGHT
- See Also:
- Constant Field Values
KEY_BACK
public static final int KEY_BACK
- See Also:
- Constant Field Values
commands
protected ArrayList<Command> commands
cmdListener
protected CommandListener cmdListener
ticker
protected Ticker ticker
title
protected String title
height
protected int height
width
protected int width
shown
protected boolean shown
Displayable
public Displayable()
getHeight
public int getHeight()
setTicker
public void setTicker(Ticker ticker)
getTicker
public Ticker getTicker()
getTitle
public String getTitle()
getWidth
public int getWidth()
isShown
public boolean isShown()
addCommand
public void addCommand(Command cmd)
removeCommand
public void removeCommand(Command cmd)
setCommandListener
public void setCommandListener(CommandListener l)
callCommandListener
protected void callCommandListener()
setTicker
public void setTicker(int ticker)
setTitle
public void setTitle(String s)
sizeChanged
protected void sizeChanged(int w,
int h)
getPaintRequest
public boolean getPaintRequest()
clearPaintRequest
public void clearPaintRequest()
repaint
public void repaint()