Package | Description |
---|---|
controller | |
model | |
view |
Modifier and Type | Field and Description |
---|---|
private OceanInterface |
Controller.myOcean
The ocean is a part of the model.
|
private OceanInterface |
Listener.myOcean
The model interface
|
Modifier and Type | Method and Description |
---|---|
private OceanInterface |
Controller.getMyOcean()
Gets the my ocean attribute.
|
protected OceanInterface |
Listener.getMyOcean() |
Modifier and Type | Method and Description |
---|---|
protected void |
Listener.setMyModel(OceanInterface myOcean)
Sets the myOcean attribute.
|
private void |
Controller.setMyOcean(OceanInterface myOcean)
Sets the myOcean attribute.
|
Constructor and Description |
---|
ButtonListener(OceanInterface model,
OceanGUIInterface view)
Instantiates a new button listener.
|
Controller(OceanInterface model,
OceanGUIInterface view) |
Listener(OceanInterface model,
OceanGUIInterface view) |
MouseListener(OceanInterface model,
OceanGUIInterface view)
Instantiates a new mouse listener.
|
Modifier and Type | Class and Description |
---|---|
class |
Ocean
The Class Ocean.
|
Modifier and Type | Field and Description |
---|---|
private OceanInterface |
OceanObject.myOcean
The model interface.
|
private OceanInterface |
CokeCanBubbleGeneratorThread.myOcean
The ocean.
|
Modifier and Type | Method and Description |
---|---|
OceanInterface |
OceanObject.getMyOcean()
Gets the model interface.
|
OceanInterface |
CokeCanBubbleGeneratorThread.getMyOcean()
Gets the ocean.
|
Modifier and Type | Method and Description |
---|---|
void |
OceanObject.setMyOcean(OceanInterface myOcean)
Sets the ocean.
|
void |
CokeCanBubbleGeneratorThread.setMyOcean(OceanInterface myOcean)
Sets the ocean.
|
Constructor and Description |
---|
Bubble(int ID,
java.lang.String name,
int[] position,
OceanInterface ocean,
int maximumAge)
Instantiates a new bubble.
|
CokeCan(int ID,
java.lang.String name,
int[] position,
OceanInterface ocean,
int maximumAge)
Instantiates a new coke can.
|
CokeCanBubbleGeneratorThread(OceanInterface oceanInterface,
CokeCan c,
java.lang.Integer lock)
Instantiates a new coke can bubble generator thread.
|
Fish(int ID,
java.lang.String name,
int[] position,
OceanInterface ocean,
int maximumAge)
Instantiates a new fish.
|
OceanObject(int ID,
java.lang.String name,
int[] position,
OceanInterface ocean,
int maximumAge)
Instantiates a new OceanObject.
|
Plant(int ID,
java.lang.String name,
int[] position,
OceanInterface ocean,
int maximumAge)
Instantiates a new plant.
|
Shark(int ID,
java.lang.String name,
int[] position,
OceanInterface ocean,
int maximumAge)
Instantiates a new shark.
|
Stone(int ID,
java.lang.String name,
int[] position,
OceanInterface ocean,
int maximumAge)
Instantiates a new stone.
|
Modifier and Type | Field and Description |
---|---|
private OceanInterface |
WaterPanel.myOcean
The myOcean.
|
private OceanInterface |
OceanGUI.myOcean
The ocean.
|
private OceanInterface |
StatusPanel.myOcean
The my ocean.
|
Modifier and Type | Method and Description |
---|---|
OceanInterface |
OceanGUIInterface.getMyOcean()
Gets the my ocean.
|
protected OceanInterface |
WaterPanel.getMyOcean()
Gets the myOcean.
|
OceanInterface |
OceanGUI.getMyOcean()
Gets the my ocean.
|
private OceanInterface |
StatusPanel.getMyOcean()
Gets the ocean.
|
Modifier and Type | Method and Description |
---|---|
void |
OceanGUIInterface.setMyOcean(OceanInterface myOcean)
Sets the my ocean.
|
protected void |
WaterPanel.setMyOcean(OceanInterface myOcean)
Sets the myOcean.
|
void |
OceanGUI.setMyOcean(OceanInterface myOcean)
Sets the ocean.
|
private void |
StatusPanel.setMyOcean(OceanInterface myOcean)
Sets the ocean.
|
Constructor and Description |
---|
OceanGUI(java.lang.String title,
OceanInterface model)
Instantiates a new oceanGUI.
|
StatusPanel(OceanInterface ocean)
Instantiates a new status panel.
|
WaterPanel(OceanInterface ocean)
Instantiates a new water panel.
|