From 51b7fbe822bd9a3804c061f0b844884769d7ddba Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Wed, 6 Jul 2011 16:36:06 +0200 Subject: Javadoc git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@609 72836036-5685-4462-b002-a69064685172 --- doc/jrummikub/control/ApplicationControl.html | 377 ++++++++++++++++++++++++-- 1 file changed, 360 insertions(+), 17 deletions(-) (limited to 'doc/jrummikub/control/ApplicationControl.html') diff --git a/doc/jrummikub/control/ApplicationControl.html b/doc/jrummikub/control/ApplicationControl.html index 3022e0c..057410d 100644 --- a/doc/jrummikub/control/ApplicationControl.html +++ b/doc/jrummikub/control/ApplicationControl.html @@ -2,12 +2,12 @@ - + ApplicationControl - + @@ -37,7 +37,8 @@ function windowTitle() - + + @@ -54,8 +55,8 @@ function windowTitle() + PREV CLASS  + NEXT CLASS + SUMMARY: NESTED | FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD
@@ -108,7 +109,80 @@ The application control controls the settings for a new games and create the

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+private  GameControlgameControl + +
+           
+private  LoginControlloginControl + +
+           
+private  NetworkControlnetworkControl + +
+           
+private  SaveControlsaveControl + +
+           
+private  DedicatedServerserver + +
+           
+private  SettingsControlsettingsControl + +
+           
+private  ConnectiontempConnection + +
+           
+private  IViewview + +
+           
@@ -118,7 +192,7 @@ The application control controls the settings for a new games and create the Constructor Summary -ApplicationControl(jrummikub.view.IView view) +ApplicationControl(IView view)
          Creates a new application control @@ -135,6 +209,62 @@ The application control controls the settings for a new games and create the +private  void +abortControls() + +
+          End all controls in case of e.g. quit event + + + +private  void +addGameControlListeners(GameControl gameControl) + +
+          Adds events listeners to game control events + + + +private  void +addNewNetworkGameHandler() + +
+            + + + +private  void +addQuitGameHandlers() + +
+            + + + +private  void +addSaveLoadHandlers() + +
+            + + + +private  void +createLoginControl(boolean reset) + +
+          Create a new network login control + + + +private  void +createNetworkControl(LoginData loginData) + +
+          Create a new network game control + + +  boolean isGameRunning() @@ -143,6 +273,22 @@ The application control controls the settings for a new games and create the +private  void +showQuitWarning() + +
+            + + + +private  void +showRestartWarning() + +
+            + + +  void startApplication() @@ -160,7 +306,7 @@ The application control controls the settings for a new games and create the  void -updateDedicatedServerPassword(jrummikub.util.LoginData loginData) +updateDedicatedServerPassword(LoginData loginData)
          If the login given is to our own dedicated server, update it's password @@ -173,12 +319,101 @@ The application control controls the settings for a new games and create the Methods inherited from class java.lang.Object -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait  

+ + + + + + + +
+Field Detail
+ +

+settingsControl

+
+private SettingsControl settingsControl
+
+
+
+
+
+ +

+loginControl

+
+private LoginControl loginControl
+
+
+
+
+
+ +

+networkControl

+
+private NetworkControl networkControl
+
+
+
+
+
+ +

+saveControl

+
+private SaveControl saveControl
+
+
+
+
+
+ +

+gameControl

+
+private GameControl gameControl
+
+
+
+
+
+ +

+tempConnection

+
+private Connection tempConnection
+
+
+
+
+
+ +

+server

+
+private DedicatedServer server
+
+
+
+
+
+ +

+view

+
+private IView view
+
+
+
+
+ @@ -192,7 +427,7 @@ The application control controls the settings for a new games and create the

ApplicationControl

-public ApplicationControl(jrummikub.view.IView view)
+public ApplicationControl(IView view)
Creates a new application control

@@ -210,6 +445,61 @@ public ApplicationControl(jrummikub.view.IView view) +

+addSaveLoadHandlers

+
+private void addSaveLoadHandlers()
+
+
+
+
+
+
+ +

+addNewNetworkGameHandler

+
+private void addNewNetworkGameHandler()
+
+
+
+
+
+
+ +

+addQuitGameHandlers

+
+private void addQuitGameHandlers()
+
+
+
+
+
+
+ +

+showRestartWarning

+
+private void showRestartWarning()
+
+
+
+
+
+
+ +

+showQuitWarning

+
+private void showQuitWarning()
+
+
+
+
+
+
+

isGameRunning

@@ -224,6 +514,32 @@ public boolean isGameRunning()

+

+createLoginControl

+
+private void createLoginControl(boolean reset)
+
+
Create a new network login control +

+

+
+
+
+
+ +

+abortControls

+
+private void abortControls()
+
+
End all controls in case of e.g. quit event +

+

+
+
+
+
+

startApplication

@@ -237,6 +553,32 @@ public void startApplication()

+

+addGameControlListeners

+
+private void addGameControlListeners(GameControl gameControl)
+
+
Adds events listeners to game control events +

+

+
Parameters:
gameControl - of current game
+
+
+
+ +

+createNetworkControl

+
+private void createNetworkControl(LoginData loginData)
+
+
Create a new network game control +

+

+
Parameters:
loginData - users login data for channel
+
+
+
+

startDedicatedServer

@@ -254,7 +596,7 @@ public boolean startDedicatedServer(java.lang.String password)

updateDedicatedServerPassword

-public void updateDedicatedServerPassword(jrummikub.util.LoginData loginData)
+public void updateDedicatedServerPassword(LoginData loginData)
If the login given is to our own dedicated server, update it's password to match @@ -276,7 +618,8 @@ public void updateDedicatedServerPassword(jrummikub.util.LoginData l - + + @@ -293,8 +636,8 @@ public void updateDedicatedServerPassword(jrummikub.util.LoginData l + PREV CLASS  + NEXT CLASS + SUMMARY: NESTED | FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD
-- cgit v1.2.3