Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
O
P
Q
R
S
T
U
V
W
Y
S
scale()
- Method in class lab4.
DemoVectorTest
scale(double)
- Method in class lab4.
Vector
setApplet(Applet)
- Static method in class yops.
YOPS
When YOPS is used within an Applet, this static method should be called before the first call to the YOPS constructor.
setCenter(int, int)
- Method in class yops.
Graphic
Sets the location of this Graphic so that its center is at the given pixel coordinates within its container.
setCenter(int, int)
- Method in class yops.
Line
setCenter(int, int)
- Method in class yops.
Shape
setCopyAsDisplayed(boolean)
- Method in class yops.
Image
When copyAsDisplayed is set to true, the current zoom and rotation are taken into account every time the image is copied.
setCorners(int, int, int, int)
- Method in class yops.
Line
Changes the endpoints of the line, as well as the bounding box of the graphic based on any two diagonally opposite corners.
setCorners(int, int, int, int)
- Method in class yops.
Shape
Sets bounding box of the Shape based on the coordinates of any two diagonally opposite corners.
setFillColor(Color)
- Method in class yops.
Graphic
Sets the color that will be used to fill the Graphic.
setFilled(boolean)
- Method in class yops.
Arc
setFilled(boolean)
- Method in class yops.
Graphic
Sets whether or not the graphic should be filled (painted in a solid color).
setFilled(boolean)
- Method in class yops.
Line
setFilled(boolean)
- Method in class yops.
Polygon
setFilled(boolean)
- Method in class yops.
Shape
setLineColor(Color)
- Method in class yops.
Graphic
Sets the color that will be used to paint the outline of the Graphic.
setPixel(int, int, Color)
- Method in class yops.
Image
Sets the the pixel with the given coordinates to the given color.
setPixel(int, int, int)
- Method in class yops.
Image
Sets the the pixel with the given coordinates to the given integer value.
setPixel(Point)
- Method in class yopsx.
VirtualImagePainter
Set a pixel to the default color.
setPixel(Point, Color)
- Method in class yopsx.
VirtualImagePainter
setRotation(double)
- Method in class yops.
Image
Rotates the image display about its center within its rectangular frame.
setSize(int, int)
- Method in class yops.
Line
setSize(int, int)
- Method in class yops.
Shape
Sets the width and height of the Shape, in pixels.
setText(String)
- Method in class yops.
Text
setTool(Object)
- Method in class yops.
YOPS
Sets the current tool of this YOPS to the provided object.
setTrajectory(Trackable)
- Method in class game.
MovingBody
Setter in case we want to change course midway through
setUpperLeft(int, int)
- Method in class yops.
Graphic
Sets the location of this Graphic so that its upper left corner is at the given pixel coordinates within its container.
setUpperLeft(int, int)
- Method in class yops.
Line
setUpperLeft(int, int)
- Method in class yops.
Shape
setZoom(double)
- Method in class yops.
Image
Scales the image display by the given percentage, keeping the center fixed within its rectangular frame.
Shape
- Class in
yops
A Shape is a geometric visual component.
showError(String)
- Static method in class yops.
Dialog
Shows an error message to the user.
showMessage(String)
- Static method in class yops.
Dialog
Shows the given message to the user.
SimpleBalloon
- Class in
game
SimpleBalloon(Controller, Trackable, Point)
- Constructor for class game.
SimpleBalloon
slowDown
- Static variable in class game.
Controller
Sound
- Class in
yops
The Sound class provides methods for playing audio clips with an .au file extension.
Sound()
- Constructor for class yops.
Sound
specialCases()
- Method in class lab4.
DemoVectorTest
start
- Variable in class game.
MovingBody
Stationary
- Class in
game
Stationary(Point)
- Constructor for class game.
Stationary
stop(String)
- Static method in class yops.
Sound
Stops playing the named audio clip, if it is currently playing.
swapPixels(int, int, int, int)
- Method in class yops.
Image
Swaps the color values of the two pixels with coordinates (x1,y1) and (x2,y2).
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
O
P
Q
R
S
T
U
V
W
Y