|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.microedition.lcdui.Displayable javax.microedition.lcdui.Canvas peaklau.eaglefund.BaseCanvas peaklau.eaglefund.TitleScreen peaklau.eaglefund.ScrollScreen
public class ScrollScreen
ScrollScreen class
This class can display text with vertical scroll bar.
The line numbers will show on the top title.
Field Summary |
---|
Fields inherited from class peaklau.eaglefund.TitleScreen |
---|
FONT_HEIGHT, height, Line_HIGHT, width |
Fields inherited from class peaklau.eaglefund.BaseCanvas |
---|
host, navigator |
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 | |
---|---|
ScrollScreen(java.lang.String title,
java.lang.String txt,
java.lang.String backDisplayable,
INavigator navigator)
|
Method Summary | |
---|---|
void |
hideNotify()
|
protected void |
keyPressed(int keyCode)
|
protected void |
paint(javax.microedition.lcdui.Graphics g)
|
void |
setTxt(java.lang.String txt)
|
void |
showNotify()
|
Methods inherited from class peaklau.eaglefund.TitleScreen |
---|
commandAction, setStatus, setTitle |
Methods inherited from class peaklau.eaglefund.BaseCanvas |
---|
execute, getCurrentTime, refresh, run |
Methods inherited from class javax.microedition.lcdui.Canvas |
---|
getGameAction, getHeight, getKeyCode, getKeyName, getWidth, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, isDoubleBuffered, keyReleased, keyRepeated, pointerDragged, pointerPressed, pointerReleased, repaint, repaint, serviceRepaints |
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 |
Methods inherited from interface javax.microedition.lcdui.CommandListener |
---|
commandAction |
Constructor Detail |
---|
public ScrollScreen(java.lang.String title, java.lang.String txt, java.lang.String backDisplayable, INavigator navigator)
title
- txt
- xxxx\r\nbackDisplayable
- navigator
- Method Detail |
---|
public void setTxt(java.lang.String txt)
public void showNotify()
showNotify
in class javax.microedition.lcdui.Canvas
public void hideNotify()
hideNotify
in class javax.microedition.lcdui.Canvas
protected void paint(javax.microedition.lcdui.Graphics g)
paint
in class TitleScreen
protected void keyPressed(int keyCode)
keyPressed
in class TitleScreen
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |