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/view/impl/AbstractStonePanel.html | 210 ++++++++++++++++++++++-- 1 file changed, 198 insertions(+), 12 deletions(-) (limited to 'doc/jrummikub/view/impl/AbstractStonePanel.html') diff --git a/doc/jrummikub/view/impl/AbstractStonePanel.html b/doc/jrummikub/view/impl/AbstractStonePanel.html index 545d616..3edfcb0 100644 --- a/doc/jrummikub/view/impl/AbstractStonePanel.html +++ b/doc/jrummikub/view/impl/AbstractStonePanel.html @@ -2,12 +2,12 @@ - + AbstractStonePanel - + @@ -56,7 +56,7 @@ function windowTitle()  PREV CLASS  - NEXT CLASSNEXT CLASS FRAMES    NO FRAMES   @@ -76,9 +76,9 @@ function windowTitle() - SUMMARY: NESTED | FIELD | CONSTR | METHOD + SUMMARY: NESTED | FIELD | CONSTR | METHOD -DETAIL: FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD @@ -175,6 +175,62 @@ Base class for panels that draw stones Field Summary + + +private  Event1<Position> +clickEvent + +
+            + + + +private  Stone +hoveredStone + +
+            + + + +private  Event2<Stone,java.lang.Boolean> +rangeClickEvent + +
+            + + + +private  Event2<Stone,java.lang.Boolean> +setClickEvent + +
+            + + + +private  Event2<Stone,java.lang.Boolean> +stoneClickEvent + +
+            + + + +private  StonePainter +stonePainter + +
+            + + + +private  java.lang.Iterable<Pair<Stone,Position>> +stones + +
+            +   @@ -269,7 +325,7 @@ Base class for panels that draw stones
          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 + etc. and wants to select a whole set instead of a single stone + + + + +          Returns the translation in pixels the stones in this panel are painted + with + + + + + NEXT CLASS + SUMMARY: NESTED | FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD
@@ -278,7 +334,15 @@ Base class for panels that draw stones
          the set click event is emitted when the player clicks on the table/hand/ - etc.
+private  StonegetStoneAt(Position pos) + +
+          Gets the stone at the specified position
@@ -310,7 +374,8 @@ Base class for panels that draw stones getTranslation()
-          Returns the translation in pixels the stones in this panel are painted with
@@ -330,6 +395,14 @@ Base class for panels that draw stones
+private  voidsetHoveredStone(Stone stone) + +
+          Sets the stone over which the cursor hovers
protected  void setStones(java.lang.Iterable<Pair<Stone,Position>> stones) @@ -385,6 +458,85 @@ Base class for panels that draw stones  

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

+stonePainter

+
+private StonePainter stonePainter
+
+
+
+
+
+ +

+clickEvent

+
+private Event1<Position> clickEvent
+
+
+
+
+
+ +

+stoneClickEvent

+
+private Event2<Stone,java.lang.Boolean> stoneClickEvent
+
+
+
+
+
+ +

+rangeClickEvent

+
+private Event2<Stone,java.lang.Boolean> rangeClickEvent
+
+
+
+
+
+ +

+setClickEvent

+
+private Event2<Stone,java.lang.Boolean> setClickEvent
+
+
+
+
+
+ +

+stones

+
+private java.lang.Iterable<Pair<Stone,Position>> stones
+
+
+
+
+
+ +

+hoveredStone

+
+private Stone hoveredStone
+
+
+
+
+ @@ -461,6 +613,22 @@ protected void clickAt(java.awt.Point p,
+

+setHoveredStone

+
+private void setHoveredStone(Stone stone)
+
+
Sets the stone over which the cursor hovers +

+

+
+
+
+
Parameters:
stone - stone under cursor
+
+
+
+

getHoveredStone

@@ -511,6 +679,23 @@ protected void handleOtherMoveEvent(

+getStoneAt

+
+private Stone getStoneAt(Position pos)
+
+
Gets the stone at the specified position +

+

+
+
+
+
Parameters:
pos - position +
Returns:
the stone
+
+
+
+

setStones

@@ -532,7 +717,8 @@ getTranslation
 
 protected Pair<java.lang.Integer,java.lang.Integer> getTranslation()
-
Returns the translation in pixels the stones in this panel are painted with +
Returns the translation in pixels the stones in this panel are painted + with

@@ -673,7 +859,7 @@ public  PREV CLASS  - NEXT CLASS
-- cgit v1.2.3