- get(int) - Method in class uwcse.collections.SimpleAbstractList
-
- get(int) - Method in class uwcse.collections.SimpleArrayList
-
O(1) time.
- get(Object) - Method in class uwcse.collections.SimpleClosedHashMap
-
- get(int) - Method in class uwcse.collections.SimpleLinkedList
-
O(N) time because we need to walk N links
- get(int) - Method in interface uwcse.collections.SimpleList
-
Answer the element at the given location.
- get(Object) - Method in class uwcse.collections.SimpleListMap
-
- get(Object) - Method in interface uwcse.collections.SimpleMap
-
Answer the value associated with the given key.
- get(Object) - Method in class uwcse.collections.SimpleOpenHashMap
-
- getActors() - Method in class uwcse.animation.Stage
-
Return a list of all the actors.
- getBoundingBox() - Method in interface uwcse.graphics.Shape
-
Return the shape's bounding box (the smallest rectangle
enclosing the shape).
- getBoundingBox() - Method in class uwcse.graphics.ShapeImpl
-
- getCenterX() - Method in interface uwcse.graphics.Shape
-
Return the X coordinate of the shape's center
- getCenterX() - Method in class uwcse.graphics.ShapeImpl
-
- getCenterY() - Method in interface uwcse.graphics.Shape
-
Return the Y coordinate of the shape's center
- getCenterY() - Method in class uwcse.graphics.ShapeImpl
-
- getClip() - Method in class uwcse.io.Sound
-
Answer the AudioClip for this sound.
- getColor() - Method in interface uwcse.graphics.Shape
-
Answer the color of this shape.
- getColor() - Method in class uwcse.graphics.ShapeImpl
-
- getEventHandler() - Method in class uwcse.graphics.AppletGWindow
-
Answer the current event handler.
- getEventHandler() - Method in class uwcse.graphics.GWindow
-
Answer the current event handler.
- getFirst() - Method in class uwcse.collections.SimpleAbstractList
-
Answers get(0)
- getFirst() - Method in interface uwcse.collections.SimpleList
-
Answer the first element in the list.
- getHeight() - Method in class uwcse.animation.Stage
-
Return the height of the stage window.
- getHeight() - Method in class uwcse.graphics.Rectangle
-
Return the height of the rectangle
- getHeight() - Method in interface uwcse.graphics.Shape
-
Return the height of the shape's bounding box (the smallest rectangle
enclosing the shape).
- getHeight() - Method in class uwcse.graphics.ShapeImpl
-
- getImage(String) - Method in class uwcse.graphics.AppletGWindow
-
Deprecated.
- getImage(URL) - Method in class uwcse.graphics.AppletGWindow
-
Deprecated.
- getImage(String) - Method in class uwcse.graphics.GWindow
-
Deprecated.
- getImage(URL) - Method in class uwcse.graphics.GWindow
-
Deprecated.
- getImageFromFilename(String) - Method in class uwcse.graphics.AppletGWindow
-
Create and return a new Image, given the filename of the image.
- getImageFromFilename(String) - Method in class uwcse.graphics.GWindow
-
Create and return a new Image, given the filename of the image.
- getImageFromURL(String) - Method in class uwcse.graphics.AppletGWindow
-
Create and return a new Image, given the URL of the image.
- getImageFromURL(String) - Method in class uwcse.graphics.GWindow
-
Create and return a new Image, given the URL of the image.
- getKey() - Method in class uwcse.graphics.GWindowEvent
-
Answer the key that was pressed.
- getLast() - Method in class uwcse.collections.SimpleAbstractList
-
Answers get(size() - 1)
- getLast() - Method in interface uwcse.collections.SimpleList
-
Answer the last element in the list.
- getProps() - Method in class uwcse.animation.Stage
-
Return a list of all the props.
- getThings(Thing) - Method in class uwcse.sim.WorldModel
-
Get the neighbors of this thing, that is, those Things that
inhabit the same cell.
- getThings(Thing, Offset) - Method in class uwcse.sim.WorldModel
-
Get the things that inhabit the cell that is in the given
direction from the cell inhabited by the given thing.
- getThings(Thing, List) - Method in class uwcse.sim.WorldModel
-
Get the things that inhabit the cells that are in the given
list of directions from the cell inhabited by the given thing.
- getThings() - Method in class uwcse.sim.WorldModel
-
Get all the things in the world.
- getTimeForOneRound() - Method in class uwcse.animation.Stage
-
Get the current amount of time to pause between rounds of
animation, in ms.
- getTimeInMillis() - Method in class uwcse.io.SimpleDate
-
Answer the number of milliseconds this date is since Jan 1, 1970.
- getType() - Method in class uwcse.graphics.GWindowEvent
-
Answer the type of this event.
- getWidth() - Method in class uwcse.animation.Stage
-
Return the width of the stage window.
- getWidth() - Method in class uwcse.graphics.Rectangle
-
Return the width of the rectangle
- getWidth() - Method in interface uwcse.graphics.Shape
-
Return the width of the shape's bounding box (the smallest rectangle
enclosing the shape).
- getWidth() - Method in class uwcse.graphics.ShapeImpl
-
- getWindow() - Method in class uwcse.animation.Stage
-
Return the window of the stage.
- getWindowHeight() - Method in class uwcse.graphics.AppletGWindow
-
Return the height of the drawing area of the window (ignoring
title bar, borders, etc.)
- getWindowHeight() - Method in class uwcse.graphics.GWindow
-
Return the height of the drawing area of the window (ignoring
title bar, borders, etc.)
- getWindowWidth() - Method in class uwcse.graphics.AppletGWindow
-
Return the width of the drawing area of the window (ignoring
title bar, borders, etc.)
- getWindowWidth() - Method in class uwcse.graphics.GWindow
-
Return the width of the drawing area of the window (ignoring
title bar, borders, etc.)
- getX() - Method in class uwcse.graphics.GWindowEvent
-
Answer the x position of the mouse click.
- getX() - Method in class uwcse.graphics.Rectangle
-
Return the X coordinate of the rectangle's upper-left corner
- getX() - Method in interface uwcse.graphics.Shape
-
Return the X coordinate of the shape's upper-left corner
- getX() - Method in class uwcse.graphics.ShapeImpl
-
- getX() - Method in interface uwcse.sim.Thing
-
Every Thing must have an x and y position.
- getY() - Method in class uwcse.graphics.GWindowEvent
-
Answer the y position of the mouse click.
- getY() - Method in class uwcse.graphics.Rectangle
-
Return the Y coordinate of the rectangle's upper-left corner
- getY() - Method in interface uwcse.graphics.Shape
-
Return the Y coordinate of the shape's upper-left corner
- getY() - Method in class uwcse.graphics.ShapeImpl
-
- getY() - Method in interface uwcse.sim.Thing
-
Every Thing must have an x and y position.
- go() - Method in class uwcse.sim.WorldModel
-
Call init(), and then loop forever, calling doTurn() and sleeping
for the sleepTime.
- go(int) - Method in class uwcse.sim.WorldModel
-
Call init(), and then loop for the given number of cycles.
- GraphicsHistogram - Class in uwcse.sim
-
An extension of Histogram view that plots its results onto a GWindow.
- GraphicsHistogram(int, int, int) - Constructor for class uwcse.sim.GraphicsHistogram
-
- GWindow - Class in uwcse.graphics
-
The GWindow class defines a simple graphics window.
- GWindow() - Constructor for class uwcse.graphics.GWindow
-
Create a new window, with default name and size.
- GWindow(String) - Constructor for class uwcse.graphics.GWindow
-
Create a new window of the default size.
- GWindow(int, int) - Constructor for class uwcse.graphics.GWindow
-
Create a new window of the given dimensions.
- GWindow(String, int, int) - Constructor for class uwcse.graphics.GWindow
-
Create a new window of the given name and dimensions.
- GWindow(AppletGWindow) - Constructor for class uwcse.graphics.GWindow
-
Create a new window interface to use for an applet
- gWindow - Variable in class uwcse.sim.MapView
-
- GWindowEvent - Class in uwcse.graphics
-
This class defines an event object which can be generated in the
GWindow world.
- GWindowEvent(int, int, char, int) - Constructor for class uwcse.graphics.GWindowEvent
-
Create a new GWindowEvent.
- GWindowEventAdapter - Class in uwcse.graphics
-
A basic adapter for GWindow event that defines empty methods
for each of the interface's methods.
- GWindowEventAdapter() - Constructor for class uwcse.graphics.GWindowEventAdapter
-
- GWindowEventHandler - Interface in uwcse.graphics
-
Any object that wishes to handle GWindowEvents must implement this
interface.