A B C D E F G I L M N O P R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- GCompound - Class in breadboards
-
Subclass of GObject suitable for displaying a collection of other GObjects, treated as a single entity
- GCompound() - Constructor for class breadboards.GCompound
-
constructs a new (empty) GCompound
- GDieImage - Class in breadboards
-
Subclass of GImage that displays as a die face showing a particular value
- GDieImage(int) - Constructor for class breadboards.GDieImage
-
Create a new die image, that displays the given value on its face, and is positioned at (0,0)
- GDieImage(int, double, double) - Constructor for class breadboards.GDieImage
-
Create a new die image, that displays the given value on its face, and is positioned at (x,y)
- GDimension - Class in breadboards
-
Class whose objects are dimensions of a GObject (i.e., its height and width)
- GDimension() - Constructor for class breadboards.GDimension
-
constructs a new GDimension with zero height and zero width
- GDimension(double, double) - Constructor for class breadboards.GDimension
-
constructs a new GDimension with the specified width and height
- getAlpha(int) - Static method in class breadboards.GImage
-
returns the level of transparency associated with an integer value representing a color with transparency
- getBlue(int) - Static method in class breadboards.GImage
-
returns the blue component associated with the specified integer value
- getBounds() - Method in class breadboards.GCompound
-
returns the bounding box for the union of all elements in this GCompound
- getBounds() - Method in class breadboards.GImage
-
returns the bounding rectangle for this GImage
- getBounds() - Method in class breadboards.GLabel
-
returns an empty bounding rectangle for this GLabel
- getBounds() - Method in class breadboards.GLine
-
returns the bounding rectangle of the GLine
- getBounds() - Method in class breadboards.GObject
-
required of subclasses to determine the bounding rectangle of the GObject in question
- getBounds() - Method in class breadboards.GOval
-
returns the bounding rectangle for this GOval
- getBounds() - Method in class breadboards.GRect
-
returns the bounding rectangle for this GRect
- getBreadboard() - Method in class breadboards.Breadboard
-
returns a reference to the breadboard
- getBreadboard() - Method in class breadboards.GObject
-
returns the breadboard associated with this GObject -- or null if there is no such breadboard
- getButton1() - Method in class breadboards.Breadboard
-
returns a reference to the left button in the south panel of this breadboard
- getButton2() - Method in class breadboards.Breadboard
-
returns a reference to the right button in the south panel of this breadboard
- getCanvasPoint(double, double) - Method in class breadboards.GCompound
-
converts local coordinates associated with the GCompound to coordinates associated with the parent object
- getCenterPanelHeight() - Method in class breadboards.Breadboard
-
returns the height of the drawable area in the center of this breadboard
- getCenterPanelWidth() - Method in class breadboards.Breadboard
-
returns the width of the drawable area in the center of this breadboard
- getColor() - Method in class breadboards.GLabel
-
returns the border color of this GLabel
- getColor() - Method in class breadboards.GLine
-
returns color of GLine
- getColor() - Method in class breadboards.GOval
-
returns the border color of this GOval
- getColor() - Method in class breadboards.GRect
-
returns the border color of this GRect
- getElement(int) - Method in class breadboards.Breadboard
-
returns the element with the specified z-level.
- getElement(int) - Method in class breadboards.GCompound
-
returns the ith element by z-order in this GCompound
- getElementAt(double, double) - Method in class breadboards.Breadboard
-
returns the top-most element at the specified location
- getElementAt(double, double) - Method in class breadboards.GCompound
-
returns the top-most element of the GCompound at the specified location (x,y)
- getElementAt(GPoint) - Method in class breadboards.Breadboard
-
returns the top-most element at the specified point
- getElementAt(GPoint) - Method in class breadboards.GCompound
-
returns the top-most element of the GCompound at the specified point
- getElementCount() - Method in class breadboards.Breadboard
-
returns the number of GObjects on the breadboard
- getElementCount() - Method in class breadboards.GCompound
-
returns the number of elements that make up the GCompound
- getEndPoint() - Method in class breadboards.GLine
-
returns end point of the GLine
- getFillColor() - Method in class breadboards.GOval
-
returns the fill color for this GOval
- getFillColor() - Method in class breadboards.GRect
-
returns the fill color for this GRect
- getFromResource(String, Class) - Static method in class breadboards.GImage
-
returns a GImage from a resource file (i.e., a .jpg or .png image file in a java package)
- getGreen(int) - Static method in class breadboards.GImage
-
returns the green component associated with the specified integer value
- getHeading() - Method in class breadboards.GTurtle
- getHeight() - Method in class breadboards.GCompound
-
returns height of GCompound
- getHeight() - Method in class breadboards.GDimension
-
returns the height of this GDimension
- getHeight() - Method in class breadboards.GImage
-
returns height of GImage object
- getHeight() - Method in class breadboards.GLabel
-
returns the height of this GLabel
- getHeight() - Method in class breadboards.GOval
-
returns the height of this GOval
- getHeight() - Method in class breadboards.GRect
-
returns the height of this GRect
- getHeight() - Method in class breadboards.GRectangle
-
returns the height of the GRectangle
- getImage() - Method in class breadboards.GImage
-
returns the image associated with this GImage
- getLabel() - Method in class breadboards.Breadboard
-
returns a reference to the label in the south panel of this breadboard
- getLocalPoint(double, double) - Method in class breadboards.GCompound
-
converts coordinates associated with the parent object to local coordinates associated with the GCompound
- getLocation() - Method in class breadboards.GObject
-
returns the location of the GObject as a GPoint
- getLocation() - Method in class breadboards.GRectangle
-
returns the location of this GRectangle
- getMouseListeners() - Method in class breadboards.GObject
-
gets an iterable collection of all MouseListeners associated with this GObject
- getMouseMotionListeners() - Method in class breadboards.GObject
-
gets an iterable collection of all MouseMotionListeners associated with this GObject
- getPanel(int) - Method in class breadboards.Breadboard
-
returns a reference to one of the panels of this breadboard (as indicated by the panelConstant)
- getParent() - Method in class breadboards.GObject
-
returns the parent of the GObject - typically a GCompound or a Breadboard object
- getPixelArray() - Method in class breadboards.GImage
-
returns a 2d array of integer values corresponding to the colors of the pixels of this image
- getRed(int) - Static method in class breadboards.GImage
-
returns the red component associated with the specified integer value
- getSize() - Method in class breadboards.GRectangle
-
returns the dimensions of this GRectangle
- getStartPoint() - Method in class breadboards.GLine
-
returns start point of the GLine
- getText() - Method in class breadboards.GLabel
-
returns the text of this GLabel as a string
- getTextArea() - Method in class breadboards.Breadboard
-
returns the text area at the top of the breadboard window
- getTextField() - Method in class breadboards.Breadboard
-
returns a reference to the text field in the south panel of this breadboard
- getTimer() - Method in class breadboards.Breadboard
-
returns a reference to the built-in timer associated with this breadboard
- getTrail() - Method in class breadboards.GTurtle
- getWidth() - Method in class breadboards.GCompound
- getWidth() - Method in class breadboards.GDimension
-
returns the width of this GDimension
- getWidth() - Method in class breadboards.GImage
-
returns width of GImage object
- getWidth() - Method in class breadboards.GLabel
-
returns the width of this GLabel
- getWidth() - Method in class breadboards.GOval
-
returns the width of this GOval
- getWidth() - Method in class breadboards.GRect
-
returns the width of this GRect
- getWidth() - Method in class breadboards.GRectangle
-
returns the width of the GRectangle
- getX() - Method in class breadboards.GObject
-
returns the x-coordinate of the GObject
- getX() - Method in class breadboards.GPoint
-
returns the GPoint's x-coordinate
- getX() - Method in class breadboards.GRectangle
-
returns the x-coordinate of the upper left corner of this rectangle
- getY() - Method in class breadboards.GObject
-
returns the y-coordinate of the GObject
- getY() - Method in class breadboards.GPoint
-
returns the GPoint's y-coordinate
- getY() - Method in class breadboards.GRectangle
-
returns the y-coordinate of the upper left corner of this rectangle
- GImage - Class in breadboards
-
Subclass of GObject used for displaying a image
- GImage(int[][]) - Constructor for class breadboards.GImage
-
constructs a GImage using the specified 2d array of (integer) pixel information
- GImage(BufferedImage) - Constructor for class breadboards.GImage
-
constructs a GImage using the specified image
- GImage(BufferedImage, double, double) - Constructor for class breadboards.GImage
-
constructs a GImage using the specified image at the specified location (x,y)
- GImage(String) - Constructor for class breadboards.GImage
-
constructs a GImage based on the image identified by the given filename (and path)
- GLabel - Class in breadboards
-
Subclass of GObject used for displaying ovals
- GLabel(double, double, String) - Constructor for class breadboards.GLabel
-
constructs a GLabel with a specified text at a specified location
- GLabel(String) - Constructor for class breadboards.GLabel
-
constructs a GLabel with specified text with lower left corner at (0,0)
- GLine - Class in breadboards
-
Subclass of GObject used for displaying line segments
- GLine() - Constructor for class breadboards.GLine
-
constructs a zero-length segment from (0,0) to itself
- GLine(double, double, double, double) - Constructor for class breadboards.GLine
-
constructs a segment from (x0,y0) to (x1,y1)
- GObject - Class in breadboards
-
Abstract class suitable for graphics objects that can be added to a Breadboard object
- GObject() - Constructor for class breadboards.GObject
-
(only called through constructor chaining)
- GObjectParent - Interface in breadboards
-
Interface required of objects that hold a collection of GObjects
- GOval - Class in breadboards
-
Subclass of GObject used for displaying ovals
- GOval(double, double) - Constructor for class breadboards.GOval
-
constructs a GOval with specified width and height with upper left corner at (0,0)
- GOval(double, double, double, double) - Constructor for class breadboards.GOval
-
constructs a GOval with a specified width and height at a specified location
- GPoint - Class in breadboards
-
Class whose objects are coordinates (x,y) where these coordinates are stored as doubles
- GPoint() - Constructor for class breadboards.GPoint
-
constructs a GPoint where (x,y) = (0,0)
- GPoint(double, double) - Constructor for class breadboards.GPoint
-
constructs a GPoint with the specified coordinates
- GRect - Class in breadboards
-
Subclass of GObject suitable for displaying rectangles
- GRect(double, double) - Constructor for class breadboards.GRect
-
constructs a GRect with specified width and height with upper left corner at (0,0)
- GRect(double, double, double, double) - Constructor for class breadboards.GRect
-
constructs a GRect with a specified width and height at a specified location
- GRectangle - Class in breadboards
-
Class whose objects are rectangle whose width, height, and location coordinates are all stored as doubles
- GRectangle() - Constructor for class breadboards.GRectangle
-
constructs an empty rectangle (dimensions and coordinates are zero)
- GRectangle(double, double) - Constructor for class breadboards.GRectangle
- GRectangle(double, double, double, double) - Constructor for class breadboards.GRectangle
-
constructs a rectangle with the specified dimensions at the specified location
- grow(double, double) - Method in class breadboards.GRectangle
-
grows the dimensions of the rectangle (width by dx, height by dy)
- GSpaceship - Class in breadboards
-
Subclass of GCompound that looks like a small red spaceship
- GSpaceship(double, double) - Constructor for class breadboards.GSpaceship
-
constructs a GSpaceship at the specified location
- GTurtle - Class in breadboards
- GTurtle(double, double, double, double) - Constructor for class breadboards.GTurtle
All Classes All Packages