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/TablePanel.html | 606 ++++++++++++++++++++++++++++---- 1 file changed, 532 insertions(+), 74 deletions(-) (limited to 'doc/jrummikub/view/impl/TablePanel.html') diff --git a/doc/jrummikub/view/impl/TablePanel.html b/doc/jrummikub/view/impl/TablePanel.html index 877d52f..4d41d81 100644 --- a/doc/jrummikub/view/impl/TablePanel.html +++ b/doc/jrummikub/view/impl/TablePanel.html @@ -2,12 +2,12 @@ - + TablePanel - + @@ -55,7 +55,7 @@ function windowTitle() PREV CLASS  + PREV CLASS   NEXT CLASS 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 @@ -173,6 +173,166 @@ The implementation of the table Field Summary + + +private static javax.swing.ImageIcon +BACKGROUND + +
+            + + + +private static javax.swing.ImageIcon +BRIGHT_BACKGROUND + +
+            + + + +private  int +COLLECTION_GAP + +
+            + + + +private  double +COLLECTION_RATIO + +
+            + + + +private static double +CONNECTOR_WIDTH + +
+            + + + +private static javax.swing.ImageIcon +DARK_BACKGROUND + +
+            + + + +private static double +HORIZONTAL_MARGIN + +
+            + + + +private  java.util.Collection<StoneSet> +invalidStoneSets + +
+            + + + +private  Event1<StoneSet> +leftConnectorClickEvent + +
+            + + + +private  StoneSet +leftHoveredConnector + +
+            + + + +private static double +MIN_VISIBLE_HEIGHT + +
+            + + + +private static double +MIN_VISIBLE_WIDTH + +
+            + + + +private  boolean +pauseMode + +
+            + + + +private  java.util.List<Pair<StoneSet,Position>> +pauseStoneSets + +
+            + + + +private  Event1<StoneSet> +rightConnectorClickEvent + +
+            + + + +private  StoneSet +rightHoveredConnector + +
+            + + + +private  java.util.Collection<Stone> +selectedStones + +
+            + + + +private  StoneCollectionPanel +stoneCollection + +
+            + + + +private  java.lang.Iterable<Pair<StoneSet,Position>> +stoneSets + +
+            + + + +private static double +VERTICAL_MARGIN + +
+            +   @@ -228,6 +388,30 @@ The implementation of the table + + + + + + + + + + + + +          Returns the translation in pixels the stones in this panel are painted + with - + +            - + +            - +            - + +            + + + + - +          Sets the stone sets lying on the table
+private  java.awt.geom.Rectangle2DcalculateTableExtent() + +
+           
+(package private)  voidcreatePauseStoneSets() + +
+           
+(package private)  voidenablePauseMode(boolean enable) + +
+           
 Event1<StoneSet> getLeftConnectorClickEvent() @@ -259,7 +443,8 @@ The implementation of the table getTranslation()
-          Returns the translation in pixels the stones in this panel are painted with
@@ -287,43 +472,55 @@ The implementation of the table
- voidsetLeftPlayerName(java.lang.String playerName) +private  voidpaintStoneSet(java.awt.Graphics2D g, + StoneSet stoneSet, + Position pos, + java.awt.geom.Area connectorArea, + java.awt.geom.Area hoveredConnectorArea)
-          Sets the player name on the left label
- voidsetRightPlayerName(java.lang.String playerName) +private  voidrescale()
-          Sets the player name on the right label
(package private)  voidsetSelectedStones(java.util.Collection<Stone> stones) +setInvalidStoneSets(java.util.Collection<StoneSet> sets)
-          Sets the currently selected stones
- voidsetStoneSets(java.lang.Iterable<Pair<StoneSet,Position>> stoneSets) +private  voidsetScale()
-          Sets the stone sets lying on the table
+(package private)  voidsetSelectedStones(java.util.Collection<Stone> stones) + +
+          Sets the currently selected stones
 voidsetTopPlayerName(java.lang.String playerName) +setStoneSets(java.lang.Iterable<Pair<StoneSet,Position>> stoneSets)
-          Sets the player name on the top label
  @@ -401,6 +598,215 @@ The implementation of the table  

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

+BACKGROUND

+
+private static final javax.swing.ImageIcon BACKGROUND
+
+
+
+
+
+ +

+DARK_BACKGROUND

+
+private static final javax.swing.ImageIcon DARK_BACKGROUND
+
+
+
+
+
+ +

+BRIGHT_BACKGROUND

+
+private static final javax.swing.ImageIcon BRIGHT_BACKGROUND
+
+
+
+
+
+ +

+MIN_VISIBLE_WIDTH

+
+private static final double MIN_VISIBLE_WIDTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MIN_VISIBLE_HEIGHT

+
+private static final double MIN_VISIBLE_HEIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HORIZONTAL_MARGIN

+
+private static final double HORIZONTAL_MARGIN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VERTICAL_MARGIN

+
+private static final double VERTICAL_MARGIN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONNECTOR_WIDTH

+
+private static final double CONNECTOR_WIDTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLLECTION_RATIO

+
+private final double COLLECTION_RATIO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLLECTION_GAP

+
+private final int COLLECTION_GAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+stoneCollection

+
+private StoneCollectionPanel stoneCollection
+
+
+
+
+
+ +

+stoneSets

+
+private java.lang.Iterable<Pair<StoneSet,Position>> stoneSets
+
+
+
+
+
+ +

+pauseStoneSets

+
+private java.util.List<Pair<StoneSet,Position>> pauseStoneSets
+
+
+
+
+
+ +

+invalidStoneSets

+
+private java.util.Collection<StoneSet> invalidStoneSets
+
+
+
+
+
+ +

+selectedStones

+
+private java.util.Collection<Stone> selectedStones
+
+
+
+
+
+ +

+leftConnectorClickEvent

+
+private Event1<StoneSet> leftConnectorClickEvent
+
+
+
+
+
+ +

+rightConnectorClickEvent

+
+private Event1<StoneSet> rightConnectorClickEvent
+
+
+
+
+
+ +

+leftHoveredConnector

+
+private StoneSet leftHoveredConnector
+
+
+
+
+
+ +

+rightHoveredConnector

+
+private StoneSet rightHoveredConnector
+
+
+
+
+
+ +

+pauseMode

+
+private boolean pauseMode
+
+
+
+
+ @@ -430,57 +836,6 @@ TablePanel -

-setLeftPlayerName

-
-public void setLeftPlayerName(java.lang.String playerName)
-
-
Description copied from interface: ITablePanel
-
Sets the player name on the left label -

-

-
Specified by:
setLeftPlayerName in interface ITablePanel
-
-
-
Parameters:
playerName - the name to set
-
-
-
- -

-setTopPlayerName

-
-public void setTopPlayerName(java.lang.String playerName)
-
-
Description copied from interface: ITablePanel
-
Sets the player name on the top label -

-

-
Specified by:
setTopPlayerName in interface ITablePanel
-
-
-
Parameters:
playerName - the name to set
-
-
-
- -

-setRightPlayerName

-
-public void setRightPlayerName(java.lang.String playerName)
-
-
Description copied from interface: ITablePanel
-
Sets the player name on the right label -

-

-
Specified by:
setRightPlayerName in interface ITablePanel
-
-
-
Parameters:
playerName - the name to set
-
-
-
-

getLeftConnectorClickEvent

@@ -571,6 +926,76 @@ void setSelectedStones(java.util.Collection<

+setInvalidStoneSets

+
+void setInvalidStoneSets(java.util.Collection<StoneSet> sets)
+
+
+
+
+
+
+
+
+
+ +

+createPauseStoneSets

+
+void createPauseStoneSets()
+
+
+
+
+
+
+
+
+
+ +

+calculateTableExtent

+
+private java.awt.geom.Rectangle2D calculateTableExtent()
+
+
+
+
+
+
+
+
+
+ +

+rescale

+
+private void rescale()
+
+
+
+
+
+
+
+
+
+ +

+setScale

+
+private void setScale()
+
+
+
+
+
+
+
+
+
+

handleOtherClickEvent

@@ -612,7 +1037,8 @@ getTranslation
 protected Pair<java.lang.Integer,java.lang.Integer> getTranslation()
Description copied from class: AbstractStonePanel
-
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

Overrides:
getTranslation in class AbstractStonePanel
@@ -624,6 +1050,24 @@ protected

+paintStoneSet

+
+private void paintStoneSet(java.awt.Graphics2D g,
+                           StoneSet stoneSet,
+                           Position pos,
+                           java.awt.geom.Area connectorArea,
+                           java.awt.geom.Area hoveredConnectorArea)
+
+
+
+
+
+
+
+
+
+

paintComponent

@@ -636,6 +1080,20 @@ protected void paintComponent(java.awt.Graphics g1)
+
+ +

+enablePauseMode

+
+void enablePauseMode(boolean enable)
+
+
+
+
+
+
+
+

@@ -667,7 +1125,7 @@ protected void paintComponent(java.awt.Graphics g1)
PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   @@ -688,9 +1146,9 @@ protected void paintComponent(java.awt.Graphics g1) - SUMMARY: NESTED | FIELD | CONSTR | METHOD + SUMMARY: NESTED | FIELD | CONSTR | METHOD -DETAIL: FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD -- cgit v1.2.3