Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
E
G
P
R
S
T
U
E
equals(Object)
- Method in class
Pixel
Determine if this Pixel is equal to another Object.
G
getBlue()
- Method in class
Pixel
Returns the blue component of the Pixel.
getBufferedImage()
- Method in class
Picture
Returns the BufferedImage underlying the Picture.
getComponents()
- Method in class
Pixel
Returns the RGB components of this Pixel as a 3-place int array.
getGreen()
- Method in class
Pixel
Returns the green component of the Pixel.
getHeight()
- Method in class
Picture
Return the height of the Picture.
getPixel(int, int)
- Method in class
Picture
Return the Pixel stored at this location.
getRed()
- Method in class
Pixel
Returns the red component of the Pixel.
getWidth()
- Method in class
Picture
Return the width of the Picture.
P
Picture
- Class in
<Unnamed>
The Picture class stores a two-dimensional image.
Picture(int, int)
- Constructor for class
Picture
Create a Picture with the specified width and height.
Picture(String)
- Constructor for class
Picture
Create a Picture from a file.
Picture(Picture)
- Constructor for class
Picture
Create a Picture by copying the contents of another (non-null) Picture.
PictureFrame
- Class in
<Unnamed>
The PictureFrame is a JFrame which holds Pictures (see
Picture
) and allows for easy updating of the image on the screen.
PictureFrame(String, Picture)
- Constructor for class
PictureFrame
Creates a PictureFrame which holds a Picture.
Pixel
- Class in
<Unnamed>
The Pixel is the underlying data-structure in a
Picture
.
Pixel(int, int, int)
- Constructor for class
Pixel
Create a Pixel with the specified RGB values.
R
refresh(Picture)
- Method in class
PictureFrame
The refresh method changes the picture in the PictureFrame.
S
setBlue(int)
- Method in class
Pixel
Set the blue component of the Pixel.
setGreen(int)
- Method in class
Pixel
Set the green component of the Pixel.
setPixel(int, int, Pixel)
- Method in class
Picture
Set the location (x, y) to a new Pixel value.
setRed(int)
- Method in class
Pixel
Set the red component of the Pixel.
SimpleButton
- Class in
<Unnamed>
Creates a SimpleButton, a simple "push" button.
SimpleButton()
- Constructor for class
SimpleButton
Creates a SimpleButton with a default listener.
SimpleButton(String)
- Constructor for class
SimpleButton
Creates a SimpleButton with a default listener and a user-specified label.
SimpleButton(String, ActionListener)
- Constructor for class
SimpleButton
Creates a SimpleButton with a user-specified label and a user-specified listener.
SimpleButton(String, ActionListener, Color)
- Constructor for class
SimpleButton
Creates a SimpleButton with a user-specified label, listener and color.
SimpleButton(String, ActionListener, Color, Font)
- Constructor for class
SimpleButton
T
toString()
- Method in class
Pixel
Return the String representation of this Pixel as a triple (R, G, B).
U
updateImage()
- Method in class
Picture
Flush changes to the underlying image.
E
G
P
R
S
T
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes