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/model/class-use/GameState.html | 175 ++++++++- doc/jrummikub/model/class-use/Hand.html | 4 +- doc/jrummikub/model/class-use/IHand.html | 100 +++++- doc/jrummikub/model/class-use/IPlayer.html | 192 +++++++++- doc/jrummikub/model/class-use/IStoneTray.html | 4 +- doc/jrummikub/model/class-use/ITable.html | 273 ++++++++++++-- doc/jrummikub/model/class-use/Player.html | 42 ++- doc/jrummikub/model/class-use/Position.html | 286 +++++++++++++-- doc/jrummikub/model/class-use/Sizeable.html | 4 +- doc/jrummikub/model/class-use/Stone.html | 398 +++++++++++++++++++-- doc/jrummikub/model/class-use/StoneColor.html | 297 ++++++++++++++- doc/jrummikub/model/class-use/StoneHeap.html | 28 +- doc/jrummikub/model/class-use/StoneSet.Type.html | 39 +- doc/jrummikub/model/class-use/StoneSet.html | 331 ++++++++++++++++- .../model/class-use/StoneTray.Direction.html | 47 ++- doc/jrummikub/model/class-use/StoneTray.html | 4 +- doc/jrummikub/model/class-use/Table.html | 4 +- 17 files changed, 2088 insertions(+), 140 deletions(-) (limited to 'doc/jrummikub/model/class-use') diff --git a/doc/jrummikub/model/class-use/GameState.html b/doc/jrummikub/model/class-use/GameState.html index 166ec0a..d30de82 100644 --- a/doc/jrummikub/model/class-use/GameState.html +++ b/doc/jrummikub/model/class-use/GameState.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.GameState - + @@ -83,7 +83,176 @@ function windowTitle()

Uses of Class
jrummikub.model.GameState

-No usage of jrummikub.model.GameState + + + + + + + + + + + + + +
+Packages that use GameState
jrummikub.control  
jrummikub.model  
+  +

+ + + + + +
+Uses of GameState in jrummikub.control
+  +

+ + + + + + + + + + + + + +
Fields in jrummikub.control declared as GameState
+protected  GameStateGameControl.gameState + +
+           
+private  GameStateSaveControl.gameState + +
+           
+  +

+ + + + + + + + + +
Fields in jrummikub.control with type parameters of type GameState
+private  Event3<GameSettings,GameState,IRoundState>SaveControl.loadEvent + +
+           
+  +

+ + + + + + + + + +
Methods in jrummikub.control that return types with arguments of type GameState
+ IEvent3<GameSettings,GameState,IRoundState>SaveControl.getLoadEvent() + +
+          Getter for loadEvent
+  +

+ + + + + + + + + + + + + +
Methods in jrummikub.control with parameters of type GameState
+ voidGameControl.continueGame(GameState gameState, + IRoundState roundState) + +
+          Continues game after loading
+ voidSaveControl.setGameState(GameState gameState) + +
+          Sets the current game state
+  +

+ + + + + +
+Uses of GameState in jrummikub.model
+  +

+ + + + + + + + + +
Fields in jrummikub.model declared as GameState
+private  GameStateRoundState.gameState + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in jrummikub.model that return GameState
+ GameStateIRoundState.getGameState() + +
+          Returns the game state
+ GameStateRoundState.getGameState() + +
+           
+  +

+ + + + + + + + +
Constructors in jrummikub.model with parameters of type GameState
RoundState(GameSettings gameSettings, + GameState gameState) + +
+          Create a new RoundState with an empty table


diff --git a/doc/jrummikub/model/class-use/Hand.html b/doc/jrummikub/model/class-use/Hand.html index a0a5082..4a8afb4 100644 --- a/doc/jrummikub/model/class-use/Hand.html +++ b/doc/jrummikub/model/class-use/Hand.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.Hand - + diff --git a/doc/jrummikub/model/class-use/IHand.html b/doc/jrummikub/model/class-use/IHand.html index 70e4ca9..66060e7 100644 --- a/doc/jrummikub/model/class-use/IHand.html +++ b/doc/jrummikub/model/class-use/IHand.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.model.IHand - + @@ -90,7 +90,7 @@ function windowTitle() Packages that use IHand -jrummikub.control +jrummikub.control.turn    @@ -100,11 +100,11 @@ Packages that use + +Uses of IHand in jrummikub.control.turn
-Uses of IHand in jrummikub.control
  @@ -112,25 +112,47 @@ Uses of -Constructors in jrummikub.control with parameters of type IHand +Fields in jrummikub.control.turn declared as IHand -TurnControl(IHand hand, - ITable table, - IView view) + +private  IHand +ITurnControl.TurnInfo.hand + +
+            + + + +private  IHand +ITurnControl.TurnInfo.oldHand + +
+            + + +  +

+ + + + + + + + +          Gets the current player's hand - + +          Gets the current player's hand at the beginning of the turn
Methods in jrummikub.control.turn that return IHand
+ IHandITurnControl.TurnInfo.getHand()
-          Create a new TurnControl using a given hand (of the active player), a given - table and a given view for user interaction.
TurnControl(IHand hand, - ITable table, - IView view, - ITurnTimer testTimer) + + IHandITurnControl.TurnInfo.getOldHand()
-          Test only constructor
  @@ -163,16 +185,24 @@ Uses of -Methods in jrummikub.model that return IHand +Fields in jrummikub.model declared as IHand - IHand -Player.getHand() +private  IHand +Player.hand
            + +  +

+ + + + + @@ -181,6 +211,38 @@ Uses of + + + +
Methods in jrummikub.model that return IHand
 IHand + IHandPlayer.getHand() + +
+           
+  +

+ + + + + + + + + + + + +
Methods in jrummikub.model with parameters of type IHand
+ voidIPlayer.setHand(IHand hand) + +
+          Set the current hand of the player
+ voidPlayer.setHand(IHand hand) + +
+           
 

diff --git a/doc/jrummikub/model/class-use/IPlayer.html b/doc/jrummikub/model/class-use/IPlayer.html index 9c4cd54..98672ce 100644 --- a/doc/jrummikub/model/class-use/IPlayer.html +++ b/doc/jrummikub/model/class-use/IPlayer.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.model.IPlayer - + @@ -93,6 +93,14 @@ Packages that use jrummikub.model    + +jrummikub.view +   + + +jrummikub.view.impl +   +  

@@ -122,6 +130,22 @@ Uses of + +Fields in jrummikub.model declared as IPlayer + + + +private  IPlayer +RoundState.lastPlayer + +
+            + + +  +

+ @@ -129,7 +153,15 @@ Uses of - + + + + @@ -137,15 +169,16 @@ Uses of - +          Sets the player that will make the last turn before the round ends when the + heap is empty - @@ -153,11 +186,156 @@ Uses of - + + + + + + + + + + + + +
Methods in jrummikub.model that return IPlayer  IPlayerGameState.getActivePlayer() +IRoundState.getActivePlayer() + +
+          Returns the currently active player
+ IPlayerRoundState.getActivePlayer()
           
 IPlayerIGameState.getActivePlayer() +IRoundState.getLastPlayer()
-          Returns the currently active player
 IPlayerGameState.getNthNextPlayer(int i) +RoundState.getLastPlayer()
           
 IPlayerIGameState.getNthNextPlayer(int i) +IRoundState.getNthNextPlayer(int i)
          Returns the player that would be the active player after i turns
+ IPlayerRoundState.getNthNextPlayer(int i) + +
+           
+ IPlayerIRoundState.getNthPlayer(int i) + +
+          Returns the nth player
+ IPlayerRoundState.getNthPlayer(int i) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in jrummikub.model with parameters of type IPlayer
+ voidIRoundState.setLastPlayer(IPlayer lastPlayer) + +
+          Gets the player that will make the last turn before the round ends when the + heap is empty
+ voidRoundState.setLastPlayer(IPlayer lastPlayer) + +
+           
+  +

+ + + + + +
+Uses of IPlayer in jrummikub.view
+  +

+ + + + + + + + + +
Method parameters in jrummikub.view with type arguments of type IPlayer
+ voidISidePanel.setPlayers(java.util.List<IPlayer> players) + +
+          Sets the player information in order of turns
+  +

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

+ + + + + + + + + + + + + +
Methods in jrummikub.view.impl with parameters of type IPlayer
+private  voidSidePanel.PlayerListItem.addHandSizeInfo(IPlayer player) + +
+           
+private  voidSidePanel.PlayerListItem.addLastTurnInfo(IPlayer player) + +
+           
+  +

+ + + + + + + + + + + + + +
Method parameters in jrummikub.view.impl with type arguments of type IPlayer
+ voidSidePanel.setPlayers(java.util.List<IPlayer> players) + +
+           
+(package private)  voidSidePanel.PlayerListPanel.setPlayers(java.util.List<IPlayer> players) + +
+           
+  +

+ + + + + + + +
Constructors in jrummikub.view.impl with parameters of type IPlayer
SidePanel.PlayerListItem(IPlayer player) + +
+           
 

diff --git a/doc/jrummikub/model/class-use/IStoneTray.html b/doc/jrummikub/model/class-use/IStoneTray.html index dc1e289..55c0d83 100644 --- a/doc/jrummikub/model/class-use/IStoneTray.html +++ b/doc/jrummikub/model/class-use/IStoneTray.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.model.IStoneTray - + diff --git a/doc/jrummikub/model/class-use/ITable.html b/doc/jrummikub/model/class-use/ITable.html index f3a4745..fb3ec20 100644 --- a/doc/jrummikub/model/class-use/ITable.html +++ b/doc/jrummikub/model/class-use/ITable.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.model.ITable - + @@ -94,6 +94,14 @@ Packages that use +jrummikub.control.network +   + + +jrummikub.control.turn +   + + jrummikub.model    @@ -112,13 +120,12 @@ Uses of -Methods in jrummikub.control with parameters of type ITable +Fields in jrummikub.control declared as ITable -(package private) static java.util.Set<Stone> -RoundControl.tableDifference(ITable oldTable, - ITable newTable) +private  ITable +RoundControl.InvalidTurnInfo.table
            @@ -127,27 +134,229 @@ Uses of + +Methods in jrummikub.control that return ITable + + + + ITable +RoundControl.InvalidTurnInfo.getTable() + +
+          Getter for table + + +  +

+ - + +
Constructors in jrummikub.control with parameters of type ITable
TurnControl(IHand hand, - ITable table, - IView view) +RoundControl.InvalidTurnInfo(ITable table, + RoundControl.InvalidTurnType type, + java.util.Collection<StoneSet> invalidSets) + +
+          Creates new InvalidTurnInfo
+  +

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

+ + + + + + + + + +
Fields in jrummikub.control.network with type parameters of type ITable
+private  Event1<ITable>ConnectionControl.tableUpdateEvent + +
+           
+  +

+ + + + + + + + +            - + +            + +
Methods in jrummikub.control.network that return types with arguments of type ITable
+ IEvent1<ITable>ConnectionControl.getTableUpdateEvent()
-          Create a new TurnControl using a given hand (of the active player), a given - table and a given view for user interaction.
TurnControl(IHand hand, - ITable table, - IView view, - ITurnTimer testTimer) + + IEvent1<ITable>IConnectionControl.getTableUpdateEvent()
-          Test only constructor
+  +

+ + + + + + + + + + + + + +
Methods in jrummikub.control.network with parameters of type ITable
+ voidConnectionControl.updateTable(ITable table) + +
+           
+ voidIConnectionControl.updateTable(ITable table) + +
+           
+  +

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

+ + + + + + + + + + + + + +
Fields in jrummikub.control.turn declared as ITable
+private  ITableITurnControl.TurnInfo.oldTable + +
+           
+private  ITableITurnControl.TurnInfo.table + +
+           
+  +

+ + + + + + + + + +
Fields in jrummikub.control.turn with type parameters of type ITable
+protected  Event1<ITable>AbstractTurnControl.tableUpdateEvent + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in jrummikub.control.turn that return ITable
+ ITableITurnControl.TurnInfo.getOldTable() + +
+          Gets the table at the beginning of the turn
+ ITableITurnControl.TurnInfo.getTable() + +
+          Gets the current table
+  +

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

+ + + + + + + + + + + +
Methods in jrummikub.control.turn with parameters of type ITable
+(package private) static java.util.Set<Stone>AbstractTurnControl.tableDifference(ITable oldTable, + ITable newTable) + +
+           
+(package private) static java.util.List<StoneSet>AbstractTurnControl.tableSetDifference(ITable oldTable, + ITable newTable) + +
+           
  @@ -180,24 +389,40 @@ Uses of -Methods in jrummikub.model that return ITable +Fields in jrummikub.model declared as ITable - ITable -GameState.getTable() +private  ITable +RoundState.table
            + +  +

+ + + + + - + + + +
Methods in jrummikub.model that return ITable
 ITableIGameState.getTable() +IRoundState.getTable()
          Get the current Table
+ ITableRoundState.getTable() + +
+           
 

@@ -209,18 +434,18 @@ Uses of  void -GameState.setTable(ITable table) +IRoundState.setTable(ITable table)
-            +          Sets the current Table  void -IGameState.setTable(ITable table) +RoundState.setTable(ITable table)
-          Sets the current Table +              diff --git a/doc/jrummikub/model/class-use/Player.html b/doc/jrummikub/model/class-use/Player.html index 247668f..fdff2f3 100644 --- a/doc/jrummikub/model/class-use/Player.html +++ b/doc/jrummikub/model/class-use/Player.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.Player - + @@ -83,7 +83,43 @@ function windowTitle()

Uses of Class
jrummikub.model.Player

-No usage of jrummikub.model.Player + + + + + + + + + +
+Packages that use Player
jrummikub.model  
+  +

+ + + + + +
+Uses of Player in jrummikub.model
+  +

+ + + + + + + + + +
Fields in jrummikub.model with type parameters of type Player
+private  java.util.ArrayList<Player>RoundState.players + +
+           


diff --git a/doc/jrummikub/model/class-use/Position.html b/doc/jrummikub/model/class-use/Position.html index 23071cd..648df09 100644 --- a/doc/jrummikub/model/class-use/Position.html +++ b/doc/jrummikub/model/class-use/Position.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.Position - + @@ -90,7 +90,7 @@ function windowTitle() Packages that use Position -jrummikub.control +jrummikub.control.turn    @@ -108,11 +108,11 @@ Packages that use + +Uses of Position in jrummikub.control.turn
-Uses of Position in jrummikub.control
  @@ -120,12 +120,36 @@ Uses of -Method parameters in jrummikub.control with type arguments of type Position +Methods in jrummikub.control.turn with parameters of type Position + + + +private  void +HumanTurnControl.handClick(Position pos) + +
+            + + + +private  void +HumanTurnControl.tableClick(Position position) + +
+            + + +  +

+ + + + - - + + + + + + +
Method parameters in jrummikub.control.turn with type arguments of type Position
 intTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, +HumanTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2)
@@ -134,7 +158,7 @@ Uses of
 intTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, +HumanTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2)
@@ -153,6 +177,22 @@ Uses of +
Fields in jrummikub.model declared as Position
+(package private)  PositionTable.StoneInfo.setPosition + +
+           
+  +

+ @@ -175,6 +215,18 @@ Uses of + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.model with type parameters of type Position +private  PositionStoneTray.getNewPosition(E object, + Position position, + StoneTray.Direction newDirection, + E currentObject, + Position currentPosition) + +
+           
 Position StoneTray.getPosition(E object) @@ -254,6 +306,27 @@ Uses of +private  voidStoneTray.drop(E object, + Position position, + StoneTray.Direction direction) + +
+          Subroutine to "drop" to consider and determine the direction the objects + dropped one collides with position-wise evade in
+private  voidStoneTray.dropUnchecked(E object, + Position position, + StoneTray.Direction direction) + +
+          Subroutine to "drop" to execute the actual drop
protected  Pair<Position,StoneTray.Direction> StoneTray.fixInvalidDrop(E object, Position pos, @@ -270,6 +343,103 @@ Uses of Position pos, StoneTray.Direction dir) +
+           
+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  PositionStoneTray.getNewPosition(E object, + Position position, + StoneTray.Direction newDirection, + E currentObject, + Position currentPosition) + +
+           
+private  booleanStoneTray.objectsOverlap(E object1, + Position position1, + E object2, + Position position2) + +
+          Tests whether two objects overlap
+private  voidTable.splitSet(StoneSet set, + Position setPosition, + int stonePosition) + +
+          Splits a stone set at a specified position
+  +

+ + + + + + + + + + + + + +
Method parameters in jrummikub.model with type arguments of type Position
+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
+  +

+ + + + + + + @@ -335,13 +505,53 @@ Uses of + + + + + + + + + + + + + + + + + + + +
Constructors in jrummikub.model with parameters of type Position
Table.StoneInfo(StoneSet set, + Position setPosition, + int stonePosition) +
           
Fields in jrummikub.view.impl with type parameters of type Position
+private  Event1<Position>AbstractStonePanel.clickEvent + +
+           
+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 + +
+           
+  +

+ +(package private)  Position + + + + - + +          Gets the stone at the specified position - + +          Overwrite this method to signal if special zone was clicked - + + + + + + + + +
Methods in jrummikub.view.impl that return Position
- Position StonePainter.calculatePosition(int x, int y) @@ -358,6 +568,14 @@ Uses of +private  java.util.List<Pair<Stone,Position>>View.createDecorationStones() + +
+           
 Event1<Position> AbstractStonePanel.getClickEvent() @@ -382,11 +600,11 @@ Uses of -protected  booleanAbstractStonePanel.handleOtherClickEvent(Position pos) +private  StoneAbstractStonePanel.getStoneAt(Position pos)
-          Overwrite this method to signal if special zone was clicked
@@ -406,11 +624,11 @@ Uses of -protected  voidAbstractStonePanel.handleOtherMoveEvent(Position pos) +protected  booleanAbstractStonePanel.handleOtherClickEvent(Position pos)
-          Overwrite this method to signal if special zone was hovered
@@ -422,16 +640,36 @@ Uses of - voidStonePainter.paintStone(java.awt.Graphics2D g, +protected  voidAbstractStonePanel.handleOtherMoveEvent(Position pos) + +
+          Overwrite this method to signal if special zone was hovered
+(package private)  voidStonePainter.paintStone(java.awt.Graphics2D g, Stone stone, Position p, - boolean selected, + StonePainter.StoneState state, boolean hovered)
          Paints a stone
+private  voidTablePanel.paintStoneSet(java.awt.Graphics2D g, + StoneSet stoneSet, + Position pos, + java.awt.geom.Area connectorArea, + java.awt.geom.Area hoveredConnectorArea) + +
+           
 

@@ -442,19 +680,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 diff --git a/doc/jrummikub/model/class-use/Sizeable.html b/doc/jrummikub/model/class-use/Sizeable.html index f3092e7..742048b 100644 --- a/doc/jrummikub/model/class-use/Sizeable.html +++ b/doc/jrummikub/model/class-use/Sizeable.html @@ -2,12 +2,12 @@ - + Uses of Interface jrummikub.model.Sizeable - + diff --git a/doc/jrummikub/model/class-use/Stone.html b/doc/jrummikub/model/class-use/Stone.html index 0e84e0a..100ed98 100644 --- a/doc/jrummikub/model/class-use/Stone.html +++ b/doc/jrummikub/model/class-use/Stone.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.Stone - + @@ -90,7 +90,11 @@ function windowTitle() Packages that use Stone -jrummikub.control +jrummikub.ai +   + + +jrummikub.control.turn    @@ -108,11 +112,11 @@ Packages that use + +Uses of Stone in jrummikub.ai
-Uses of Stone in jrummikub.control
  @@ -120,12 +124,93 @@ Uses of -Methods in jrummikub.control that return types with arguments of type Stone +Fields in jrummikub.ai with type parameters of type Stone + + + +private  java.util.List<Stone> +TurnLogic.inputStones + +
+            + + +  +

+ + + + + + + + +
Constructors in jrummikub.ai with parameters of type Stone
TurnLogic.StoneState(int id, + Stone stone, + boolean table) + +
+          Creates a new
+  +

+ + + + + + + + + + + +
Constructor parameters in jrummikub.ai with type arguments of type Stone
TurnLogic(GameSettings settings, + java.util.Collection<Stone> tableStones, + java.util.Collection<Stone> handStones) + +
+          Creates new turn logic
TurnLogic(GameSettings settings, + java.util.Collection<Stone> tableStones, + java.util.Collection<Stone> handStones) + +
+          Creates new turn logic
+  +

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

+ + + + + + + + + +
Fields in jrummikub.control.turn with type parameters of type Stone
+private  java.util.List<Stone>HumanTurnControl.selectedStones + +
+           
+  +

+ + + + - - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in jrummikub.control.turn that return types with arguments of type Stone
(package private) static java.util.Set<Stone>RoundControl.tableDifference(ITable oldTable, +AbstractTurnControl.tableDifference(ITable oldTable, ITable newTable)
@@ -137,12 +222,135 @@ Uses of
Method parameters in jrummikub.control with type arguments of type StoneMethods in jrummikub.control.turn with parameters of type Stone
+private  voidHumanTurnControl.collectionSetClick(Stone stone, + boolean collect) + +
+           
+private  voidHumanTurnControl.collectionStoneClick(Stone stone, + boolean collect) + +
+           
 intTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, +HumanTurnControl.RunComparator.compare(Stone s1, + Stone s2) + +
+           
+ intHumanTurnControl.GroupComparator.compare(Stone s1, + Stone s2) + +
+           
+private static intHumanTurnControl.compareColors(Stone s1, + Stone s2) + +
+           
+private static intHumanTurnControl.compareJokers(Stone s1, + Stone s2) + +
+           
+private static intHumanTurnControl.compareValues(Stone s1, + Stone s2) + +
+           
+private  voidHumanTurnControl.handRangeClick(Stone stone, + boolean collect) + +
+           
+private  voidHumanTurnControl.stoneClick(Stone stone, + boolean collect) + +
+           
+private  voidHumanTurnControl.tableRangeClick(Stone stone, + boolean collect) + +
+           
+private  voidHumanTurnControl.tableSetClick(Stone stone, + boolean collect) + +
+           
+  +

+ + + + + + + + + + + + + + + + - + + + + @@ -176,9 +392,17 @@ Uses of +(package private)  java.util.ArrayList<Stone> + + + + @@ -240,6 +464,14 @@ Uses of + + + + + + + + + + + + + + +
Method parameters in jrummikub.control.turn with type arguments of type Stone
+private  voidAIControl.addHandStones(java.util.List<Stone> handStones) + +
+           
+private  voidAIControl.addTableStones(java.util.List<Stone> tableStones) + +
+           
+ intHumanTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2)
@@ -151,9 +359,17 @@ Uses of
 intTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, +HumanTurnControl.HandStonePositionComparator.compare(Pair<Stone,Position> pair1, Pair<Stone,Position> pair2) +
+           
+private  voidHumanTurnControl.sortStones(java.util.Comparator<Stone> comparator) +
           
-(package private)  java.util.List<Stone> StoneHeap.heap +
+           
+private  java.util.ArrayList<Stone>StoneSet.stones +
           
+private  Table.StoneInfoTable.findStoneInfo(Stone stone) + +
+          Finds Table.StoneInfo
 StoneSet Table.findStoneSet(Stone stone) @@ -290,6 +522,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
 void StoneHeap.putBack(java.util.Collection<Stone> stones) @@ -348,7 +588,7 @@ Uses of @@ -357,7 +597,7 @@ Uses of @@ -404,6 +644,86 @@ Uses of +
Fields in jrummikub.view.impl declared as Stone
+private  StoneAbstractStonePanel.hoveredStone + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.view.impl with type parameters of type Stone
+private  Event2<Stone,java.lang.Boolean>AbstractStonePanel.rangeClickEvent + +
+           
+private  java.util.Collection<Stone>StoneCollectionPanel.selectedStones + +
+           
+private  java.util.Collection<Stone>HandPanel.selectedStones + +
+           
+private  java.util.Collection<Stone>TablePanel.selectedStones + +
+           
+private  Event2<Stone,java.lang.Boolean>AbstractStonePanel.setClickEvent + +
+           
+private  Event2<Stone,java.lang.Boolean>AbstractStonePanel.stoneClickEvent + +
+           
+private  java.lang.Iterable<Pair<Stone,Position>>AbstractStonePanel.stones + +
+           
+  +

+ @@ -416,6 +736,14 @@ Uses of + + +
Methods in jrummikub.view.impl that return Stone +private  StoneAbstractStonePanel.getStoneAt(Position pos) + +
+          Gets the stone at the specified position
 

@@ -426,6 +754,14 @@ Uses of +private  java.util.List<Pair<Stone,Position>> +View.createDecorationStones() + +
+            + + +  Event2<Stone,java.lang.Boolean> AbstractStonePanel.getRangeClickEvent() @@ -466,16 +802,24 @@ Uses of - void -StonePainter.paintStone(java.awt.Graphics2D g, +(package private)  void +StonePainter.paintStone(java.awt.Graphics2D g, Stone stone, Position p, - boolean selected, + StonePainter.StoneState state, boolean hovered)
          Paints a stone + + +private  void +AbstractStonePanel.setHoveredStone(Stone stone) + +
+          Sets the stone over which the cursor hovers +  

@@ -486,14 +830,6 @@ Uses of - void -View.setSelectedStones(java.util.Collection<Stone> stones) - -
-            - - - (package private)  void StoneCollectionPanel.setSelectedStones(java.util.Collection<Stone> selectedStones) @@ -518,11 +854,11 @@ Uses of -protected  void -AbstractStonePanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones) + void +View.setSelectedStones(java.util.Collection<Stone> stones)
-          Sets the list of stones that can be clicked on +            @@ -532,6 +868,14 @@ Uses of + +protected  void +AbstractStonePanel.setStones(java.lang.Iterable<Pair<Stone,Position>> stones) + +
+          Sets the list of stones that can be clicked on +  

diff --git a/doc/jrummikub/model/class-use/StoneColor.html b/doc/jrummikub/model/class-use/StoneColor.html index 9333b62..315c5e8 100644 --- a/doc/jrummikub/model/class-use/StoneColor.html +++ b/doc/jrummikub/model/class-use/StoneColor.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.StoneColor - + @@ -90,9 +90,78 @@ function windowTitle() Packages that use StoneColor +jrummikub.ai +   + + jrummikub.model    + +jrummikub.view +   + + +jrummikub.view.impl +   + + +  +

+ + + + + +
+Uses of StoneColor in jrummikub.ai
+  +

+ + + + + + + + + + + + + + + + + +
Fields in jrummikub.ai declared as StoneColor
+(package private)  StoneColorTurnLogic.StoneState.color + +
+           
+private  StoneColorTurnLogic.maxColor + +
+           
+private  StoneColorTurnLogic.minColor + +
+           
+  +

+ + + + + + + + +
Fields in jrummikub.ai with type parameters of type StoneColor
+private  java.util.ArrayList<StoneColor>TurnLogic.stoneColors + +
+           
 

@@ -106,6 +175,46 @@ Uses of + +Fields in jrummikub.model declared as StoneColor + + + +private  StoneColor +Stone.color + +
+            + + +  +

+ + + + + + + + + + + + + +
Fields in jrummikub.model with type parameters of type StoneColor
+private static java.util.Comparator<Pair<java.lang.Integer,StoneColor>>Hand.comparator + +
+          The measure to compare the stones by
+private  java.util.HashSet<StoneColor>GameSettings.stoneColors + +
+           
+  +

+ @@ -139,6 +248,64 @@ the order they are declared.  

+

Methods in jrummikub.model that return StoneColor
+ + + + + + + + + + + +
Methods in jrummikub.model that return types with arguments of type StoneColor
+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.Set<StoneColor>GameSettings.getStoneColors() + +
+          Get stone colors used
+  +

+ + + + + + + + + + + + + + + + + +
Method parameters in jrummikub.model with type arguments of type StoneColor
+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
+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
+ voidGameSettings.setStoneColors(java.util.Set<StoneColor> stoneColors) + +
+          Set stone colors used
+  +

+ @@ -159,6 +326,132 @@ the order they are declared.
Constructors in jrummikub.model with parameters of type StoneColor
 

+ + + + + +
+Uses of StoneColor in jrummikub.view
+  +

+ + + + + + + + + +
Methods in jrummikub.view that return types with arguments of type StoneColor
+ IEvent1<java.util.Set<StoneColor>>ISettingsPanel.getChangeStoneColorsEvent() + +
+          The change Stone colors event is emitted when the user chooses the stone + colors to play with.
+  +

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

+ + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.view.impl with type parameters of type StoneColor
+private  Event1<java.util.Set<StoneColor>>SettingsPanel.changeStoneColorsEvent + +
+           
+private  java.util.Map<StoneColor,javax.swing.JToggleButton>SettingsPanel.colorButtons + +
+           
+private  java.util.Map<StonePainter.StoneState,java.util.Map<StoneColor,java.util.Map<java.lang.Integer,java.awt.image.BufferedImage>>>StonePainter.defaultStones + +
+           
+private  java.util.Map<StonePainter.StoneState,java.util.Map<StoneColor,java.util.Map<java.lang.Integer,java.awt.image.BufferedImage>>>StonePainter.hoveredStones + +
+           
+  +

+ + + + + + + + + +
Methods in jrummikub.view.impl that return types with arguments of type StoneColor
+ IEvent1<java.util.Set<StoneColor>>SettingsPanel.getChangeStoneColorsEvent() + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in jrummikub.view.impl with parameters of type StoneColor
+private  voidSettingsPanel.createColorButton(StoneColor color) + +
+           
+(package private) static java.awt.ColorStonePainter.getColor(StoneColor color) + +
+           
+private  java.awt.image.BufferedImageStonePainter.getStoneImage(StoneColor color, + int value, + StonePainter.StoneState state, + boolean hovered) + +
+           
+  +


diff --git a/doc/jrummikub/model/class-use/StoneHeap.html b/doc/jrummikub/model/class-use/StoneHeap.html index d1751c1..55975f5 100644 --- a/doc/jrummikub/model/class-use/StoneHeap.html +++ b/doc/jrummikub/model/class-use/StoneHeap.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.StoneHeap - + @@ -108,24 +108,40 @@ Uses of -Methods in jrummikub.model that return StoneHeap +Fields in jrummikub.model declared as StoneHeap - StoneHeap -GameState.getGameHeap() +private  StoneHeap +RoundState.stoneHeap
            + +  +

+ + + + + - + + + +
Methods in jrummikub.model that return StoneHeap
 StoneHeapIGameState.getGameHeap() +IRoundState.getStoneHeap()
          Returns the heap of stones to draw from
+ StoneHeapRoundState.getStoneHeap() + +
+           
 

diff --git a/doc/jrummikub/model/class-use/StoneSet.Type.html b/doc/jrummikub/model/class-use/StoneSet.Type.html index 1b74fef..729b68e 100644 --- a/doc/jrummikub/model/class-use/StoneSet.Type.html +++ b/doc/jrummikub/model/class-use/StoneSet.Type.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.StoneSet.Type - + @@ -112,15 +112,6 @@ Uses of - StoneSet.Type -StoneSet.classify() - -
-          Test for rule conflict within the StoneSet and determine whether the set - is a group or a run - - - static StoneSet.Type StoneSet.Type.valueOf(java.lang.String name) @@ -139,6 +130,32 @@ the order they are declared.  

+ + + + + + + + + + + + + +
Methods in jrummikub.model that return types with arguments of type StoneSet.Type
+ 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
+  +


diff --git a/doc/jrummikub/model/class-use/StoneSet.html b/doc/jrummikub/model/class-use/StoneSet.html index ed2b6a5..82ccfa3 100644 --- a/doc/jrummikub/model/class-use/StoneSet.html +++ b/doc/jrummikub/model/class-use/StoneSet.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.StoneSet - + @@ -90,6 +90,18 @@ function windowTitle() Packages that use StoneSet +jrummikub.ai +   + + +jrummikub.control +   + + +jrummikub.control.turn +   + + jrummikub.model    @@ -104,6 +116,163 @@ Packages that use + + + + +
+Uses of StoneSet in jrummikub.ai
+  +

+ + + + + + + + + +
Methods in jrummikub.ai that return types with arguments of type StoneSet
+ java.util.List<StoneSet>TurnLogic.getResult() + +
+          Get the found stones and create output sets
+  +

+ + + + + +
+Uses of StoneSet in jrummikub.control
+  +

+ + + + + + + + + +
Fields in jrummikub.control with type parameters of type StoneSet
+private  java.util.ArrayList<StoneSet>RoundControl.InvalidTurnInfo.invalidSets + +
+           
+  +

+ + + + + + + + + +
Methods in jrummikub.control that return types with arguments of type StoneSet
+ java.util.List<StoneSet>RoundControl.InvalidTurnInfo.getInvalidSets() + +
+          Getter for the invalid sets
+  +

+ + + + + + + + +
Constructor parameters in jrummikub.control with type arguments of type StoneSet
RoundControl.InvalidTurnInfo(ITable table, + RoundControl.InvalidTurnType type, + java.util.Collection<StoneSet> invalidSets) + +
+          Creates new InvalidTurnInfo
+  +

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

+ + + + + + + + + + + + + + + + + +
Methods in jrummikub.control.turn that return types with arguments of type StoneSet
+private  java.util.List<StoneSet>AbstractTurnControl.invalidStoneSets() + +
+           
+(package private) static java.util.List<StoneSet>AbstractTurnControl.tableSetDifference(ITable oldTable, + ITable newTable) + +
+           
+private  java.util.List<StoneSet>AbstractTurnControl.touchedStoneSets() + +
+           
+  +

+ + + + + + + + + +
Methods in jrummikub.control.turn with parameters of type StoneSet
+private  voidHumanTurnControl.connectorClick(StoneSet set, + boolean right) + +
+           
+  +

+ + + + + + + + + +
Method parameters in jrummikub.control.turn with type arguments of type StoneSet
+private  voidAIControl.doNotMoveExistingSets(java.util.List<StoneSet> result) + +
+           
+  +

@@ -114,6 +283,22 @@ Uses of + + + + + + + +
Fields in jrummikub.model declared as StoneSet
+(package private)  StoneSetTable.StoneInfo.set + +
+           
+  +

+ @@ -184,6 +369,32 @@ Uses of + + + +
Methods in jrummikub.model that return StoneSet +private  voidTable.splitSet(StoneSet set, + Position setPosition, + int stonePosition) + +
+          Splits a stone set at a specified position
+  +

+ + + + + + + +
Constructors in jrummikub.model with parameters of type StoneSet
Table.StoneInfo(StoneSet set, + Position setPosition, + int stonePosition) + +
+           
 

@@ -230,6 +441,14 @@ Uses of  void +IView.setInvalidStoneSets(java.util.Collection<StoneSet> sets) + +
+          Set invalid sets to enable showing + + + + void ITablePanel.setStoneSets(java.lang.Iterable<Pair<StoneSet,Position>> stoneSets)
@@ -248,6 +467,78 @@ Uses of + +Fields in jrummikub.view.impl declared as StoneSet + + + +private  StoneSet +TablePanel.leftHoveredConnector + +
+            + + + +private  StoneSet +TablePanel.rightHoveredConnector + +
+            + + +  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Fields in jrummikub.view.impl with type parameters of type StoneSet
+private  java.util.Collection<StoneSet>TablePanel.invalidStoneSets + +
+           
+private  Event1<StoneSet>TablePanel.leftConnectorClickEvent + +
+           
+private  java.util.List<Pair<StoneSet,Position>>TablePanel.pauseStoneSets + +
+           
+private  Event1<StoneSet>TablePanel.rightConnectorClickEvent + +
+           
+private  java.lang.Iterable<Pair<StoneSet,Position>>TablePanel.stoneSets + +
+           
+  +

+ @@ -272,12 +563,48 @@ Uses of + + + + + + + +
Methods in jrummikub.view.impl that return types with arguments of type StoneSet
Methods in jrummikub.view.impl with parameters of type StoneSet
+private  voidTablePanel.paintStoneSet(java.awt.Graphics2D g, + StoneSet stoneSet, + Position pos, + java.awt.geom.Area connectorArea, + java.awt.geom.Area hoveredConnectorArea) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + +Position pos, StoneTray.Direction dir) +
+            + + + + diff --git a/doc/jrummikub/model/class-use/StoneTray.html b/doc/jrummikub/model/class-use/StoneTray.html index a6a0e9b..802e8db 100644 --- a/doc/jrummikub/model/class-use/StoneTray.html +++ b/doc/jrummikub/model/class-use/StoneTray.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.StoneTray - + diff --git a/doc/jrummikub/model/class-use/Table.html b/doc/jrummikub/model/class-use/Table.html index 05e997e..bc4dba3 100644 --- a/doc/jrummikub/model/class-use/Table.html +++ b/doc/jrummikub/model/class-use/Table.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.Table - + -- cgit v1.2.3
Method parameters in jrummikub.view.impl with type arguments of type StoneSet
+(package private)  voidTablePanel.setInvalidStoneSets(java.util.Collection<StoneSet> sets) + +
+           
+ voidView.setInvalidStoneSets(java.util.Collection<StoneSet> sets) + +
+           
 void TablePanel.setStoneSets(java.lang.Iterable<Pair<StoneSet,Position>> stoneSets) diff --git a/doc/jrummikub/model/class-use/StoneTray.Direction.html b/doc/jrummikub/model/class-use/StoneTray.Direction.html index a653204..d01447b 100644 --- a/doc/jrummikub/model/class-use/StoneTray.Direction.html +++ b/doc/jrummikub/model/class-use/StoneTray.Direction.html @@ -2,12 +2,12 @@ - + Uses of Class jrummikub.model.StoneTray.Direction - + @@ -112,6 +112,16 @@ Uses of +private  StoneTray.DirectionStoneTray.getMoveDirection(E object, + Position position, + Pair<E,Position> blocking) + +
+          Returns the direction to move the object in
static StoneTray.Direction StoneTray.Direction.valueOf(java.lang.String name) @@ -166,6 +176,27 @@ the order they are declared.
+private  voidStoneTray.drop(E object, + Position position, + StoneTray.Direction direction) + +
+          Subroutine to "drop" to consider and determine the direction the objects + dropped one collides with position-wise evade in
+private  voidStoneTray.dropUnchecked(E object, + Position position, + StoneTray.Direction direction) + +
+          Subroutine to "drop" to execute the actual drop
protected  Pair<Position,StoneTray.Direction> StoneTray.fixInvalidDrop(E object, Position pos, @@ -182,6 +213,18 @@ the order they are declared.
+private  PositionStoneTray.getNewPosition(E object, + Position position, + StoneTray.Direction newDirection, + E currentObject, + Position currentPosition) +