Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.microedition.lcdui
Class Displayable  view Displayable download Displayable.java

java.lang.Object
  extended byjavax.microedition.lcdui.Displayable
Direct Known Subclasses:
Canvas, Screen

public abstract class Displayable
extends java.lang.Object


Field Summary
(package private)  java.util.Vector commands
           
(package private)  Display currentDisplay
           
(package private)  CommandListener listener
           
 
Constructor Summary
Displayable()
           
 
Method Summary
 void addCommand(Command cmd)
           
(package private)  CommandListener getCommandListener()
           
(package private)  java.util.Vector getCommands()
           
(package private)  void hideNotify()
           
(package private)  void hideNotify(Display d)
           
 boolean isShown()
           
(package private)  void keyPressed(int keyCode)
           
(package private)  void keyReleased(int keyCode)
           
(package private) abstract  void paint(Graphics g)
           
 void removeCommand(Command cmd)
           
(package private)  void repaint()
           
 void setCommandListener(CommandListener l)
           
(package private)  void showNotify()
           
(package private)  void showNotify(Display d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentDisplay

Display currentDisplay

commands

java.util.Vector commands

listener

CommandListener listener
Constructor Detail

Displayable

public Displayable()
Method Detail

addCommand

public void addCommand(Command cmd)

removeCommand

public void removeCommand(Command cmd)

isShown

public boolean isShown()

setCommandListener

public void setCommandListener(CommandListener l)

getCommandListener

CommandListener getCommandListener()

getCommands

java.util.Vector getCommands()

hideNotify

void hideNotify()

hideNotify

final void hideNotify(Display d)

keyPressed

void keyPressed(int keyCode)

keyReleased

void keyReleased(int keyCode)

paint

abstract void paint(Graphics g)

repaint

void repaint()

showNotify

void showNotify()

showNotify

final void showNotify(Display d)