- save(File, String) - Method in class controller.ButtonListener
-
This method saves an ocean to a file.
- save(String, File) - Method in class model.Ocean
-
- save(String, File) - Method in interface model.OceanInterface
-
This method saves an ocean to a file.
- saveButton - Variable in class view.ButtonPanel
-
The save button.
- scrollFishTab - Variable in class view.AboutFrame
-
The scroll fish tab.
- second - Variable in class stuff.Pair
-
- serialVersionUID - Static variable in exception controller.ButtonListener.EmptyStringException
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in exception controller.ButtonListener.ExcessWhitespaceException
-
- serialVersionUID - Static variable in exception controller.ButtonListener.MaximumAgeNegativeException
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in exception controller.Listener.EmptyStringException
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.Bubble
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.CokeCan
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.CokeCanBubbleGeneratorThread
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.Fish
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.MovementThread
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in exception model.Ocean.EmptyListException
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in exception model.Ocean.PositionOccupiedException
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in exception model.Ocean.PositionOutOfBoundsException
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.Ocean
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.OceanObject
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.Plant
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.Shark
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class model.Stone
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class view.AboutFrame
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class view.ButtonPanel
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class view.OceanGUI
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class view.StatusPanel
-
The Constant serialVersionUID.
- serialVersionUID - Static variable in class view.WaterPanel
-
The Constant serialVersionUID.
- setAboutButton(JButton) - Method in class view.ButtonPanel
-
Sets the about button.
- setAge(int) - Method in class model.Ocean
-
Sets the ocean's age.
- setAge(int) - Method in class model.OceanObject
-
Sets the age of the oceanObject.
- setAllFieldsRandom(MouseEvent) - Method in class controller.MouseListener
-
Set all fields (name, maximumAge, x/y-value) random.
- setAllgemein(JLabel) - Method in class view.AboutFrame
-
Sets the general label.
- setAnimationDelay(int) - Method in class model.Ocean
-
Sets the animation delay.
- setAnimationDelay(int) - Method in interface model.OceanInterface
-
This method sets the delay between two steps of the animation.
- setButtonPanel(ButtonPanel) - Method in class view.OceanGUI
-
Sets the button panel.
- setButtonPanel(ButtonPanel) - Method in interface view.OceanGUIInterface
-
Sets the button panel.
- setCcbgt(CokeCanBubbleGeneratorThread) - Method in class model.CokeCan
-
Sets the ccbgt.
- setClearButton(JButton) - Method in class view.ButtonPanel
-
Sets the clear button.
- setCokeCanName(String) - Method in class model.CokeCanBubbleGeneratorThread
-
Sets the coke can name.
- setDepth(int) - Method in class model.Ocean
-
Sets the depth.
- setDepth(int) - Method in interface model.OceanInterface
-
This method sets the ocean's depth.
- setDirection(int[]) - Method in class model.OceanObject
-
Sets the direction of the oceanObject.
- setDirectionX(int) - Method in class model.OceanObject
-
Sets the direction's x value.
- setDirectionY(int) - Method in class model.OceanObject
-
Sets the direction's y value.
- setEastPanel(JPanel) - Method in class view.AboutFrame
-
Sets the east panel.
- setFirst(T) - Method in class stuff.Pair
-
Sets the pair's first component.
- setFishCurveLabel(JLabel) - Method in class view.AboutFrame
-
Sets the fish curve label.
- setFunnyCFArea(JTextArea) - Method in class view.AboutFrame
-
Sets the funny cf area.
- setFunnyCodeFragments(JLabel) - Method in class view.AboutFrame
-
Sets the funny code fragments.
- setHasReachedBottom(Boolean) - Method in class model.CokeCan
-
Sets the checks for reached bottom.
- setHunger(int) - Method in class model.OceanObject
-
Sets the hunger of the oceanObject.
- setIcon(ImageIcon) - Method in class model.OceanObject
-
Sets the objects icon.
- setIcon(String) - Method in class model.OceanObject
-
Sets the object's icon.
- setID(int) - Method in class model.OceanObject
-
Sets the object's id.
- setLock(Integer) - Method in class model.CokeCanBubbleGeneratorThread
-
Sets the lock.
- setLock(Integer) - Method in class model.MovementThread
-
Sets the lock.
- setMaximumAge(int) - Method in class model.OceanObject
-
Sets the maximum age.
- setMaximumAgeField(JTextField) - Method in class view.ButtonPanel
-
Sets the maximum age field.
- setMaximumAgeLabel(JLabel) - Method in class view.ButtonPanel
-
Sets the maximum age label.
- setMovementThread(MovementThread) - Method in class model.Ocean
-
- setMovementThread(MovementThread) - Method in interface model.OceanInterface
-
This method sets the movement thread
- setMyCokeCan(CokeCan) - Method in class model.CokeCanBubbleGeneratorThread
-
Sets the coke can.
- setMyModel(OceanInterface) - Method in class controller.Listener
-
Sets the myOcean attribute.
- setMyOcean(OceanInterface) - Method in class controller.Controller
-
Sets the myOcean attribute.
- setMyOcean(OceanInterface) - Method in class model.CokeCanBubbleGeneratorThread
-
Sets the ocean.
- setMyOcean(Ocean) - Method in class model.MovementThread
-
Sets the my ocean.
- setMyOcean(OceanInterface) - Method in class model.OceanObject
-
Sets the ocean.
- setMyOcean(OceanInterface) - Method in class view.OceanGUI
-
Sets the ocean.
- setMyOcean(OceanInterface) - Method in interface view.OceanGUIInterface
-
Sets the my ocean.
- setMyOcean(OceanInterface) - Method in class view.StatusPanel
-
Sets the ocean.
- setMyOcean(OceanInterface) - Method in class view.WaterPanel
-
Sets the myOcean.
- setMyOceanGUI(OceanGUIInterface) - Method in class controller.Controller
-
Sets the myOceanGUI attribute.
- setMyView(OceanGUIInterface) - Method in class controller.Listener
-
Sets the myOceanGUI attribute.
- setNameField(JTextField) - Method in class view.ButtonPanel
-
Sets the name field.
- setNameLabel(JLabel) - Method in class view.ButtonPanel
-
Sets the name label.
- setNames(JLabel) - Method in class view.AboutFrame
-
Sets the names.
- setNewObjects(LinkedList<OceanObject>) - Method in class model.Ocean
-
Sets the new objects.
- setNozzlePosition(int[]) - Method in class model.CokeCanBubbleGeneratorThread
-
Sets the nozzle position.
- setOceanObjectName(String) - Method in class model.OceanObject
-
Sets the ocean object's name.
- setOceanObjects(LinkedList<OceanObject>) - Method in class model.Ocean
-
- setOceanObjects(LinkedList<OceanObject>) - Method in interface model.OceanInterface
-
This method sets the ocean object list.
- setOceanRunning(boolean) - Method in class model.Ocean
-
Sets the ocean running.
- setPopulationLabel(JLabel) - Method in class view.StatusPanel
-
Sets the population label.
- setPopulationLabelText(String) - Method in class view.StatusPanel
-
Sets the population label text.
- setPosition(int[]) - Method in class model.OceanObject
-
Sets the object's position.
- setPositionX(int) - Method in class model.OceanObject
-
Sets the object's position's x value.
- setPositionY(int) - Method in class model.OceanObject
-
Sets the object's position's y value.
- setPrintButton(JButton) - Method in class view.ButtonPanel
-
Sets the prints the button.
- setQuotes(JLabel) - Method in class view.AboutFrame
-
Sets the quotes.
- setQuotesArea(JTextArea) - Method in class view.AboutFrame
-
Sets the quotes area.
- setRand(Random) - Method in class model.CokeCanBubbleGeneratorThread
-
Sets the random number generator.
- setRand(Random) - Method in class model.OceanObject
-
Generate a new random number generator.
- setScrollFishTab(JScrollPane) - Method in class view.AboutFrame
-
Sets the scroll fish tab.
- setSecond(S) - Method in class stuff.Pair
-
Sets the pair's second component.
- setStatusLabelText(String) - Method in class view.StatusPanel
-
Set the status label text.
- setStatusPanel(StatusPanel) - Method in class view.OceanGUI
-
Sets the status panel.
- setStatusPanel(StatusPanel) - Method in interface view.OceanGUIInterface
-
Sets the status panel.
- setStepButton(JButton) - Method in class view.ButtonPanel
-
Sets the step button.
- setTagged(Boolean) - Method in class model.OceanObject
-
Sets the object's tagged attribute.
- setThanks(JLabel) - Method in class view.AboutFrame
-
Sets the thanks.
- setTimeElapsedLabel(JLabel) - Method in class view.StatusPanel
-
Sets the time elapsed label.
- setTimeElapsedLabelText(String) - Method in class view.StatusPanel
-
Sets the time elapsed label text.
- setToolTips() - Method in class view.ButtonPanel
-
Sets the tool tips.
- setToppledLeft(Boolean) - Method in class model.OceanObject
-
Sets the object's toppled-left attribute.
- setToppledRight(Boolean) - Method in class model.OceanObject
-
Sets the object's toppled-right attribute.
- setTp(JTabbedPane) - Method in class view.AboutFrame
-
Sets the tp.
- setType(int) - Method in class model.OceanObject
-
Sets the objects type attribute.
- setUpright(Boolean) - Method in class model.OceanObject
-
Sets the object's upright attribute.
- setWaterPanel(WaterPanel) - Method in class view.OceanGUI
-
Sets the water panel.
- setWaterPanel(WaterPanel) - Method in interface view.OceanGUIInterface
-
Sets the water panel.
- setWidth(int) - Method in class model.Ocean
-
Sets the width.
- setWidth(int) - Method in interface model.OceanInterface
-
This method sets the ocean's width.
- setxDirConst(int) - Method in class model.OceanObject
-
Sets the x-dir-const value.
- setxDirVar(int) - Method in class model.OceanObject
-
Sets the x-dir-var value.
- setxLabel(JLabel) - Method in class view.ButtonPanel
-
Sets the x label.
- setxValueField(JTextField) - Method in class view.ButtonPanel
-
Sets the x value field.
- setyDirConst(int) - Method in class model.OceanObject
-
Sets the y-dir-const value.
- setyDirVar(int) - Method in class model.OceanObject
-
Sets the y-dir-var value.
- setyLabel(JLabel) - Method in class view.ButtonPanel
-
Sets the y label.
- setyValueField(JTextField) - Method in class view.ButtonPanel
-
Sets the y value field.
- SHARK - Static variable in class model.Ocean
-
The Constant SHARK.
- Shark - Class in model
-
The Class Shark.
- Shark(int, String, int[], OceanInterface, int) - Constructor for class model.Shark
-
Instantiates a new shark.
- showErrorMessage(String) - Method in class view.OceanGUI
-
- showErrorMessage(String) - Method in interface view.OceanGUIInterface
-
Show error message.
- showOverview() - Method in class controller.ButtonListener
-
Print out a little ocean overview.
- sleep(int) - Method in class controller.Listener
-
This method let sleep up an unspecific Thread.
- sleep() - Method in class model.CokeCanBubbleGeneratorThread
-
Let an unspecified thread sleep.
- sleep() - Method in class model.MovementThread
-
Sleep.
- sleep() - Method in class view.StatusPanel
-
Sleep.
- spawnRandomFish(int) - Method in class model.Fish
-
Spawn random fish.
- spawnRandomShark(int) - Method in class model.Shark
-
Spawn random shark.
- start() - Method in class model.Ocean
-
- start() - Method in interface model.OceanInterface
-
This method starts the movement.
- startStopButton - Variable in class view.ButtonPanel
-
The start stop button.
- statusLabel - Variable in class view.StatusPanel
-
The status label.
- statusPanel - Variable in class view.OceanGUI
-
The status panel.
- StatusPanel - Class in view
-
The Class StatusPanel displays infos (population, time, info) about the
oceans objects.
- StatusPanel(OceanInterface) - Constructor for class view.StatusPanel
-
Instantiates a new status panel.
- stepButton - Variable in class view.ButtonPanel
-
The step button.
- STONE - Static variable in class model.Ocean
-
The Constant STONE.
- Stone - Class in model
-
The Class Stone.
- Stone(int, String, int[], OceanInterface, int) - Constructor for class model.Stone
-
Instantiates a new stone.
- stop() - Method in class model.Ocean
-
- stop() - Method in interface model.OceanInterface
-
This method stops the movement, all objects in the list freeze in the
current position.
- stuff - package stuff
-