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/util/class-use/Connection.html | 159 ++++++- doc/jrummikub/util/class-use/Event.html | 566 ++++++++++++++++++++++- doc/jrummikub/util/class-use/Event1.html | 431 +++++++++++++++++- doc/jrummikub/util/class-use/Event2.html | 126 +++++- doc/jrummikub/util/class-use/IEvent.html | 655 ++++++++++++++++++++++++++- doc/jrummikub/util/class-use/IEvent1.html | 525 ++++++++++++++++++++- doc/jrummikub/util/class-use/IEvent2.html | 170 ++++++- doc/jrummikub/util/class-use/IListener.html | 20 +- doc/jrummikub/util/class-use/IListener1.html | 34 +- doc/jrummikub/util/class-use/IListener2.html | 34 +- doc/jrummikub/util/class-use/Pair.html | 230 +++++++++- 11 files changed, 2882 insertions(+), 68 deletions(-) (limited to 'doc/jrummikub/util/class-use') diff --git a/doc/jrummikub/util/class-use/Connection.html b/doc/jrummikub/util/class-use/Connection.html index ebf6524..cc676f5 100644 --- a/doc/jrummikub/util/class-use/Connection.html +++ b/doc/jrummikub/util/class-use/Connection.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.util.Connection - + @@ -90,12 +90,147 @@ function windowTitle() Packages that use Connection +jrummikub.control +   + + +jrummikub.control.network +   + + +jrummikub.control.turn +   + + jrummikub.util     

+ + + + + +
+Uses of Connection in jrummikub.control
+  +

+ + + + + + + + + +
Fields in jrummikub.control declared as Connection
+private  ConnectionApplicationControl.tempConnection + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.control with type parameters of type Connection
+private  java.util.List<Connection>LoginControl.connections + +
+           
+protected  java.util.List<Connection>RoundControl.connections + +
+           
+protected  java.util.List<Connection>AbstractSettingsControl.connections + +
+           
+protected  java.util.List<Connection>GameControl.connections + +
+           
+  +

+ + + + + +
+Uses of Connection in jrummikub.control.network
+  +

+ + + + + + + + + + + + + +
Fields in jrummikub.control.network with type parameters of type Connection
+private  java.util.List<Connection>NetworkControl.connections + +
+           
+protected  java.util.List<Connection>AbstractGameBeginControl.connections + +
+           
+  +

+ + + + + +
+Uses of Connection in jrummikub.control.turn
+  +

+ + + + + + + + + +
Fields in jrummikub.control.turn with type parameters of type Connection
+protected  java.util.List<Connection>AbstractTurnControl.connections + +
+           
+  +

@@ -129,6 +264,14 @@ Uses of + + + + - @@ -153,7 +296,15 @@ Uses of - + + + + diff --git a/doc/jrummikub/util/class-use/Event.html b/doc/jrummikub/util/class-use/Event.html index 427d8cd..a659587 100644 --- a/doc/jrummikub/util/class-use/Event.html +++ b/doc/jrummikub/util/class-use/Event.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.util.Event - + @@ -83,7 +83,567 @@ function windowTitle()

Uses of Class
jrummikub.util.Event

-No usage of jrummikub.util.Event + +
 ConnectionEvent1.add(IListener1<T> listener) + +
+           
+ Connection IEvent1.add(IListener1<T> listener)
@@ -137,7 +280,7 @@ Uses of
 ConnectionEvent1.add(IListener1<T> listener) +Event2.add(IListener2<T1,T2> listener)
           
 ConnectionEvent2.add(IListener2<T1,T2> listener) +IEvent3.add(IListener3<T1,T2,T3> listener) + +
+          Start to publish all events to a given listener
+ ConnectionEvent3.add(IListener3<T1,T2,T3> listener)
           
+ + + + + + + + + + + + + + + + + + + +
+Packages that use Event
jrummikub.control  
jrummikub.control.network  
jrummikub.control.turn  
jrummikub.view.impl  
+  +

+ + + + + +
+Uses of Event in jrummikub.control
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.control declared as Event
+private  EventLoginControl.cancelEvent + +
+           
+protected  EventGameControl.endOfGameEvent + +
+           
+private  EventSaveControl.loadErrorEvent + +
+           
+private  EventTurnTimer.timeRunOutEvent + +
+           
+  +

+ + + + + + + + + +
Methods in jrummikub.control that return Event
+ EventSaveControl.getLoadErrorEvent() + +
+          The load error event is emitted when the file selected for loading is not + a rum file
+  +

+ + + + + +
+Uses of Event in jrummikub.control.network
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.control.network declared as Event
+private  EventNetworkSettingsControl.backEvent + +
+           
+protected  EventAbstractGameBeginControl.backEvent + +
+           
+private  EventNetworkControl.backToLoginEvent + +
+           
+private  EventConnectionControl.connectedEvent + +
+           
+private  EventConnectionControl.connectionLostEvent + +
+           
+private  EventConnectionControl.gameStartEvent + +
+           
+private  EventGameJoinControl.gameStartEvent + +
+           
+private  EventConnectionControl.nextPlayerEvent + +
+           
+private  EventConnectionControl.redealEvent + +
+           
+private  EventConnectionControl.roundStartEvent + +
+           
+private  EventNetworkControl.stopNetworkEvent + +
+           
+private  EventConnectionControl.turnStartEvent + +
+           
+  +

+ + + + + + + + + +
Methods in jrummikub.control.network that return Event
+ EventNetworkSettingsControl.getBackEvent() + +
+          The get back event is emitted when the player wants to go back to the + previous settings panel
+  +

+ + + + + + + + + +
Methods in jrummikub.control.network with parameters of type Event
+private static voidConnectionControl.emitLater(Event event) + +
+           
+  +

+ + + + + +
+Uses of Event in jrummikub.control.turn
+  +

+ + + + + + + + + +
Fields in jrummikub.control.turn declared as Event
+protected  EventAbstractTurnControl.redealEvent + +
+           
+  +

+ + + + + +
+Uses of Event in jrummikub.view.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.view.impl declared as Event
+private  EventStartTurnPanel.acknowledgeConnectionLostEvent + +
+           
+private  EventStartTurnPanel.acknowledgeInvalidEvent + +
+           
+private  EventSettingsPanel.addPlayerEvent + +
+           
+private  EventSettingsPanel.backEvent + +
+           
+private  EventStartTurnPanel.buttonEvent + +
+           
+private  EventQuitWarningPanel.cancelEvent + +
+           
+private  EventConnectPanel.cancelEvent + +
+           
+private  EventLoginPanel.cancelEvent + +
+           
+private  EventGameListPanel.cancelEvent + +
+           
+private  EventPausePanel.endPauseEvent + +
+           
+private  EventRoundEndPanel.endProgramEvent + +
+           
+private  EventPlayerPanel.endTurnEvent + +
+           
+private  EventView.loadEvent + +
+           
+private  EventSettingsPanel.loadGameEvent + +
+           
+private  EventView.menuNewGameEvent + +
+           
+private  EventSettingsPanel.networkGameEvent + +
+           
+private  EventView.networkGameEvent + +
+           
+private  EventRoundEndPanel.newGameEvent + +
+           
+private  EventRoundEndPanel.newRoundEvent + +
+           
+private  EventSettingsPanel.offerGameEvent + +
+           
+private  EventGameListPanel.openNewGameEvent + +
+           
+private  EventPlayerPanel.pauseEvent + +
+           
+private  EventQuitWarningPanel.quitEvent + +
+           
+private  EventView.quitEvent + +
+           
+private  EventPlayerPanel.redealEvent + +
+           
+private  EventSettingsPanel.setVariantChildrenEvent + +
+           
+private  EventSettingsPanel.setVariantDefaultEvent + +
+           
+private  EventPlayerPanel.sortByGroupsEvent + +
+           
+private  EventPlayerPanel.sortByRunsEvent + +
+           
+private  EventSettingsPanel.startGameEvent + +
+           
+private  EventStartTurnPanel.startTurnEvent + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in jrummikub.view.impl with parameters of type Event
+private  javax.swing.JButtonQuitWarningPanel.createButton(java.lang.String title, + Event event) + +
+           
+private  javax.swing.JButtonSettingsPanel.createButton(java.lang.String title, + Event event) + +
+           
+private  javax.swing.JMenuItemView.createMenuItem(java.lang.String text, + Event event) + +
+           


diff --git a/doc/jrummikub/util/class-use/Event1.html b/doc/jrummikub/util/class-use/Event1.html index b1a6dd7..ac468ce 100644 --- a/doc/jrummikub/util/class-use/Event1.html +++ b/doc/jrummikub/util/class-use/Event1.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.util.Event1 - + @@ -90,6 +90,18 @@ function windowTitle() Packages that use Event1 +jrummikub.control +   + + +jrummikub.control.network +   + + +jrummikub.control.turn +   + + jrummikub.view    @@ -100,6 +112,234 @@ Packages that use + + + + +
+Uses of Event1 in jrummikub.control
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.control declared as Event1
+private  Event1<Score>RoundControl.endOfRoundEvent + +
+           
+private  Event1<LoginData>LoginControl.loginEvent + +
+           
+private  Event1<PlayerSettings>RoundControl.restartRoundEvent + +
+           
+private  Event1<IRoundState>RoundControl.roundStateUpdateEvent + +
+           
+private  Event1<GameSettings>SettingsControl.startGameEvent + +
+           
+  +

+ + + + + +
+Uses of Event1 in jrummikub.control.network
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.control.network declared as Event1
+private  Event1<LoginError>ConnectionControl.connectionFailedEvent + +
+           
+private  Event1<java.lang.Boolean>ConnectionControl.gameJoinAckEvent + +
+           
+private  Event1<java.lang.String>ConnectionControl.gameJoinEvent + +
+           
+private  Event1<java.lang.String>ConnectionControl.gameLeaveEvent + +
+           
+private  Event1<GameData>ConnectionControl.gameOfferEvent + +
+           
+private  Event1<GameSettings>GameOfferControl.gameStartEvent + +
+           
+private  Event1<java.util.UUID>ConnectionControl.gameWithdrawalEvent + +
+           
+private  Event1<GameSettings>NetworkSettingsControl.offerGameEvent + +
+           
+private  Event1<java.lang.String>ConnectionControl.participantLeftEvent + +
+           
+private  Event1<IRoundState>ConnectionControl.roundStateUpdateEvent + +
+           
+private  Event1<ITable>ConnectionControl.tableUpdateEvent + +
+           
+  +

+ + + + + + + + + +
Methods in jrummikub.control.network that return Event1
+ Event1<GameSettings>NetworkSettingsControl.getOfferGameEvent() + +
+          The game offer event is emitted when a player wants to offer a new network + game
+  +

+ + + + + + + + + +
Methods in jrummikub.control.network with parameters of type Event1
+private static + + + + +
+<T> void
+
ConnectionControl.emitLater(Event1<T> event, + T arg) + +
+           
+  +

+ + + + + +
+Uses of Event1 in jrummikub.control.turn
+  +

+ + + + + + + + + +
Fields in jrummikub.control.turn declared as Event1
+protected  Event1<ITable>AbstractTurnControl.tableUpdateEvent + +
+           
+  +

@@ -145,6 +385,166 @@ Uses of + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.view.impl declared as Event1
+private  Event1<java.lang.Integer>SettingsPanel.changeHighestValueEvent + +
+           
+private  Event1<java.lang.Integer>SettingsPanel.changeInitialMeldThresholdEvent + +
+           
+private  Event1<java.lang.Integer>SettingsPanel.changeJokerNumberEvent + +
+           
+private  Event1<java.lang.Boolean>SettingsPanel.changeNoLimitsEvent + +
+           
+private  Event1<java.lang.Integer>SettingsPanel.changeNumberOfStonesDealtEvent + +
+           
+private  Event1<java.lang.Boolean>SettingsPanel.changeSeeHandSizeEvent + +
+           
+private  Event1<java.util.Set<StoneColor>>SettingsPanel.changeStoneColorsEvent + +
+           
+private  Event1<java.lang.Integer>SettingsPanel.changeStoneSetNumberEvent + +
+           
+private  Event1<java.lang.Integer>SettingsPanel.changeTimeEvent + +
+           
+private  Event1<Position>AbstractStonePanel.clickEvent + +
+           
+private  Event1<GameData>GameListPanel.joinEvent + +
+           
+private  Event1<StoneSet>TablePanel.leftConnectorClickEvent + +
+           
+private  Event1<java.io.File>View.loadFileEvent + +
+           
+private  Event1<LoginData>LoginPanel.loginEvent + +
+           
+private  Event1<java.awt.Point>StoneCollectionPanel.otherClickEvent + +
+           
+private  Event1<java.lang.Integer>SettingsPanel.removePlayerEvent + +
+           
+private  Event1<StoneSet>TablePanel.rightConnectorClickEvent + +
+           
+private  Event1<java.io.File>View.saveEvent + +
+           
+private  Event1<java.lang.String>LoginPanel.useDedicatedServer + +
+           
+  +

+ @@ -170,6 +570,33 @@ Uses of Event1<StoneSet> + +
Methods in jrummikub.view.impl that return Event1 TablePanel.getRightConnectorClickEvent() +
+           
+  +

+ + + + + + + + + + + + diff --git a/doc/jrummikub/util/class-use/Event2.html b/doc/jrummikub/util/class-use/Event2.html index 6621f3d..630693b 100644 --- a/doc/jrummikub/util/class-use/Event2.html +++ b/doc/jrummikub/util/class-use/Event2.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.util.Event2 - + @@ -90,12 +90,78 @@ function windowTitle() Packages that use Event2 + + + + + + + +
Methods in jrummikub.view.impl with parameters of type Event1
+private  javax.swing.JCheckBoxSettingsPanel.createOptionCheckbox(Event1<java.lang.Boolean> targetEvent) + +
+           
+private  javax.swing.JSpinnerSettingsPanel.createOptionSpinner(int min, + int max, + int step, + Event1<java.lang.Integer> targetEvent) +
           
jrummikub.control.network  
jrummikub.control.turn  
jrummikub.view.impl   
 

+ + + + + +
+Uses of Event2 in jrummikub.control.network
+  +

+ + + + + + + + + + + + + +
Fields in jrummikub.control.network declared as Event2
+private  Event2<java.lang.String,java.awt.Color>ConnectionControl.changeColorEvent + +
+           
+private  Event2<IRoundState,RoundControl.InvalidTurnInfo>ConnectionControl.turnEndEvent + +
+           
+  +

+ + + + + +
+Uses of Event2 in jrummikub.control.turn
+  +

+ + + + + + + + + +
Fields in jrummikub.control.turn declared as Event2
+protected  Event2<IRoundState,RoundControl.InvalidTurnInfo>AbstractTurnControl.endOfTurnEvent + +
+           
+  +

@@ -106,6 +172,62 @@ Uses of + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.view.impl declared as Event2
+private  Event2<java.lang.Integer,java.awt.Color>SettingsPanel.changePlayerColorEvent + +
+           
+private  Event2<java.lang.Integer,java.lang.String>SettingsPanel.changePlayerNameEvent + +
+           
+private  Event2<java.lang.Integer,PlayerSettings.Type>SettingsPanel.changePlayerTypeEvent + +
+           
+private  Event2<Stone,java.lang.Boolean>AbstractStonePanel.rangeClickEvent + +
+           
+private  Event2<Stone,java.lang.Boolean>AbstractStonePanel.setClickEvent + +
+           
+private  Event2<Stone,java.lang.Boolean>AbstractStonePanel.stoneClickEvent + +
+           
+  +

+ diff --git a/doc/jrummikub/util/class-use/IEvent.html b/doc/jrummikub/util/class-use/IEvent.html index 5f813a8..3dfbd98 100644 --- a/doc/jrummikub/util/class-use/IEvent.html +++ b/doc/jrummikub/util/class-use/IEvent.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.util.IEvent - + @@ -94,6 +94,14 @@ Packages that use + + + + + + + + @@ -125,18 +133,18 @@ Uses of - +          Getter for cancelEvent - +          Is emitted when the user ends the game and start a new one + + + + + + + + + + + + @@ -104,6 +116,266 @@ Packages that use +
Methods in jrummikub.view.impl that return Event2 jrummikub.control.network  
jrummikub.control.turn  
jrummikub.util   
 IEventTurnControl.getEndOfTurnEvent() +LoginControl.getCancelEvent()
-          Get the event that is emitted when the turn is over
 IEventRoundControl.getEndRoundEvent() +GameControl.getEndOfGameEvent()
-          End the round
@@ -157,6 +165,202 @@ Uses of + + + + +
+Uses of IEvent in jrummikub.control.network
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in jrummikub.control.network that return IEvent
+ IEventAbstractGameBeginControl.getBackEvent() + +
+          The back event is emitted when the player wants to go back to the previous + control and panel
+ IEventNetworkControl.getBackToLoginEvent() + +
+          The back to login event is emitted when the player aborted the connecting + process or when a connection error has occured and been acknowledged
+ IEventConnectionControl.getConnectedEvent() + +
+           
+ IEventIConnectionControl.getConnectedEvent() + +
+           
+ IEventConnectionControl.getConnectionLostEvent() + +
+           
+ IEventIConnectionControl.getConnectionLostEvent() + +
+           
+ IEventConnectionControl.getGameStartEvent() + +
+           
+ IEventIConnectionControl.getGameStartEvent() + +
+           
+ IEventConnectionControl.getNextPlayerEvent() + +
+           
+ IEventIConnectionControl.getNextPlayerEvent() + +
+           
+ IEventConnectionControl.getRedealEvent() + +
+           
+ IEventIConnectionControl.getRedealEvent() + +
+           
+ IEventConnectionControl.getRoundStartEvent() + +
+           
+ IEventIConnectionControl.getRoundStartEvent() + +
+           
+ IEventGameJoinControl.getStartGameEvent() + +
+          The event that is emitted when the game is started
+ IEventNetworkControl.getStopNetworkEvent() + +
+          Getter for stopNetworkEvent
+ IEventConnectionControl.getTurnStartEvent() + +
+           
+ IEventIConnectionControl.getTurnStartEvent() + +
+           
+  +

+ + + + + +
+Uses of IEvent in jrummikub.control.turn
+  +

+ + + + + + + + + + + + + +
Methods in jrummikub.control.turn that return IEvent
+ IEventAbstractTurnControl.getRedealEvent() + +
+           
+ IEventITurnControl.getRedealEvent() + +
+          Emitted when the round is aborted and needs to be restarted
+  +

@@ -199,6 +403,91 @@ Uses of + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +          Is emitted if the player wants to end the game and start a new one + + + + + + + + + + + + + + + + + + + + +          The quit event is emitted when the user wants to leave the application + + + + + + + + + + + + +          The sort by runs event is emitted when the player wants to sort his + stones by runs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -282,15 +830,31 @@ Uses of - +          The new round event is emitted when the player wants to start a new round - + + + + + + + + @@ -298,10 +862,58 @@ Uses of - + + + + +            + + + + + + + + + + + + + + + + + + + + - @@ -333,8 +945,15 @@ Uses of getStartTurnEvent()
-          The start turn event is emitted when the current player has clicked the - start turn button +            + + + +
 IEventIView.getAcknowledgeConnectionLostEvent() + +
+          The acknoledge connection lost event is emitted when the user has + acknowledged that the network connection was lost
+ IEventIView.getAcknowledgeInvalidEvent() + +
+          The start turn event is emitted when the player knows what invalid stones + he played
+ IEventISettingsPanel.getAddPlayerEvent() + +
+          The add player event is emitted when the user wants to add a player to the + player list
+ IEventISettingsPanel.getBackEvent() + +
+          Emitted when the user wants to go back to the panel before
+ IEventIConnectPanel.getCancelEvent() + +
+          Is emitted when the user wants to abort connecting or has acknowledged + the error
+ IEventILoginPanel.getCancelEvent() + +
+          Emitted when the user cancels the login process
+ IEventIQuitWarningPanel.getCancelEvent() + +
+          Is emitted if the user selected quit by mistake
+ IEventIGameListPanel.getCancelEvent() + +
+          Emitted when the network game is canceled
+ IEventIView.getEndPauseEvent() + +
+          The end pause event is emitted when the user wants to sresume the game + after a pause
+ IEventIView.getEndProgramEvent() + +
+          The quit event is emitted when the player wants to quit the game
+ IEvent IPlayerPanel.getEndTurnEvent()
@@ -207,10 +496,77 @@ Uses of
 IEventIView.getLoadEvent() + +
+          The load event is emitted when the user wants to load a previously saved + game state
+ IEventIView.getMenuNewGameEvent() + +
+          The menu new game event is emitted when the user selects the new game menu + entry
+ IEventIView.getNetworkGameEvent() + +
+          The network game event is emitted when the user chooses a network game
+ IEvent IView.getNewGameEvent()
-          The new game event is emitted when the player wants to start a new game
+ IEventIView.getNewRoundEvent() + +
+          The new round event is emitted when the player wants to start a new round
+ IEventISettingsPanel.getOfferGameEvent() + +
+          The offer new game event is emitted when a new game is started and looking + for players
+ IEventIGameListPanel.getOpenNewGameEvent() + +
+          Emitted when a new game is offered
+ IEventIView.getPauseEvent() + +
+          The pause event is emitted when the user wants to pause the current turn
+ IEventIQuitWarningPanel.getQuitEvent() + +
+          Is emitted if the user is positive about quitting
@@ -218,7 +574,31 @@ Uses of getQuitEvent()
-          The quit event is emitted when the player wants to quit the game
+ IEventIPlayerPanel.getRedealEvent() + +
+          The redeal event is emitted when the player wants to get new stones
+ IEventISettingsPanel.getSetVariantChildrenEvent() + +
+          Emitted when the children variant is chosen
+ IEventISettingsPanel.getSetVariantDefaultEvent() + +
+          Emitted when the variables are reset to the default values
@@ -235,8 +615,16 @@ Uses of getSortByRunsEvent()
-          The sort by runs event is emitted when the player wants to sort his stones - by runs
+ IEventISettingsPanel.getStartGameEvent() + +
+          the start game event is emitted when the user wants to start the game
@@ -265,9 +653,169 @@ Uses of +(package private)  IEventStartTurnPanel.getAcknowledgeConnectionLostEvent() + +
+           
+ IEventView.getAcknowledgeConnectionLostEvent() + +
+           
+(package private)  IEventStartTurnPanel.getAcknowledgeInvalidEvent() + +
+           
+ IEventView.getAcknowledgeInvalidEvent() + +
+           
+ IEventSettingsPanel.getAddPlayerEvent() + +
+           
+ IEventSettingsPanel.getBackEvent() + +
+           
+ IEventQuitWarningPanel.getCancelEvent() + +
+           
+ IEventConnectPanel.getCancelEvent() + +
+           
+ IEventLoginPanel.getCancelEvent() + +
+           
+ IEventGameListPanel.getCancelEvent() + +
+           
+(package private)  IEventPausePanel.getEndPauseEvent() + +
+           
+ IEventView.getEndPauseEvent() + +
+           
+(package private)  IEventRoundEndPanel.getEndProgramEvent() + +
+          The end program is emitted when the player wants to quit the program
+ IEventView.getEndProgramEvent() + +
+           
 IEvent PlayerPanel.getEndTurnEvent() +
+           
+ IEventView.getLoadEvent() + +
+           
+(package private)  IEventSettingsPanel.getLoadGameEvent() + +
+           
+ IEventView.getMenuNewGameEvent() + +
+           
+(package private)  IEventSettingsPanel.getNetworkGameEvent() + +
+           
+ IEventView.getNetworkGameEvent() + +
+           
+(package private)  IEventRoundEndPanel.getNewGameEvent() +
           
(package private)  IEventWinPanel.getNewGameEvent() +RoundEndPanel.getNewRoundEvent()
-          The new game event is emitted when the player wants to start a new game
 IEventView.getQuitEvent() +View.getNewRoundEvent() + +
+           
+ IEventSettingsPanel.getOfferGameEvent() + +
+           
+ IEventGameListPanel.getOpenNewGameEvent()
           
(package private)  IEventWinPanel.getQuitEvent() +PlayerPanel.getPauseEvent() + +
+           
+ IEventView.getPauseEvent()
-          The quit event is emitted when the player wants to quit the program
+ IEventQuitWarningPanel.getQuitEvent() + +
+           
+ IEventView.getQuitEvent() + +
+           
+ IEventPlayerPanel.getRedealEvent() + +
+           
+ IEventSettingsPanel.getSetVariantChildrenEvent() + +
+           
+ IEventSettingsPanel.getSetVariantDefaultEvent() + +
+           
@@ -322,7 +934,7 @@ Uses of  IEventView.getStartTurnEvent() +SettingsPanel.getStartGameEvent()
           
+ IEventView.getStartTurnEvent() + +
+           
  diff --git a/doc/jrummikub/util/class-use/IEvent1.html b/doc/jrummikub/util/class-use/IEvent1.html index 79d2d62..61bfb39 100644 --- a/doc/jrummikub/util/class-use/IEvent1.html +++ b/doc/jrummikub/util/class-use/IEvent1.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.util.IEvent1 - + @@ -90,6 +90,18 @@ function windowTitle() Packages that use IEvent1

jrummikub.control  
jrummikub.control.network  
jrummikub.control.turn  
jrummikub.util   
+ + + +
+Uses of IEvent1 in jrummikub.control
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in jrummikub.control that return IEvent1
+ IEvent1<Score>RoundControl.getEndOfRoundEvent() + +
+          End the round
+ IEvent1<LoginData>LoginControl.getLoginEvent() + +
+          Getter for loginEvent
+ IEvent1<PlayerSettings>RoundControl.getRestartRoundEvent() + +
+          Emitted when the round is aborted and needs to be restarted
+ IEvent1<IRoundState>RoundControl.getRoundStateUpdateEvent() + +
+          Is emitted in network when a new turn starts
+ IEvent1<GameSettings>SettingsControl.getStartGameEvent() + +
+          the start game event is emitted when the user wants to start a game and + the settings made are valid
+  +

+ + + + + +
+Uses of IEvent1 in jrummikub.control.network
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in jrummikub.control.network that return IEvent1
+ IEvent1<LoginError>ConnectionControl.getConnectionFailedEvent() + +
+           
+ IEvent1<LoginError>IConnectionControl.getConnectionFailedEvent() + +
+           
+ IEvent1<java.lang.Boolean>ConnectionControl.getGameJoinAckEvent() + +
+           
+ IEvent1<java.lang.Boolean>IConnectionControl.getGameJoinAckEvent() + +
+           
+ IEvent1<java.lang.String>ConnectionControl.getGameJoinEvent() + +
+           
+ IEvent1<java.lang.String>IConnectionControl.getGameJoinEvent() + +
+           
+ IEvent1<java.lang.String>ConnectionControl.getGameLeaveEvent() + +
+           
+ IEvent1<java.lang.String>IConnectionControl.getGameLeaveEvent() + +
+           
+ IEvent1<GameData>ConnectionControl.getGameOfferEvent() + +
+           
+ IEvent1<GameData>IConnectionControl.getGameOfferEvent() + +
+           
+ IEvent1<java.util.UUID>ConnectionControl.getGameWithdrawalEvent() + +
+           
+ IEvent1<java.util.UUID>IConnectionControl.getGameWithdrawalEvent() + +
+           
+ IEvent1<java.lang.String>ConnectionControl.getParticipantLeftEvent() + +
+           
+ IEvent1<java.lang.String>IConnectionControl.getParticipantLeftEvent() + +
+           
+ IEvent1<IRoundState>ConnectionControl.getRoundStateUpdateEvent() + +
+           
+ IEvent1<IRoundState>IConnectionControl.getRoundStateUpdateEvent() + +
+           
+ IEvent1<GameSettings>GameOfferControl.getStartGameEvent() + +
+          The event that is emitted when the game is started
+ IEvent1<ITable>ConnectionControl.getTableUpdateEvent() + +
+           
+ IEvent1<ITable>IConnectionControl.getTableUpdateEvent() + +
+           
+  +

+ + + + + +
+Uses of IEvent1 in jrummikub.control.turn
+  +

+ + + + + + + + + + + + + +
Methods in jrummikub.control.turn that return IEvent1
+ IEvent1<ITable>AbstractTurnControl.getTableUpdateEvent() + +
+           
+ IEvent1<ITable>ITurnControl.getTableUpdateEvent() + +
+          Emitted in network when the table changes during player turn
+  +

@@ -145,12 +417,141 @@ Uses of + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ IEvent1<java.lang.Integer>ISettingsPanel.getChangeHighestValueEvent() + +
+          The change highest value event is emitted when the user wants to set the + highest Stone value
+ IEvent1<java.lang.Integer>ISettingsPanel.getChangeInitialMeldThresholdEvent() + +
+          The change initial meld threshold event is emitted when the user wants + change the initial meld threshold
+ IEvent1<java.lang.Integer>ISettingsPanel.getChangeJokerNumberEvent() + +
+          Emitted when the joker number is changed
+ IEvent1<java.lang.Boolean>ISettingsPanel.getChangeNoLimitsEvent() + +
+          Emitted when no limits is chosen
+ IEvent1<java.lang.Integer>ISettingsPanel.getChangeNumberOfStonesDealtEvent() + +
+          The change number of Stones dealt event is emitted when the user wants to + be dealt more or less than 14 Stones at the game start
+ IEvent1<java.lang.Boolean>ISettingsPanel.getChangeSeeHandSizeEvent() + +
+          The change see hand size event is emitted when the player chooses to see + the other players hand sizes
+ IEvent1<java.util.Set<StoneColor>>ISettingsPanel.getChangeStoneColorsEvent() + +
+          The change Stone colors event is emitted when the user chooses the stone + colors to play with.
+ IEvent1<java.lang.Integer>ISettingsPanel.getChangeStoneSetNumberEvent() + +
+          The change StoneSet number event is emitted when the user wants to use more + or less than 2 StoneSets per color
+ IEvent1<java.lang.Integer>ISettingsPanel.getChangeTimeEvent() + +
+          Emitted when totalTime for a turn is changed
 IEvent1<Position> IClickable.getClickEvent()
          the click event is emitted when the player clicks on the table/hand/etc.
+ IEvent1<GameData>IGameListPanel.getJoinEvent() + +
+          Emitted when the user chose to join an existing, open game
+ IEvent1<java.io.File>IView.getLoadFileEvent() + +
+          The load file event is emitted when the user chose to discard the current + game to save another
+ IEvent1<LoginData>ILoginPanel.getLoginEvent() + +
+          Player has offered all information and wants to connect
+ IEvent1<java.lang.Integer>ISettingsPanel.getRemovePlayerEvent() + +
+          The remove player event is emitted when the user wants to remove a player + remove the player list
+ IEvent1<java.io.File>IView.getSaveEvent() + +
+          The save event is emitted when the user wants to save the current game + state
+ IEvent1<java.lang.String>ILoginPanel.getUseDedicatedServerEvent() + +
+          Emitted when the user presses the use dedicated server button
 

@@ -170,6 +571,102 @@ Uses of + IEvent1<java.lang.Integer> +SettingsPanel.getChangeHighestValueEvent() + +
+            + + + + IEvent1<java.lang.Integer> +SettingsPanel.getChangeInitialMeldThresholdEvent() + +
+            + + + + IEvent1<java.lang.Integer> +SettingsPanel.getChangeJokerNumberEvent() + +
+            + + + + IEvent1<java.lang.Boolean> +SettingsPanel.getChangeNoLimitsEvent() + +
+            + + + + IEvent1<java.lang.Integer> +SettingsPanel.getChangeNumberOfStonesDealtEvent() + +
+            + + + + IEvent1<java.lang.Boolean> +SettingsPanel.getChangeSeeHandSizeEvent() + +
+            + + + + IEvent1<java.util.Set<StoneColor>> +SettingsPanel.getChangeStoneColorsEvent() + +
+            + + + + IEvent1<java.lang.Integer> +SettingsPanel.getChangeStoneSetNumberEvent() + +
+            + + + + IEvent1<java.lang.Integer> +SettingsPanel.getChangeTimeEvent() + +
+            + + + + IEvent1<GameData> +GameListPanel.getJoinEvent() + +
+            + + + + IEvent1<java.io.File> +View.getLoadFileEvent() + +
+            + + + + IEvent1<LoginData> +LoginPanel.getLoginEvent() + +
+            + + + (package private)  IEvent1<java.awt.Point> StoneCollectionPanel.getOtherClickEvent() @@ -177,6 +674,30 @@ Uses of + + IEvent1<java.lang.Integer> +SettingsPanel.getRemovePlayerEvent() + +
+            + + + + IEvent1<java.io.File> +View.getSaveEvent() + +
+            + + + + IEvent1<java.lang.String> +LoginPanel.getUseDedicatedServerEvent() + +
+            +  

diff --git a/doc/jrummikub/util/class-use/IEvent2.html b/doc/jrummikub/util/class-use/IEvent2.html index 45fc983..e663aac 100644 --- a/doc/jrummikub/util/class-use/IEvent2.html +++ b/doc/jrummikub/util/class-use/IEvent2.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.util.IEvent2 - + @@ -90,6 +90,14 @@ function windowTitle() Packages that use IEvent2 +jrummikub.control.network +   + + +jrummikub.control.turn +   + + jrummikub.util    @@ -97,6 +105,92 @@ Packages that use jrummikub.view    + +jrummikub.view.impl +   + + +  +

+ + + + + +
+Uses of IEvent2 in jrummikub.control.network
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in jrummikub.control.network that return IEvent2
+ IEvent2<java.lang.String,java.awt.Color>ConnectionControl.getChangeColorEvent() + +
+           
+ IEvent2<java.lang.String,java.awt.Color>IConnectionControl.getChangeColorEvent() + +
+           
+ IEvent2<IRoundState,RoundControl.InvalidTurnInfo>ConnectionControl.getTurnEndEvent() + +
+           
+ IEvent2<IRoundState,RoundControl.InvalidTurnInfo>IConnectionControl.getTurnEndEvent() + +
+           
+  +

+ + + + + +
+Uses of IEvent2 in jrummikub.control.turn
+  +

+ + + + + + + + + + + + +
Methods in jrummikub.control.turn that return IEvent2
+ IEvent2<IRoundState,RoundControl.InvalidTurnInfo>AbstractTurnControl.getEndOfTurnEvent() + +
+           
+ IEvent2<IRoundState,RoundControl.InvalidTurnInfo>ITurnControl.getEndOfTurnEvent() + +
+          Get the event that is emitted when the turn is over
 

@@ -141,12 +235,39 @@ Uses of + IEvent2<java.lang.Integer,java.awt.Color> +ISettingsPanel.getChangePlayerColorEvent() + +
+          The change player color event is emitted when the user wants change a + player's color + + + + IEvent2<java.lang.Integer,java.lang.String> +ISettingsPanel.getChangePlayerNameEvent() + +
+          The change player color event is emitted when the user wants change a + player's name + + + + IEvent2<java.lang.Integer,PlayerSettings.Type> +ISettingsPanel.getChangePlayerTypeEvent() + +
+          The change player color event is emitted when the user wants change a + player's type + + +  IEvent2<Stone,java.lang.Boolean> IStonePanel.getRangeClickEvent()
          the range click event is emitted when the player clicks on the table/hand/ - etc. + etc. and wants to select a range instead of a single stone @@ -155,7 +276,7 @@ Uses of @@ -168,6 +289,47 @@ Uses of + + + + +
+Uses of IEvent2 in jrummikub.view.impl
+  +

+ + + + + + + + + + + + + + + + + +
Methods in jrummikub.view.impl that return IEvent2
+ IEvent2<java.lang.Integer,java.awt.Color>SettingsPanel.getChangePlayerColorEvent() + +
+           
+ IEvent2<java.lang.Integer,java.lang.String>SettingsPanel.getChangePlayerNameEvent() + +
+           
+ IEvent2<java.lang.Integer,PlayerSettings.Type>SettingsPanel.getChangePlayerTypeEvent() + +
+           
+  +


diff --git a/doc/jrummikub/util/class-use/IListener.html b/doc/jrummikub/util/class-use/IListener.html index 03317c3..c2b280e 100644 --- a/doc/jrummikub/util/class-use/IListener.html +++ b/doc/jrummikub/util/class-use/IListener.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.util.IListener - + @@ -106,6 +106,22 @@ Uses of + +Fields in jrummikub.util with type parameters of type IListener + + + +private  java.util.HashSet<IListener> +Event.listeners + +
+            + + +  +

+ diff --git a/doc/jrummikub/util/class-use/IListener1.html b/doc/jrummikub/util/class-use/IListener1.html index 9f2b368..d31ec43 100644 --- a/doc/jrummikub/util/class-use/IListener1.html +++ b/doc/jrummikub/util/class-use/IListener1.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.util.IListener1 - + @@ -108,15 +108,23 @@ Uses of - + - + +            + +
Methods in jrummikub.util with parameters of type IListener
Methods in jrummikub.util with parameters of type IListener1Fields in jrummikub.util with type parameters of type IListener1
- ConnectionIEvent1.add(IListener1<T> listener) +private  java.util.HashSet<IListener1<T>>Event1.listeners
-          Start to publish all events to a given listener
+  +

+ + + + - + +          Start to publish all events to a given listener + +
Methods in jrummikub.util with parameters of type IListener1
@@ -128,11 +136,11 @@ Uses of - voidIEvent1.remove(IListener1<T> listener) + ConnectionIEvent1.add(IListener1<T> listener)
-          Stop publishing events to a given listener
@@ -142,6 +150,14 @@ Uses of + + voidIEvent1.remove(IListener1<T> listener) + +
+          Stop publishing events to a given listener
 

diff --git a/doc/jrummikub/util/class-use/IListener2.html b/doc/jrummikub/util/class-use/IListener2.html index 5e0d7ec..142038f 100644 --- a/doc/jrummikub/util/class-use/IListener2.html +++ b/doc/jrummikub/util/class-use/IListener2.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.util.IListener2 - + @@ -108,15 +108,23 @@ Uses of -Methods in jrummikub.util with parameters of type IListener2 +Fields in jrummikub.util with type parameters of type IListener2 - Connection -IEvent2.add(IListener2<T1,T2> listener) +private  java.util.HashSet<IListener2<T1,T2>> +Event2.listeners
-          Start to publish all events to a given listener +            + + +  +

+ + + + - + +          Start to publish all events to a given listener + +
Methods in jrummikub.util with parameters of type IListener2
@@ -128,11 +136,11 @@ Uses of - voidIEvent2.remove(IListener2<T1,T2> listener) + ConnectionIEvent2.add(IListener2<T1,T2> listener)
-          Stop publishing events to a given listener
@@ -142,6 +150,14 @@ Uses of + + voidIEvent2.remove(IListener2<T1,T2> listener) + +
+          Stop publishing events to a given listener
 

diff --git a/doc/jrummikub/util/class-use/Pair.html b/doc/jrummikub/util/class-use/Pair.html index 3e02241..b672399 100644 --- a/doc/jrummikub/util/class-use/Pair.html +++ b/doc/jrummikub/util/class-use/Pair.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.util.Pair - + @@ -94,6 +94,10 @@ Packages that use +jrummikub.control.turn +   + + jrummikub.model    @@ -118,14 +122,61 @@ Uses of + +Methods in jrummikub.control that return Pair + + + +private static Pair<java.lang.Integer,java.lang.Integer> +RoundControl.updateBestScore(Pair<java.lang.Integer,java.lang.Integer> bestScore, + int stonePoints, + int size) + +
+          Update the best score to find the winner in case of special game end + (everybody still has stones on hand) + + +  +

+ + + +
Methods in jrummikub.control with parameters of type Pair
+private static Pair<java.lang.Integer,java.lang.Integer>RoundControl.updateBestScore(Pair<java.lang.Integer,java.lang.Integer> bestScore, + int stonePoints, + int size) + +
+          Update the best score to find the winner in case of special game end + (everybody still has stones on hand)
+  +

+ + + + + +
+Uses of Pair in jrummikub.control.turn
+  +

+ + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in jrummikub.control.turn with parameters of type Pair
 intTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, +HumanTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2)
@@ -134,7 +185,7 @@ Uses of
 intTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, +HumanTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2)
@@ -159,6 +210,14 @@ Uses of
+private static java.util.Comparator<Pair<java.lang.Integer,StoneColor>>Hand.comparator + +
+          The measure to compare the stones by
protected  java.util.HashMap<E,Pair<E,Position>> StoneTray.objects @@ -175,6 +234,32 @@ Uses of + Pair<StoneSet.Type,java.lang.Integer>StoneSet.classify(GameSettings settings) + +
+          Test for rule conflict within the StoneSet and determine whether the set is + a group or a run
+private  Pair<StoneSet.Type,java.lang.Integer>StoneSet.classifyJokersOnly(GameSettings settings) + +
+          Test for rule conflict within a StoneSet with jokers only and determine + whether the set is a group or a run
+private static Pair<java.util.TreeMap<Pair<java.lang.Integer,StoneColor>,java.lang.Integer>,java.lang.Integer>Hand.countStones(java.util.List<Stone> stones) + +
+          Counts the numbers of stones
protected  Pair<Position,StoneTray.Direction> StoneTray.fixInvalidDrop(E object, Position pos, @@ -213,6 +298,14 @@ Uses of +private static Pair<java.util.TreeMap<Pair<java.lang.Integer,StoneColor>,java.lang.Integer>,java.lang.Integer>Hand.countStones(java.util.List<Stone> stones) + +
+          Counts the numbers of stones
 java.util.Iterator<Pair<E,Position>> StoneTray.iterator() @@ -222,6 +315,60 @@ Uses of +
Methods in jrummikub.model with parameters of type Pair
+private  StoneTray.DirectionStoneTray.getMoveDirection(E object, + Position position, + Pair<E,Position> blocking) + +
+          Returns the direction to move the object in
+private  booleanStoneTray.getMoveOrientation(E object, + Position position, + Pair<E,Position> blocking) + +
+          Will the object be moved horizontally or vertically
+private static voidHand.incrementStoneCount(java.util.TreeMap<Pair<java.lang.Integer,StoneColor>,java.lang.Integer> stones, + Pair<java.lang.Integer,StoneColor> stone) + +
+          Increments the count of a stone in the list of all stones
+  +

+ + + + + + + + + +
Method parameters in jrummikub.model with type arguments of type Pair
+private static voidHand.incrementStoneCount(java.util.TreeMap<Pair<java.lang.Integer,StoneColor>,java.lang.Integer> stones, + Pair<java.lang.Integer,StoneColor> stone) + +
+          Increments the count of a stone in the list of all stones
+  +

@@ -265,23 +412,63 @@ Uses of + + + + + + + + + + + + + + + +
Fields in jrummikub.view.impl with type parameters of type Pair
+private  java.util.List<Pair<StoneSet,Position>>TablePanel.pauseStoneSets + +
+           
+private  java.lang.Iterable<Pair<Stone,Position>>AbstractStonePanel.stones + +
+           
+private  java.lang.Iterable<Pair<StoneSet,Position>>TablePanel.stoneSets + +
+           
+  +

+ - + +          Counts the empty slots for network players in a game + + + + @@ -293,6 +480,15 @@ Uses of + + +
Methods in jrummikub.view.impl that return Pair
-protected  Pair<java.lang.Integer,java.lang.Integer>AbstractStonePanel.getTranslation() +private static Pair<java.lang.Integer,java.lang.Integer>GameListPanel.getPlayerSlotCount(GameData gameData)
-          Returns the translation in pixels the stones in this panel are painted with
protected  Pair<java.lang.Integer,java.lang.Integer> StoneCollectionPanel.getTranslation() +
+           
+ Pair<java.lang.Integer,java.lang.Integer>HandPanel.getTranslation() +
           
+protected  Pair<java.lang.Integer,java.lang.Integer>AbstractStonePanel.getTranslation() + +
+          Returns the translation in pixels the stones in this panel are painted + with
 

@@ -303,6 +499,14 @@ Uses of +private  java.util.List<Pair<Stone,Position>> +View.createDecorationStones() + +
+            + + + protected  java.lang.Iterable<Pair<Stone,Position>> AbstractStonePanel.getStones() @@ -319,19 +523,19 @@ Uses of -protected  void -AbstractStonePanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones) + void +HandPanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones)
-          Sets the list of stones that can be clicked on +            - void -HandPanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones) +protected  void +AbstractStonePanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones)
-            +          Sets the list of stones that can be clicked on -- cgit v1.2.3