- setBackgroundColor(Color) - Method in class cs2.Widget
-
Sets the background color
- setForegroundColor(Color) - Method in class cs2.Widget
-
Sets the foreground color
- setInfoText(String) - Method in class cs2.Window
-
Sets the info label's text to be the info given.
- setSize(int, int) - Method in class cs2.Window
-
sets the window's size
- setText(String) - Method in class cs2.TextShape
-
setter for the text in the textshape
- setTitle(String) - Method in class cs2.Button
-
Sets the title for the button.
- setTitle(String) - Method in class cs2.Window
-
Setter for the window title.
- setX(int) - Method in class cs2.Widget
-
sets the Widget's location to be at its original y and the new x.
- setY(int) - Method in class cs2.Widget
-
sets the Widget's location to be at its original x and the new y.
- Shape - Class in cs2
-
Shape Class provides a definition for objects which can be displayed on a
Window
.
- Shape(int, int) - Constructor for class cs2.Shape
-
Builds a Shape at the indicated x and y indices, of default size 50 and
color orange.
- Shape(int, int, int) - Constructor for class cs2.Shape
-
Builds a shape of the specified size and indices, with default color
orange.
- Shape(int, int, int, int) - Constructor for class cs2.Shape
-
Builds a shape of the specified size and indices, with default color
orange.
- Shape(int, int, int, int, Color) - Constructor for class cs2.Shape
-
- Shape(int, int, int, Color) - Constructor for class cs2.Shape
-
Builds a shape of the specified size, color, and indicies.
- Shape(int, int, Color) - Constructor for class cs2.Shape
-
Builds a shape of the specified color and indices, with default size 50.
- showInfoPanel() - Method in class cs2.Window
-
Shows the InfoPanel
- SOUTH - cs2.WindowSide
-
- SquareShape - Class in cs2
-
SquareShape draws a Square on your Window for you.
- SquareShape(int, int) - Constructor for class cs2.SquareShape
-
Builds a SquareShape at the x and y indices.
- SquareShape(int, int, int) - Constructor for class cs2.SquareShape
-
Builds a SquareShape at the x and y indices.
- SquareShape(int, int, int, Color) - Constructor for class cs2.SquareShape
-
Builds a SquareShape using the given color, at the x and y indices, of
the size specified.
- SquareShape(int, int, Color) - Constructor for class cs2.SquareShape
-
Builds a SquareShape using the given color for the text color, at the x
and y indices.
- stopTimer() - Method in class cs2.Shape
-
Stops the timer on this shape, if it exists, and sets it to null.