Index of all Fields and Methods
All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- action(Event, Object).
Method in class ccj.GraphicsApplet
-
- addSeconds(double).
Method in class ccj.Time
- Adds a number of seconds to this time object
- Circle(Point, double).
Constructor for class ccj.Circle
- Constructs a circle
- clearWindow().
Static method in class ccj.GraphicsApplet
- Clears the drawing window
- clone().
Method in class ccj.Circle
- Creates a copy of this object
- clone().
Method in class ccj.Employee
- Creates a copy of this object
- clone().
Method in class ccj.Line
- Creates a copy of this object
- clone().
Method in class ccj.Message
- Creates a copy of this object
- clone().
Method in class ccj.Time
- Creates a copy of this object
- close().
Method in class ccj.TextInputStream
- Closes the input stream
- close().
Method in class ccj.TextOutputStream
- Closes the stream
- compareDoubles(double, double).
Static method in class ccj.Numeric
- Compares two floating point numbers to see if they are approximately the same
- Console().
Constructor for class ccj.Console
-
- Employee(String, double).
Constructor for class ccj.Employee
- Constructs an employee object
- equals(Object).
Method in class ccj.Circle
- Tests if this object equals another
- equals(Object).
Method in class ccj.Employee
- Tests if this object equals another
- equals(Object).
Method in class ccj.Line
- Tests if this object equals another
- equals(Object).
Method in class ccj.Message
- Tests if this object equals another
- equals(Object).
Method in class ccj.Point
- Tests if this object equals another
- equals(Object).
Method in class ccj.Time
- Tests if this object equals another
- fail().
Method in class ccj.TextInputStream
- Tests if the output stream is no longer valid
- fail().
Method in class ccj.TextOutputStream
- Tests if the output stream is no longer valid
- getCenter().
Method in class ccj.Circle
- Gets the center of the circle
- getDay().
Method in class ccj.Time
- Gets the day of this time object
- getEnd().
Method in class ccj.Line
- Gets the ending point of the line
- getHours().
Method in class ccj.Time
- Gets the hours of this time object
- getMinutes().
Method in class ccj.Time
- Gets the minutes of this time object
- getMonth().
Method in class ccj.Time
- Gets the month of this time object
- getName().
Method in class ccj.Employee
- Gets the employee name
- getRadius().
Method in class ccj.Circle
- Gets the radius of the circle
- getSalary().
Method in class ccj.Employee
- Gets the employee salary
- getSeconds().
Method in class ccj.Time
- Gets the seconds of this time object
- getStart().
Method in class ccj.Line
- Gets the starting point of the line
- getStart().
Method in class ccj.Message
- Gets the top left corner of the message
- getText().
Method in class ccj.Message
- Gets the text of the message
- getX().
Method in class ccj.Point
- Gets the x coordinate of this point
- getY().
Method in class ccj.Point
- Gets the y coordinate of this point
- getYear().
Method in class ccj.Time
- Gets the year of this time object
- GraphicsApplet().
Constructor for class ccj.GraphicsApplet
- Constructs a graphics applet
- hashCode().
Method in class ccj.Circle
- Computes a hash code for this object
- hashCode().
Method in class ccj.Line
- Computes a has code for this object
- hashCode().
Method in class ccj.Message
- Computes a hash code for this object
- hashCode().
Method in class ccj.Point
- Computes a hash code for this object
- in.
Static variable in class ccj.Console
- The standard text input stream, like System.in, but with methods for reading numeric input
- init().
Method in class ccj.GraphicsApplet
-
- keyDown(Event, int).
Method in class ccj.GraphicsApplet
-
- Line(Point, Point).
Constructor for class ccj.Line
- Constructs a line object
- Message(Point, String).
Constructor for class ccj.Message
- Creates a new message object
- mouseDown(Event, int, int).
Method in class ccj.GraphicsApplet
-
- mouseMove(Event, int, int).
Method in class ccj.GraphicsApplet
-
- move(double, double).
Method in class ccj.Circle
- Moves this graphical shape
- move(double, double).
Method in class ccj.Line
- Moves this graphical shape
- move(double, double).
Method in class ccj.Message
- Moves this graphical shape
- move(double, double).
Method in class ccj.Point
- Moves this graphical shape
- Numeric().
Constructor for class ccj.Numeric
-
- out.
Static variable in class ccj.Console
- The standard text output stream, like System.out, but with methods for formatted output
- parseDouble(String).
Static method in class ccj.Numeric
- Converts a string to a floating point number.
- Point(double, double).
Constructor for class ccj.Point
- Creates a point object
- print(char).
Method in class ccj.TextOutputStream
- Prints a character to a stream
- print(double).
Method in class ccj.TextOutputStream
- Prints a double precision floating point number to a stream
- print(long).
Method in class ccj.TextOutputStream
- Prints a long integer to a stream
- print(Object).
Method in class ccj.TextOutputStream
- Prints an object to a stream.
- print(String).
Method in class ccj.TextOutputStream
- Prints a string to a stream
- printf(String, char).
Method in class ccj.TextOutputStream
- Prints a character to a stream, with formatting instructions
- printf(String, double).
Method in class ccj.TextOutputStream
- Prints a double precision floating point number to a stream, with formatting instructions
- printf(String, long).
Method in class ccj.TextOutputStream
- Prints a long integer to a stream, with formatting instructions
- printf(String, String).
Method in class ccj.TextOutputStream
- Prints a string to a stream, with formatting instructions
- println().
Method in class ccj.TextOutputStream
- Prints a newline
- println(char).
Method in class ccj.TextOutputStream
- Prints a character to a stream, followed by a newline
- println(double).
Method in class ccj.TextOutputStream
- Prints a double precision floating point number to a stream, followed by a newline
- println(long).
Method in class ccj.TextOutputStream
- Prints a long integer to a stream, followed by a newline
- println(Object).
Method in class ccj.TextOutputStream
- Prints an object to a stream, followed by a newline.
- println(String).
Method in class ccj.TextOutputStream
- Prints a string to a stream, followed by a newline
- randomDouble(double, double).
Static method in class ccj.Numeric
- Generates a random floating point number in a range.
- randomInt(int, int).
Static method in class ccj.Numeric
- Generates a random integer in a range.
- read().
Method in class ccj.TextInputStream
- Reads one character from the input stream.
- readChar().
Method in class ccj.TextInputStream
- Reads the next character from the stream.
- readDouble().
Method in class ccj.TextInputStream
- Reads a floating-point number from the stream.
- readDouble(String).
Static method in class ccj.GraphicsApplet
- Prompts user for a floating point input
- readInt().
Method in class ccj.TextInputStream
- Reads an integer (in decimal) from the stream.
- readInt(String).
Static method in class ccj.GraphicsApplet
- Prompts user for an integer input
- readLine().
Method in class ccj.TextInputStream
- Reads a line from the stream
- readMouse(String).
Method in class ccj.GraphicsApplet
- Prompts user for mouse input
- readString(String).
Static method in class ccj.GraphicsApplet
- Prompts user for a string input
- readWord().
Method in class ccj.TextInputStream
- Reads a word from the stream.
- round(double).
Static method in class ccj.Numeric
- Rounds a floating point number to the nearest integer
- run().
Method in class ccj.GraphicsApplet
- Define this method in your graphics applet class to draw graphics and get user input
- secondsFrom(Time).
Method in class ccj.Time
- Computes the number of seconds between two times
- setCoord(double, double, double, double).
Method in class ccj.GraphicsApplet
- Sets the coordinate system for drawing graphics
- setSalary(double).
Method in class ccj.Employee
- Sets the employee salary
- start().
Method in class ccj.GraphicsApplet
-
- stop().
Method in class ccj.GraphicsApplet
-
- TextInputStream(String).
Constructor for class ccj.TextInputStream
- Constructs a text input stream that reads its input from a file
- TextOutputStream(String).
Constructor for class ccj.TextOutputStream
- Constructs a text output stream that sends its output to a file
- Time().
Constructor for class ccj.Time
- Constructs a time object representing the current time
- Time(int, int, int, int, int, int).
Constructor for class ccj.Time
- Constructs a time object
- toString().
Method in class ccj.Circle
- Creates a string representation of this object
- toString().
Method in class ccj.Employee
- Creates a string representation of this object
- toString().
Method in class ccj.Line
- Creates a string representation of this object
- toString().
Method in class ccj.Message
- Creates a string representation of this object
- toString().
Method in class ccj.Point
- Creates a string representation of this object
- toString().
Method in class ccj.Time
- Creates a string representation of this object
- unread(int).
Method in class ccj.TextInputStream
- Returns one character to the input stream, to be read again
- write(int).
Method in class ccj.TextOutputStream
- Writes one byte to the stream