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

Quick Search    Search Deep

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

java.lang.Object
  extended byjavax.microedition.lcdui.Displayable
      extended byjavax.microedition.lcdui.Screen
Direct Known Subclasses:
Alert, Form, List, TextBox

public abstract class Screen
extends Displayable


Field Summary
(package private)  Ticker ticker
           
(package private)  StringComponent title
           
(package private)  int viewPortHeight
           
(package private)  int viewPortY
           
 
Fields inherited from class javax.microedition.lcdui.Displayable
commands, currentDisplay, listener
 
Constructor Summary
(package private) Screen(java.lang.String title)
           
 
Method Summary
 Ticker getTicker()
           
 java.lang.String getTitle()
           
(package private)  void hideNotify()
           
(package private)  void keyPressed(int keyCode)
           
(package private)  void keyRepeated(int keyCode)
           
(package private)  void paint(Graphics g)
           
(package private) abstract  int paintContent(Graphics g)
           
(package private)  void repaint()
           
 void setTicker(Ticker ticker)
           
 void setTitle(java.lang.String s)
           
(package private)  void showNotify()
           
(package private) abstract  int traverse(int gameKeyCode, int top, int bottom)
           
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getCommandListener, getCommands, hideNotify, isShown, keyReleased, removeCommand, setCommandListener, showNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

StringComponent title

ticker

Ticker ticker

viewPortY

int viewPortY

viewPortHeight

int viewPortHeight
Constructor Detail

Screen

Screen(java.lang.String title)
Method Detail

getTicker

public Ticker getTicker()

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String s)

setTicker

public void setTicker(Ticker ticker)

traverse

abstract int traverse(int gameKeyCode,
                      int top,
                      int bottom)

keyPressed

void keyPressed(int keyCode)
Overrides:
keyPressed in class Displayable

hideNotify

void hideNotify()
Overrides:
hideNotify in class Displayable

keyRepeated

void keyRepeated(int keyCode)

paint

final void paint(Graphics g)
Specified by:
paint in class Displayable

paintContent

abstract int paintContent(Graphics g)

repaint

void repaint()
Overrides:
repaint in class Displayable

showNotify

void showNotify()
Overrides:
showNotify in class Displayable