A B C D E F G I L M P R S T Y

S

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.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.
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.
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.
Sound - Class in yops
The Sound class provides methods for playing audio clips with an .au file extension.
Sound() - Constructor for class yops.Sound
 
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).

A B C D E F G I L M P R S T Y