public interface OceanGUIInterface
Modifier and Type | Method and Description |
---|---|
void |
addMouseListeners(java.awt.event.MouseListener mouseController,
java.awt.event.MouseWheelListener mouseController2)
Adds a the mouseListener to the GUI.
|
ButtonPanel |
getButtonPanel()
Gets the button panel.
|
OceanInterface |
getMyOcean()
Gets the my ocean.
|
StatusPanel |
getStatusPanel()
Gets the status panel.
|
WaterPanel |
getWaterPanel()
Gets the water panel.
|
void |
setButtonPanel(ButtonPanel buttonPanel)
Sets the button panel.
|
void |
setMyOcean(OceanInterface myOcean)
Sets the my ocean.
|
void |
setStatusPanel(StatusPanel statusPanel)
Sets the status panel.
|
void |
setWaterPanel(WaterPanel waterPanel)
Sets the water panel.
|
void |
showErrorMessage(java.lang.String errorMsg)
Show error message.
|
ButtonPanel getButtonPanel()
OceanInterface getMyOcean()
StatusPanel getStatusPanel()
WaterPanel getWaterPanel()
void setButtonPanel(ButtonPanel buttonPanel)
buttonPanel
- the new button panelvoid setMyOcean(OceanInterface myOcean)
myOcean
- the new my oceanvoid setStatusPanel(StatusPanel statusPanel)
statusPanel
- the new status panelvoid setWaterPanel(WaterPanel waterPanel)
waterPanel
- the new water panelvoid showErrorMessage(java.lang.String errorMsg)
errorMsg
- the error msgvoid addMouseListeners(java.awt.event.MouseListener mouseController, java.awt.event.MouseWheelListener mouseController2)
mouseController
- mouseController2
-