A B C D E G H I K L M N O P R S T U V W X Y

A

add(RadioButton) - Method in class com.sun.kjava.RadioGroup
Add a RadioButton to the RadioGroup.
addRecord(byte[]) - Method in class com.sun.kjava.Database
Add a new record to the end of the database.
AND - Static variable in class com.sun.kjava.Graphics
Region copy mode: The copied region is AND'ed with the destination.
AND_NOT - Static variable in class com.sun.kjava.Graphics
Region copy mode: The copied region is AND'ed with the inverted destination region.
append(int) - Method in class com.sun.kjava.IntVector
Append an integer to the end, expanding the vector if necessary.
append(Object) - Method in class com.sun.kjava.List
Append an Object to the end, expanding the vector if necessary.

B

beamReceive(byte[]) - Method in class com.sun.kjava.Spotlet
This method is used for receiving packets of data via infrared from other Palm devices.
beamSend(byte[]) - Static method in class com.sun.kjava.Spotlet
This method is used for beaming data packets via infrared to another Palm device.
Bitmap - class com.sun.kjava.Bitmap.
An object of this class represents a black and white bitmap.
Bitmap(short[]) - Constructor for class com.sun.kjava.Bitmap
Constructor to create a bitmap.
Bitmap(short, byte[]) - Constructor for class com.sun.kjava.Bitmap
Constructor defines the bitmap.
blinking - Variable in class com.sun.kjava.Caret
 
borderType(int, int, int) - Static method in class com.sun.kjava.Graphics
Constructs a border type.
button - Variable in class com.sun.kjava.Dialog
 
Button - class com.sun.kjava.Button.
Button: a simple button user interface object.
Button(Bitmap, int, int) - Constructor for class com.sun.kjava.Button
Create a new Button object with graphical label.
Button(String, int, int) - Constructor for class com.sun.kjava.Button
Create a new Button object with a text label.
buttonAt(int) - Method in class com.sun.kjava.RadioGroup
Get the RadioButton at an index.

C

CALCICON - Static variable in class com.sun.kjava.Spotlet
Constant for the calculator icon.
capacity() - Method in class com.sun.kjava.List
/** What is the total capacity of this List?
capacity() - Method in class com.sun.kjava.IntVector
What is the total capacity of this IntVector?
Caret - class com.sun.kjava.Caret.
Class Caret implements a caret ("|") for use as a marker for the current insertion point in a TextField.
Caret(int, int, int) - Constructor for class com.sun.kjava.Caret
Create a Caret at a position, blinking at a given rate.
CheckBox - class com.sun.kjava.CheckBox.
A checkbox user interface object.
CheckBox() - Constructor for class com.sun.kjava.CheckBox
Create a new checkbox at an undefined position with no text label.
CheckBox(int, int, String) - Constructor for class com.sun.kjava.CheckBox
Create a new checkbox at a given position with a text label.
clearScreen() - Static method in class com.sun.kjava.Graphics
Clear the screen.
close() - Method in class com.sun.kjava.Database
Close the current database.
com.sun.kjava - package com.sun.kjava
The test GUI classes for KVM.
contains(int, int) - Method in class com.sun.kjava.ScrollTextBox
Is this point inside the bounds of the object?
contains(int, int) - Method in class com.sun.kjava.VerticalScrollBar
Does the scroll bar contain the point in question?
contains(int, int) - Method in class com.sun.kjava.Slider
Is this point within the Slider's bounds?
copyOffScreenRegion(int, int, int, int, int, int, int, int, int) - Static method in class com.sun.kjava.Graphics
Copy a rectangular region from one place to another, possibly in different windows.
copyRegion(int, int, int, int, int, int, int) - Static method in class com.sun.kjava.Graphics
Copy a rectangular region from one place to another.
create(int, String, int, int, boolean) - Static method in class com.sun.kjava.Database
Create a new database.

D

Database - class com.sun.kjava.Database.
This class serves as an interface to the PalmOS database manager.
Database(int, int, int) - Constructor for class com.sun.kjava.Database
Open a database.
deleteRecord(int) - Method in class com.sun.kjava.Database
Delete an existing record.
Dialog - class com.sun.kjava.Dialog.
A pop-up modal dialog that displays a title string, text box full of text, and a dismiss button.
Dialog(DialogOwner, String, String, String) - Constructor for class com.sun.kjava.Dialog
Create a new Dialog of a fixed size.
dialogDismissed(String) - Method in interface com.sun.kjava.DialogOwner
The Dialog with title title has been dismissed.
DialogOwner - interface com.sun.kjava.DialogOwner.
A simple interface to be used by anything wishing to display a modal dialog.
dismissDialog() - Method in class com.sun.kjava.Dialog
Dismiss the Dialog.
dispatch(int, DataInput) - Method in class com.sun.kjava.Spotlet
 
drawBitmap(int, int, Bitmap) - Static method in class com.sun.kjava.Graphics
Draw a bitmap.
drawBorder(int, int, int, int, int, int) - Static method in class com.sun.kjava.Graphics
Draw a rectangular border.
drawCaret(int) - Method in class com.sun.kjava.Caret
Draw the Caret at its current position.
drawLine(int, int, int, int, int) - Static method in class com.sun.kjava.Graphics
Draw a line.
drawMarker(int) - Method in class com.sun.kjava.Slider
Draw the Slider's marker.
drawRectangle(int, int, int, int, int, int) - Static method in class com.sun.kjava.Graphics
Draw a solid rectangle.
drawString(String, int, int) - Static method in class com.sun.kjava.Graphics
Draw a string at a given position.
drawString(String, int, int, int) - Static method in class com.sun.kjava.Graphics
Draw a string at a given position.

E

elementAt(int) - Method in class com.sun.kjava.List
What is the Object at a given index? N.B.
ENDOFDATABASE - Static variable in class com.sun.kjava.Database
End of database (last record indicator).
ensureCapacity(int) - Method in class com.sun.kjava.List
Ensure there's room for some number of entries by any means necessary.
ensureCapacity(int) - Method in class com.sun.kjava.IntVector
Ensure there's room for some number of entries by any means necessary.
ERASE - Static variable in class com.sun.kjava.Graphics
Erase mode.
eraseCaret() - Method in class com.sun.kjava.Caret
 

G

g - Variable in class com.sun.kjava.TextBox
 
g - Variable in class com.sun.kjava.Dialog
 
getFlashID() - Static method in class com.sun.kjava.Spotlet
This method is used to get the flashID of the Palm device.
getGraphics() - Static method in class com.sun.kjava.Graphics
There is only ever one Graphics object in the system, and this returns it.
getHeight(String) - Static method in class com.sun.kjava.Graphics
Returns the height of a string in pixels.
getNumberOfRecords() - Method in class com.sun.kjava.Database
Get the number of records in the database.
getNumLines() - Method in class com.sun.kjava.TextBox
How many lines of text does the TextBox currently hold?
getRecord(int) - Method in class com.sun.kjava.Database
Read a database record into a Java byte array object.
getRows() - Method in class com.sun.kjava.Bitmap
Return the number of rows in the bitmap.
getSelected() - Method in class com.sun.kjava.RadioGroup
Get the currently selected RadioButton.
getSelection(int, int) - Method in class com.sun.kjava.SelectScrollTextBox
 
getText() - Method in class com.sun.kjava.RadioButton
Get the label of the button.
getText() - Method in class com.sun.kjava.TextField
Gets the text entered into the textfield
getValue() - Method in class com.sun.kjava.ValueSelector
What's the current value?
getWidth() - Method in class com.sun.kjava.Bitmap
Return the width of the space in pixels used to display the bitmap.
getWidth(String) - Static method in class com.sun.kjava.Graphics
Returns the width of a string in pixels.
Graphics - class com.sun.kjava.Graphics.
This class contains various methods for drawing on a display.
GRAY - Static variable in class com.sun.kjava.Graphics
Gray drawing mode.

H

handleKeyDown(int) - Method in class com.sun.kjava.ScrollTextBox
The user pressed a key.
handleKeyDown(int) - Method in class com.sun.kjava.VerticalScrollBar
The user pressed a key.
handleKeyDown(int) - Method in class com.sun.kjava.TextField
Should be called by Spotlet.keyDown().
handlePenDown(int, int) - Method in class com.sun.kjava.ScrollTextBox
The pen has gone down at (x, y).
handlePenDown(int, int) - Method in class com.sun.kjava.CheckBox
The user selected the CheckBox; invert its state.
handlePenDown(int, int) - Method in class com.sun.kjava.RadioButton
The pen has gone down in the button.
handlePenDown(int, int) - Method in class com.sun.kjava.VerticalScrollBar
The pen went down somewhere.
handlePenDown(int, int) - Method in class com.sun.kjava.Slider
Deal with the fact that the pen went down.
handlePenMove(int, int) - Method in class com.sun.kjava.ScrollTextBox
The pen has moved at (x, y).
handlePenMove(int, int) - Method in class com.sun.kjava.VerticalScrollBar
Deal with the fact that the pen moved.
handlePenMove(int, int) - Method in class com.sun.kjava.Slider
Deal with the fact that the pen moved.
hasFocus() - Method in class com.sun.kjava.TextField
Returns whether or not the textfield has focus
hasSelection() - Method in class com.sun.kjava.RadioGroup
Is any one of the RadioButtons in the group selected?
haveScroll - Variable in class com.sun.kjava.Dialog
 
height - Variable in class com.sun.kjava.TextBox
 
heightM - Static variable in class com.sun.kjava.TextBox
 
HelpDisplay - class com.sun.kjava.HelpDisplay.
A simple, prepackaged "help" text user interface object.
HelpDisplay(String, String, int) - Constructor for class com.sun.kjava.HelpDisplay
Create a new HelpDisplay.

I

init() - Method in class com.sun.kjava.ScrollTextBox
Initialize the object.
init(int, int, int, int, int, int) - Method in class com.sun.kjava.VerticalScrollBar
Initialize the scroll bar.
IntVector - class com.sun.kjava.IntVector.
A simple expandable vector of integers, similar to java.util.Vector.
IntVector() - Constructor for class com.sun.kjava.IntVector
Create a new IntVector, and make it small to start.
IntVector(int) - Constructor for class com.sun.kjava.IntVector
Create a new IntVector.
INVERT - Static variable in class com.sun.kjava.Graphics
Invert mode.
isEnabled() - Method in class com.sun.kjava.Button
Is the Button enabled?
isOpen() - Method in class com.sun.kjava.Database
Check if the database is open.
isSelected() - Method in class com.sun.kjava.RadioButton
Is this RadioButton currently selected?

K

KEY_HARD1 - Static variable in class com.sun.kjava.Spotlet
Constants for the other Palm system "hard" keys.
KEY_HARD2 - Static variable in class com.sun.kjava.Spotlet
 
KEY_HARD3 - Static variable in class com.sun.kjava.Spotlet
 
KEY_HARD4 - Static variable in class com.sun.kjava.Spotlet
 
KEY_POWER - Static variable in class com.sun.kjava.Spotlet
 
keyDown(int) - Method in class com.sun.kjava.Spotlet
This method is invoked if the user presses either of the page up or page down hard keys, taps the calculator or menu icon, or enters a character (e.g.
keyDown(int) - Method in class com.sun.kjava.Dialog
If we have a ScrollTextBox, then allow scrolling.
keyDown(int) - Method in class com.sun.kjava.HelpDisplay
The user has pressed a key.
killCaret() - Method in class com.sun.kjava.TextField
Stops the caret thread.

L

LEADING - Static variable in class com.sun.kjava.SelectScrollTextBox
 
lineEnds - Variable in class com.sun.kjava.TextBox
 
lineStarts - Variable in class com.sun.kjava.TextBox
 
List - class com.sun.kjava.List.
A class representing a list of Objects.
List() - Constructor for class com.sun.kjava.List
Create a new List, and make it small to start.
List(int) - Constructor for class com.sun.kjava.List
Create a new List.
loseFocus() - Method in class com.sun.kjava.TextField
Stops the caret blinking.

M

MENUICON - Static variable in class com.sun.kjava.Spotlet
Constant for the menu icon.
minWidth - Static variable in class com.sun.kjava.Button
 

N

NO_EVENT_OPTIONS - Static variable in class com.sun.kjava.Spotlet
Constants for the eventOptions of register().
NOT - Static variable in class com.sun.kjava.Graphics
Region copy mode: The copied region is inverted and overwrites the destination.

O

OFFSCREEN_WINDOW - Static variable in class com.sun.kjava.Graphics
 
ONSCREEN_WINDOW - Static variable in class com.sun.kjava.Graphics
 
OR - Static variable in class com.sun.kjava.Graphics
Region copy mode: The copied region is OR'ed with the destination.
OVERWRITE - Static variable in class com.sun.kjava.Graphics
Region copy mode: The copied region overwrites the destination.
owner - Variable in class com.sun.kjava.Dialog
 

P

PAGEDOWN - Static variable in class com.sun.kjava.Spotlet
 
PAGEUP - Static variable in class com.sun.kjava.Spotlet
Constants for the page up/down "hard" keys.
paint() - Method in class com.sun.kjava.TextBox
Paint the TextBox on the screen.
paint() - Method in class com.sun.kjava.ScrollTextBox
Paint the ScrollTextBox.
paint() - Method in class com.sun.kjava.CheckBox
Paint the CheckBox.
paint() - Method in class com.sun.kjava.Button
Paint the Button on the global Graphics context.
paint() - Method in class com.sun.kjava.RadioButton
Paint the RadioButton on the screen.
paint() - Method in class com.sun.kjava.ValueSelector
Paint the ValueSelector.
paint() - Method in class com.sun.kjava.VerticalScrollBar
Paint the VerticalScrollBar.
paint() - Method in class com.sun.kjava.Dialog
Paint the Dialog.
paint() - Method in class com.sun.kjava.TextField
 
paint() - Method in class com.sun.kjava.Slider
Draw the Slider.
penDown(int, int) - Method in class com.sun.kjava.Spotlet
This method is invoked if the user places the pen on the display.
penDown(int, int) - Method in class com.sun.kjava.Dialog
If the user pressed the dismiss button, dismiss the Dialog.
penDown(int, int) - Method in class com.sun.kjava.HelpDisplay
The pen has gone down.
penMove(int, int) - Method in class com.sun.kjava.Spotlet
This method is invoked if the user moves the pen over the display.
penMove(int, int) - Method in class com.sun.kjava.Dialog
If we have a ScrollTextBox, then allow scrolling.
penMove(int, int) - Method in class com.sun.kjava.HelpDisplay
The pen moved.
penUp(int, int) - Method in class com.sun.kjava.Spotlet
This method is invoked if the user removes the pen from the display.
PLAIN - Static variable in class com.sun.kjava.Graphics
Plain drawing mode.
playSound(int) - Static method in class com.sun.kjava.Graphics
Play a system sound.
pressed(int, int) - Method in class com.sun.kjava.CheckBox
Did the user's "press" fall within the CheckBox?
pressed(int, int) - Method in class com.sun.kjava.Button
Was the button pressed? If the coordinates are within the Button, give the user some feedback.
pressed(int, int) - Method in class com.sun.kjava.RadioButton
Did the user press inside the RadioButton?
pressed(int, int) - Method in class com.sun.kjava.ValueSelector
If one of the Buttons was pressed, have it deal with it.
pressed(int, int) - Method in class com.sun.kjava.TextField
Returns whether or not the x,y position is inside the textfield

R

RadioButton - class com.sun.kjava.RadioButton.
A two-state button meant as part of a group, only one of which can be "on" at one time.
RadioButton() - Constructor for class com.sun.kjava.RadioButton
Create a new RadioButton.
RadioButton(int, int, String) - Constructor for class com.sun.kjava.RadioButton
Create a new RadioButton.
RadioGroup - class com.sun.kjava.RadioGroup.
An object representing a group of RadioButtons.
RadioGroup(int) - Constructor for class com.sun.kjava.RadioGroup
Create a new RadioGroup.
RAISED - Static variable in class com.sun.kjava.Graphics
Constant for a slightly raised border.
READONLY - Static variable in class com.sun.kjava.Database
Read-only mode.
readRecordToBuffer(int, int, int, byte[], int) - Method in class com.sun.kjava.Database
Read record to a pre-allocated buffer instead of allocating a new bytearray each time.
READWRITE - Static variable in class com.sun.kjava.Database
Read and write mode.
register(int) - Method in class com.sun.kjava.Spotlet
Register the event handlers of this object.
removeAllElements() - Method in class com.sun.kjava.List
Mark the vector as containing no Objects, and drop all references to the Objects previously contained.
removeAllElements() - Method in class com.sun.kjava.IntVector
Mark the vector as containing no integers.
resetDrawRegion() - Static method in class com.sun.kjava.Graphics
Reset the region in which drawing can be performed to be the whole screen.
run() - Method in class com.sun.kjava.Caret
Run: flash the Caret at the prescribed rate.

S

SCROLL_BAR_WIDTH - Static variable in class com.sun.kjava.VerticalScrollBar
 
ScrollOwner - interface com.sun.kjava.ScrollOwner.
Interface between something that scrolls and something that cares about that something that scrolls.
ScrollTextBox - class com.sun.kjava.ScrollTextBox.
A scrolling TextBox object.
ScrollTextBox() - Constructor for class com.sun.kjava.ScrollTextBox
 
ScrollTextBox(String, int, int, int, int) - Constructor for class com.sun.kjava.ScrollTextBox
Create a new ScrollTextBox object.
SelectScrollTextBox - class com.sun.kjava.SelectScrollTextBox.
 
SelectScrollTextBox(String, int, int, int, int) - Constructor for class com.sun.kjava.SelectScrollTextBox
 
setBounds(int, int, int, int) - Method in class com.sun.kjava.TextBox
Reset the display bounds of the TextBox.
setBounds(int, int, int, int) - Method in class com.sun.kjava.ScrollTextBox
Reset the display bounds of the ScrollTextBox.
setBounds(int, int, int, int, int, int) - Method in class com.sun.kjava.VerticalScrollBar
Set the scroll bar's bounds.
setDrawRegion(int, int, int, int) - Static method in class com.sun.kjava.Graphics
Set the region in which drawing can be performed.
setElementAt(Object, int) - Method in class com.sun.kjava.List
Set the indexed element to an Object.
setEnabled(boolean) - Method in class com.sun.kjava.Button
Set whether the Button allows input (is "enabled").
setFocus() - Method in class com.sun.kjava.TextField
Give the textfield "focus".
setLocation(int, int) - Method in class com.sun.kjava.CheckBox
Set the CheckBox's position.
setLocation(int, int) - Method in class com.sun.kjava.RadioButton
Set the position of the RadioButton.
setLocation(int, int) - Method in class com.sun.kjava.Slider
Set the position of the Slider.
setPalmEventOptions(int) - Static method in class com.sun.kjava.Spotlet
 
setParent(RadioGroup) - Method in class com.sun.kjava.RadioButton
Set the parent RadioGroup of this button.
setPosition(int, int) - Method in class com.sun.kjava.Caret
Set the Caret's position.
setRecord(int, byte[]) - Method in class com.sun.kjava.Database
Set the contents of a PalmOS database record.
setScrollValue(int) - Method in class com.sun.kjava.ScrollTextBox
Set the current scroll value and repaint.
setScrollValue(int) - Method in interface com.sun.kjava.ScrollOwner
Tell our owner where we've scrolled to.
setSelected(RadioButton) - Method in class com.sun.kjava.RadioGroup
Set the currently-selected RadioButton.
setSizeRange(int, int, int, int) - Method in class com.sun.kjava.Slider
Reset the width, limits, and value of the Slider.
setState(boolean) - Method in class com.sun.kjava.CheckBox
Set the state and redraw to reflect it.
setState(boolean) - Method in class com.sun.kjava.RadioButton
Set the state of the button.
setText(String) - Method in class com.sun.kjava.TextBox
Set the text.
setText(String) - Method in class com.sun.kjava.ScrollTextBox
Set the text.
setText(String) - Method in class com.sun.kjava.SelectScrollTextBox
 
setText(String) - Method in class com.sun.kjava.CheckBox
Set the CheckBox's label.
setText(String) - Method in class com.sun.kjava.Button
Set the Button's text label.
setText(String) - Method in class com.sun.kjava.RadioButton
Set the label of the button.
setText(String) - Method in class com.sun.kjava.TextField
Sets the text in the textfield.
setUpperCase(boolean) - Method in class com.sun.kjava.TextField
Set whether or not the textfield should convert everything to upper case
setValue(int) - Method in class com.sun.kjava.ValueSelector
Set the current value.
showDialog() - Method in class com.sun.kjava.Dialog
Show the Dialog: register it and paint it.
SIMPLE - Static variable in class com.sun.kjava.Graphics
Constant for a plain rectangle border.
size() - Method in class com.sun.kjava.RadioGroup
How many RadioButtons in this group?
size() - Method in class com.sun.kjava.List
What is the size of this List?
size() - Method in class com.sun.kjava.IntVector
What is the size of this IntVector?
Slider - class com.sun.kjava.Slider.
Slider: A graphical valuator object.
Slider() - Constructor for class com.sun.kjava.Slider
Create a new Slider object.
Slider(int, int, int, int, int, int) - Constructor for class com.sun.kjava.Slider
Create a Slider object.
SOUND_ALARM - Static variable in class com.sun.kjava.Graphics
System sound for the alarm.
SOUND_CLICK - Static variable in class com.sun.kjava.Graphics
System sound for a click.
SOUND_CONFIRMATION - Static variable in class com.sun.kjava.Graphics
System sound for confirmation.
SOUND_ERROR - Static variable in class com.sun.kjava.Graphics
System sound for error.
SOUND_INFO - Static variable in class com.sun.kjava.Graphics
System sound for info.
SOUND_STARTUP - Static variable in class com.sun.kjava.Graphics
System sound for startup.
SOUND_WARNING - Static variable in class com.sun.kjava.Graphics
System sound for warning.
Spotlet - class com.sun.kjava.Spotlet.
This class provides callbacks for event handling.
Spotlet() - Constructor for class com.sun.kjava.Spotlet
 
stop - Variable in class com.sun.kjava.Caret
 

T

tb - Variable in class com.sun.kjava.Dialog
 
text - Variable in class com.sun.kjava.TextBox
 
text - Variable in class com.sun.kjava.Dialog
 
TextBox - class com.sun.kjava.TextBox.
A box displaying text on the screen.
TextBox() - Constructor for class com.sun.kjava.TextBox
Create a new TextBox object.
TextBox(String, int, int, int, int) - Constructor for class com.sun.kjava.TextBox
Create a new TextBox object.
TextField - class com.sun.kjava.TextField.
This class provides a simple TextField.
TextField(String, int, int, int, int) - Constructor for class com.sun.kjava.TextField
Create a new TextField
title - Variable in class com.sun.kjava.Dialog
 

U

unknownEvent(int, DataInput) - Method in class com.sun.kjava.Spotlet
Catchall routine
unregister() - Method in class com.sun.kjava.Spotlet
Unregister the event handlers of this object.

V

valueAt(int) - Method in class com.sun.kjava.IntVector
What is the value at a given index? N.B.
ValueSelector - class com.sun.kjava.ValueSelector.
An object that presents a user interface for integer value selection.
ValueSelector(String, int, int, int, int, int) - Constructor for class com.sun.kjava.ValueSelector
Create a new ValueSelector.
VerticalScrollBar - class com.sun.kjava.VerticalScrollBar.
A vertical scroll bar user interface object.
VerticalScrollBar(ScrollOwner) - Constructor for class com.sun.kjava.VerticalScrollBar
Create a new VerticalScrollBar and associate it with an owner.
VerticalScrollBar(ScrollOwner, int, int, int, int, int, int) - Constructor for class com.sun.kjava.VerticalScrollBar
Create a new VerticalScrollBar and associate it with an owner.

W

WANT_SYSTEM_KEYS - Static variable in class com.sun.kjava.Spotlet
 
width - Variable in class com.sun.kjava.TextBox
 
widthM - Static variable in class com.sun.kjava.TextBox
 
WRITEONLY - Static variable in class com.sun.kjava.Database
Write-only mode.
writeRecordFromBuffer(int, int, int, byte[], int) - Method in class com.sun.kjava.Database
Set the contents of a database record.

X

XOR - Static variable in class com.sun.kjava.Graphics
Region copy mode: The copied region is XOR'ed with the destination.
xPos - Variable in class com.sun.kjava.TextBox
 

Y

yPos - Variable in class com.sun.kjava.TextBox
 

A B C D E G H I K L M N O P R S T U V W X Y