|
Palm API Beta 2 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.kjava.Spotlet | +--com.sun.kjava.HelpDisplay
A simple, prepackaged "help" text user interface object.
Fields inherited from class com.sun.kjava.Spotlet |
CALCICON,
KEY_HARD1,
KEY_HARD2,
KEY_HARD3,
KEY_HARD4,
KEY_POWER,
MENUICON,
NO_EVENT_OPTIONS,
PAGEDOWN,
PAGEUP,
WANT_SYSTEM_KEYS |
Constructor Summary | |
HelpDisplay(java.lang.String hText,
java.lang.String className,
int eventOptions)
Create a new HelpDisplay. |
Method Summary | |
void |
keyDown(int keyCode)
The user has pressed a key. |
void |
penDown(int x,
int y)
The pen has gone down. |
void |
penMove(int x,
int y)
The pen moved. |
Methods inherited from class com.sun.kjava.Spotlet |
beamReceive,
beamSend,
dispatch,
getFlashID,
penUp,
register,
register0,
setPalmEventOptions,
unknownEvent,
unregister,
unregister0 |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public HelpDisplay(java.lang.String hText, java.lang.String className, int eventOptions)
hText
- the text that's going to help the userclassName
- the exact name of the class to create and runeventOptions
- the event options we're interested inMethod Detail |
public void penDown(int x, int y)
className
.x
- the x coordinate of the point at which the pen was placedy
- the y coordinate of the point at which the pen was placedpublic void penMove(int x, int y)
x
- the x coordinate of the destination point of the movey
- the y coordinate of the destination point of the movepublic void keyDown(int keyCode)
keyCode
- the code of the key the user entered
|
Submit a bug or feature The GUI classes provided with this release are NOT part of CLDC, and they will be removed in later releases of this software. Official GUI classes for Java 2 Micro Edition will be defined separately through the Java Community Process and included in J2ME profiles. Java is trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |