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/Position.html | 286 +++++++++++++++++++++++++--- 1 file changed, 262 insertions(+), 24 deletions(-) (limited to 'doc/jrummikub/model/class-use/Position.html') 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 -- cgit v1.2.3