DCT Lightfoot v3 API specification

javax.microedition.lcdui
Class Screen

java.lang.Object
  |
  +--javax.microedition.lcdui.Displayable
        |
        +--javax.microedition.lcdui.Screen
Direct Known Subclasses:
Alert, Form, List, TextBox

public abstract class Screen
extends Displayable

The screen is the superclass of all high level objects


Field Summary
protected  int height
          The height for those that scroll
protected  int offset
          The offset for those screens that can scroll
 
Fields inherited from class javax.microedition.lcdui.Displayable
display
 
Constructor Summary
protected Screen()
          Create a new screen
 
Method Summary
 Ticker getTicker()
          Get the ticker
 java.lang.String getTitle()
          Get the title
protected  boolean scrollDown()
          Scroll down by one screen
protected  boolean scrollUp()
          Scroll up by one screen
 void setTicker(Ticker ticker)
          Set the ticker
 void setTitle(java.lang.String title)
          Set the title
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, isShown, removeCommand, setCommandListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offset

protected int offset
The offset for those screens that can scroll


height

protected int height
The height for those that scroll

Constructor Detail

Screen

protected Screen()
Create a new screen

Method Detail

getTicker

public Ticker getTicker()
Get the ticker

Returns:
the ticker

getTitle

public java.lang.String getTitle()
Get the title

Returns:
the title

setTicker

public void setTicker(Ticker ticker)
Set the ticker

Parameters:
ticker - The ticker

setTitle

public void setTitle(java.lang.String title)
Set the title

Parameters:
title - The title

scrollUp

protected boolean scrollUp()
Scroll up by one screen

Returns:
true if it needs to be repainted

scrollDown

protected boolean scrollDown()
Scroll down by one screen

Returns:
true if it needs to be repainted

DCT Lightfoot v3 API specification

DCT Lightfoot v3 API specification