Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
L
M
P
R
S
T
U
V
W
G
getCode()
- Method in exception fishPond.
IllegalFishPositionException
getCode()
- Method in exception fishPond.
IllegalPlantPositionException
getCol()
- Method in class fishPond.
Fish
Returns column
getCol()
- Method in class fishPond.
Plant
returns column
getCols()
- Method in class fishPond.
Model
returns number of columns in landscape array
getCols()
- Method in class fishPond.
View
Return value of the cols field entered by the user into the GUI
getDirection()
- Method in class fishPond.
Fish
Returns direction (UP, DOWN, LEFT, or RIGHT)
getFish()
- Method in class fishPond.
Model
Returns a COPY of the fish list.
getFishCount()
- Method in class fishPond.
View
Return the value of the "fish" field entered by the user into the GUI
getMessage()
- Method in exception fishPond.
IllegalFishPositionException
getMessage()
- Method in exception fishPond.
IllegalPlantPositionException
getPlantCount()
- Method in class fishPond.
View
Return the value of the "plants" field entered by the user into the GUI
getPlants()
- Method in class fishPond.
Model
Returns a COPY of the plants list.
getPreferredSize()
- Method in class fishPond.
View
Tells Java GUI-drawing-thread how big this component should be drawn
getRandomInteger(int)
- Static method in class cmsc131Utilities.
Random131
Returns an integer random value between 0 and maxValue - 1 (includes 0 and maxValue - 1)
getRockCount()
- Method in class fishPond.
View
Return the value of the "rocks" field entered by the user into the GUI
getRow()
- Method in class fishPond.
Fish
Returns row
getRow()
- Method in class fishPond.
Plant
returns row
getRows()
- Method in class fishPond.
Model
returns number of rows in landscape array
getRows()
- Method in class fishPond.
View
Return value of rows field entered by the user into the GUI
getShape(int, int)
- Method in class fishPond.
Model
Returns the specified entry of the landscape array (either WATER or ROCK).
getSize()
- Method in class fishPond.
Fish
Returns size
getSize()
- Method in class fishPond.
Plant
returns size
getSliderPosition()
- Method in class fishPond.
View
Return the position of the slider (0 - 100)
grow()
- Method in class fishPond.
Plant
increments size by one unit
growPlants()
- Method in class fishPond.
Model
Iterates through the plants list, growing each plant by invoking it's "grow" method.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
L
M
P
R
S
T
U
V
W
Web Accessibility