diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-07-06 16:36:06 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-07-06 16:36:06 +0200 |
commit | 51b7fbe822bd9a3804c061f0b844884769d7ddba (patch) | |
tree | 152d79321131936d1bc49e959d2a7a2628c592cb /doc/jrummikub/view/impl/TablePanel.html | |
parent | 3193477354fc63477a3f42c94023fa84c129adf1 (diff) | |
download | JRummikub-51b7fbe822bd9a3804c061f0b844884769d7ddba.tar JRummikub-51b7fbe822bd9a3804c061f0b844884769d7ddba.zip |
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@609 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'doc/jrummikub/view/impl/TablePanel.html')
-rw-r--r-- | doc/jrummikub/view/impl/TablePanel.html | 606 |
1 files changed, 532 insertions, 74 deletions
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 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc (build 1.6.0_22) on Tue May 10 17:05:03 CEST 2011 --> +<!-- Generated by javadoc (build 1.6.0_22) on Tue Jul 05 21:51:59 CEST 2011 --> <TITLE> TablePanel </TITLE> -<META NAME="date" CONTENT="2011-05-10"> +<META NAME="date" CONTENT="2011-07-05"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> @@ -55,7 +55,7 @@ function windowTitle() <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../jrummikub/view/impl/StonePainter.html" title="class in jrummikub.view.impl"><B>PREV CLASS</B></A> + <A HREF="../../../jrummikub/view/impl/StonePainter.StoneState.html" title="enum in jrummikub.view.impl"><B>PREV CLASS</B></A> <A HREF="../../../jrummikub/view/impl/View.html" title="class in jrummikub.view.impl"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?jrummikub/view/impl/TablePanel.html" target="_top"><B>FRAMES</B></A> @@ -76,9 +76,9 @@ function windowTitle() </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> + SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> @@ -173,6 +173,166 @@ The implementation of the table <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private static javax.swing.ImageIcon</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#BACKGROUND">BACKGROUND</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private static javax.swing.ImageIcon</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#BRIGHT_BACKGROUND">BRIGHT_BACKGROUND</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#COLLECTION_GAP">COLLECTION_GAP</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private double</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#COLLECTION_RATIO">COLLECTION_RATIO</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private static double</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#CONNECTOR_WIDTH">CONNECTOR_WIDTH</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private static javax.swing.ImageIcon</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#DARK_BACKGROUND">DARK_BACKGROUND</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private static double</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#HORIZONTAL_MARGIN">HORIZONTAL_MARGIN</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private java.util.Collection<<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#invalidStoneSets">invalidStoneSets</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private <A HREF="../../../jrummikub/util/Event1.html" title="class in jrummikub.util">Event1</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#leftConnectorClickEvent">leftConnectorClickEvent</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private <A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#leftHoveredConnector">leftHoveredConnector</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private static double</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#MIN_VISIBLE_HEIGHT">MIN_VISIBLE_HEIGHT</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private static double</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#MIN_VISIBLE_WIDTH">MIN_VISIBLE_WIDTH</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#pauseMode">pauseMode</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private java.util.List<<A HREF="../../../jrummikub/util/Pair.html" title="class in jrummikub.util">Pair</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>,<A HREF="../../../jrummikub/model/Position.html" title="class in jrummikub.model">Position</A>>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#pauseStoneSets">pauseStoneSets</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private <A HREF="../../../jrummikub/util/Event1.html" title="class in jrummikub.util">Event1</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#rightConnectorClickEvent">rightConnectorClickEvent</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private <A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#rightHoveredConnector">rightHoveredConnector</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private java.util.Collection<<A HREF="../../../jrummikub/model/Stone.html" title="class in jrummikub.model">Stone</A>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#selectedStones">selectedStones</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private <A HREF="../../../jrummikub/view/impl/StoneCollectionPanel.html" title="class in jrummikub.view.impl">StoneCollectionPanel</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#stoneCollection">stoneCollection</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private java.lang.Iterable<<A HREF="../../../jrummikub/util/Pair.html" title="class in jrummikub.util">Pair</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>,<A HREF="../../../jrummikub/model/Position.html" title="class in jrummikub.model">Position</A>>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#stoneSets">stoneSets</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private static double</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#VERTICAL_MARGIN">VERTICAL_MARGIN</A></B></CODE> + +<BR> + </TD> +</TR> </TABLE> <A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> @@ -228,6 +388,30 @@ The implementation of the table </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>private java.awt.geom.Rectangle2D</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#calculateTableExtent()">calculateTableExtent</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>(package private) void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#createPauseStoneSets()">createPauseStoneSets</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>(package private) void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#enablePauseMode(boolean)">enablePauseMode</A></B>(boolean enable)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../jrummikub/util/Event1.html" title="class in jrummikub.util">Event1</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#getLeftConnectorClickEvent()">getLeftConnectorClickEvent</A></B>()</CODE> @@ -259,7 +443,8 @@ The implementation of the table <TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#getTranslation()">getTranslation</A></B>()</CODE> <BR> - Returns the translation in pixels the stones in this panel are painted with</TD> + Returns the translation in pixels the stones in this panel are painted + with</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> @@ -287,43 +472,55 @@ The implementation of the table </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#setLeftPlayerName(java.lang.String)">setLeftPlayerName</A></B>(java.lang.String playerName)</CODE> +<CODE>private void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#paintStoneSet(java.awt.Graphics2D, jrummikub.model.StoneSet, jrummikub.model.Position, java.awt.geom.Area, java.awt.geom.Area)">paintStoneSet</A></B>(java.awt.Graphics2D g, + <A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A> stoneSet, + <A HREF="../../../jrummikub/model/Position.html" title="class in jrummikub.model">Position</A> pos, + java.awt.geom.Area connectorArea, + java.awt.geom.Area hoveredConnectorArea)</CODE> <BR> - Sets the player name on the left label</TD> + </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#setRightPlayerName(java.lang.String)">setRightPlayerName</A></B>(java.lang.String playerName)</CODE> +<CODE>private void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#rescale()">rescale</A></B>()</CODE> <BR> - Sets the player name on the right label</TD> + </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>(package private) void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#setSelectedStones(java.util.Collection)">setSelectedStones</A></B>(java.util.Collection<<A HREF="../../../jrummikub/model/Stone.html" title="class in jrummikub.model">Stone</A>> stones)</CODE> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#setInvalidStoneSets(java.util.Collection)">setInvalidStoneSets</A></B>(java.util.Collection<<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>> sets)</CODE> <BR> - Sets the currently selected stones</TD> + </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#setStoneSets(java.lang.Iterable)">setStoneSets</A></B>(java.lang.Iterable<<A HREF="../../../jrummikub/util/Pair.html" title="class in jrummikub.util">Pair</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>,<A HREF="../../../jrummikub/model/Position.html" title="class in jrummikub.model">Position</A>>> stoneSets)</CODE> +<CODE>private void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#setScale()">setScale</A></B>()</CODE> <BR> - Sets the stone sets lying on the table</TD> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>(package private) void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#setSelectedStones(java.util.Collection)">setSelectedStones</A></B>(java.util.Collection<<A HREF="../../../jrummikub/model/Stone.html" title="class in jrummikub.model">Stone</A>> stones)</CODE> + +<BR> + Sets the currently selected stones</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#setTopPlayerName(java.lang.String)">setTopPlayerName</A></B>(java.lang.String playerName)</CODE> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/TablePanel.html#setStoneSets(java.lang.Iterable)">setStoneSets</A></B>(java.lang.Iterable<<A HREF="../../../jrummikub/util/Pair.html" title="class in jrummikub.util">Pair</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>,<A HREF="../../../jrummikub/model/Position.html" title="class in jrummikub.model">Position</A>>> stoneSets)</CODE> <BR> - Sets the player name on the top label</TD> + Sets the stone sets lying on the table</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_jrummikub.view.impl.AbstractStonePanel"><!-- --></A> @@ -401,6 +598,215 @@ The implementation of the table <P> +<!-- ============ FIELD DETAIL =========== --> + +<A NAME="field_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Field Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="BACKGROUND"><!-- --></A><H3> +BACKGROUND</H3> +<PRE> +private static final javax.swing.ImageIcon <B>BACKGROUND</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="DARK_BACKGROUND"><!-- --></A><H3> +DARK_BACKGROUND</H3> +<PRE> +private static final javax.swing.ImageIcon <B>DARK_BACKGROUND</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="BRIGHT_BACKGROUND"><!-- --></A><H3> +BRIGHT_BACKGROUND</H3> +<PRE> +private static final javax.swing.ImageIcon <B>BRIGHT_BACKGROUND</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="MIN_VISIBLE_WIDTH"><!-- --></A><H3> +MIN_VISIBLE_WIDTH</H3> +<PRE> +private static final double <B>MIN_VISIBLE_WIDTH</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#jrummikub.view.impl.TablePanel.MIN_VISIBLE_WIDTH">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="MIN_VISIBLE_HEIGHT"><!-- --></A><H3> +MIN_VISIBLE_HEIGHT</H3> +<PRE> +private static final double <B>MIN_VISIBLE_HEIGHT</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#jrummikub.view.impl.TablePanel.MIN_VISIBLE_HEIGHT">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="HORIZONTAL_MARGIN"><!-- --></A><H3> +HORIZONTAL_MARGIN</H3> +<PRE> +private static final double <B>HORIZONTAL_MARGIN</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#jrummikub.view.impl.TablePanel.HORIZONTAL_MARGIN">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERTICAL_MARGIN"><!-- --></A><H3> +VERTICAL_MARGIN</H3> +<PRE> +private static final double <B>VERTICAL_MARGIN</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#jrummikub.view.impl.TablePanel.VERTICAL_MARGIN">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="CONNECTOR_WIDTH"><!-- --></A><H3> +CONNECTOR_WIDTH</H3> +<PRE> +private static final double <B>CONNECTOR_WIDTH</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#jrummikub.view.impl.TablePanel.CONNECTOR_WIDTH">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="COLLECTION_RATIO"><!-- --></A><H3> +COLLECTION_RATIO</H3> +<PRE> +private final double <B>COLLECTION_RATIO</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#jrummikub.view.impl.TablePanel.COLLECTION_RATIO">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="COLLECTION_GAP"><!-- --></A><H3> +COLLECTION_GAP</H3> +<PRE> +private final int <B>COLLECTION_GAP</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#jrummikub.view.impl.TablePanel.COLLECTION_GAP">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="stoneCollection"><!-- --></A><H3> +stoneCollection</H3> +<PRE> +private <A HREF="../../../jrummikub/view/impl/StoneCollectionPanel.html" title="class in jrummikub.view.impl">StoneCollectionPanel</A> <B>stoneCollection</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="stoneSets"><!-- --></A><H3> +stoneSets</H3> +<PRE> +private java.lang.Iterable<<A HREF="../../../jrummikub/util/Pair.html" title="class in jrummikub.util">Pair</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>,<A HREF="../../../jrummikub/model/Position.html" title="class in jrummikub.model">Position</A>>> <B>stoneSets</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="pauseStoneSets"><!-- --></A><H3> +pauseStoneSets</H3> +<PRE> +private java.util.List<<A HREF="../../../jrummikub/util/Pair.html" title="class in jrummikub.util">Pair</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>,<A HREF="../../../jrummikub/model/Position.html" title="class in jrummikub.model">Position</A>>> <B>pauseStoneSets</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="invalidStoneSets"><!-- --></A><H3> +invalidStoneSets</H3> +<PRE> +private java.util.Collection<<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>> <B>invalidStoneSets</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="selectedStones"><!-- --></A><H3> +selectedStones</H3> +<PRE> +private java.util.Collection<<A HREF="../../../jrummikub/model/Stone.html" title="class in jrummikub.model">Stone</A>> <B>selectedStones</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="leftConnectorClickEvent"><!-- --></A><H3> +leftConnectorClickEvent</H3> +<PRE> +private <A HREF="../../../jrummikub/util/Event1.html" title="class in jrummikub.util">Event1</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>> <B>leftConnectorClickEvent</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="rightConnectorClickEvent"><!-- --></A><H3> +rightConnectorClickEvent</H3> +<PRE> +private <A HREF="../../../jrummikub/util/Event1.html" title="class in jrummikub.util">Event1</A><<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>> <B>rightConnectorClickEvent</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="leftHoveredConnector"><!-- --></A><H3> +leftHoveredConnector</H3> +<PRE> +private <A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A> <B>leftHoveredConnector</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="rightHoveredConnector"><!-- --></A><H3> +rightHoveredConnector</H3> +<PRE> +private <A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A> <B>rightHoveredConnector</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> + +<A NAME="pauseMode"><!-- --></A><H3> +pauseMode</H3> +<PRE> +private boolean <B>pauseMode</B></PRE> +<DL> +<DL> +</DL> +</DL> + <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> @@ -430,57 +836,6 @@ TablePanel</H3> </TR> </TABLE> -<A NAME="setLeftPlayerName(java.lang.String)"><!-- --></A><H3> -setLeftPlayerName</H3> -<PRE> -public void <B>setLeftPlayerName</B>(java.lang.String playerName)</PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/ITablePanel.html#setLeftPlayerName(java.lang.String)">ITablePanel</A></CODE></B></DD> -<DD>Sets the player name on the left label -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/ITablePanel.html#setLeftPlayerName(java.lang.String)">setLeftPlayerName</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/ITablePanel.html" title="interface in jrummikub.view">ITablePanel</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>playerName</CODE> - the name to set</DL> -</DD> -</DL> -<HR> - -<A NAME="setTopPlayerName(java.lang.String)"><!-- --></A><H3> -setTopPlayerName</H3> -<PRE> -public void <B>setTopPlayerName</B>(java.lang.String playerName)</PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/ITablePanel.html#setTopPlayerName(java.lang.String)">ITablePanel</A></CODE></B></DD> -<DD>Sets the player name on the top label -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/ITablePanel.html#setTopPlayerName(java.lang.String)">setTopPlayerName</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/ITablePanel.html" title="interface in jrummikub.view">ITablePanel</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>playerName</CODE> - the name to set</DL> -</DD> -</DL> -<HR> - -<A NAME="setRightPlayerName(java.lang.String)"><!-- --></A><H3> -setRightPlayerName</H3> -<PRE> -public void <B>setRightPlayerName</B>(java.lang.String playerName)</PRE> -<DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/ITablePanel.html#setRightPlayerName(java.lang.String)">ITablePanel</A></CODE></B></DD> -<DD>Sets the player name on the right label -<P> -<DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/ITablePanel.html#setRightPlayerName(java.lang.String)">setRightPlayerName</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/ITablePanel.html" title="interface in jrummikub.view">ITablePanel</A></CODE></DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>playerName</CODE> - the name to set</DL> -</DD> -</DL> -<HR> - <A NAME="getLeftConnectorClickEvent()"><!-- --></A><H3> getLeftConnectorClickEvent</H3> <PRE> @@ -571,6 +926,76 @@ void <B>setSelectedStones</B>(java.util.Collection<<A HREF="../../../jrummiku </DL> <HR> +<A NAME="setInvalidStoneSets(java.util.Collection)"><!-- --></A><H3> +setInvalidStoneSets</H3> +<PRE> +void <B>setInvalidStoneSets</B>(java.util.Collection<<A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A>> sets)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="createPauseStoneSets()"><!-- --></A><H3> +createPauseStoneSets</H3> +<PRE> +void <B>createPauseStoneSets</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="calculateTableExtent()"><!-- --></A><H3> +calculateTableExtent</H3> +<PRE> +private java.awt.geom.Rectangle2D <B>calculateTableExtent</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="rescale()"><!-- --></A><H3> +rescale</H3> +<PRE> +private void <B>rescale</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setScale()"><!-- --></A><H3> +setScale</H3> +<PRE> +private void <B>setScale</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + <A NAME="handleOtherClickEvent(jrummikub.model.Position)"><!-- --></A><H3> handleOtherClickEvent</H3> <PRE> @@ -612,7 +1037,8 @@ getTranslation</H3> protected <A HREF="../../../jrummikub/util/Pair.html" title="class in jrummikub.util">Pair</A><java.lang.Integer,java.lang.Integer> <B>getTranslation</B>()</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../jrummikub/view/impl/AbstractStonePanel.html#getTranslation()">AbstractStonePanel</A></CODE></B></DD> -<DD>Returns the translation in pixels the stones in this panel are painted with +<DD>Returns the translation in pixels the stones in this panel are painted + with <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../jrummikub/view/impl/AbstractStonePanel.html#getTranslation()">getTranslation</A></CODE> in class <CODE><A HREF="../../../jrummikub/view/impl/AbstractStonePanel.html" title="class in jrummikub.view.impl">AbstractStonePanel</A></CODE></DL> @@ -624,6 +1050,24 @@ protected <A HREF="../../../jrummikub/util/Pair.html" title="class in jrummikub. </DL> <HR> +<A NAME="paintStoneSet(java.awt.Graphics2D, jrummikub.model.StoneSet, jrummikub.model.Position, java.awt.geom.Area, java.awt.geom.Area)"><!-- --></A><H3> +paintStoneSet</H3> +<PRE> +private void <B>paintStoneSet</B>(java.awt.Graphics2D g, + <A HREF="../../../jrummikub/model/StoneSet.html" title="class in jrummikub.model">StoneSet</A> stoneSet, + <A HREF="../../../jrummikub/model/Position.html" title="class in jrummikub.model">Position</A> pos, + java.awt.geom.Area connectorArea, + java.awt.geom.Area hoveredConnectorArea)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + <A NAME="paintComponent(java.awt.Graphics)"><!-- --></A><H3> paintComponent</H3> <PRE> @@ -636,6 +1080,20 @@ protected void <B>paintComponent</B>(java.awt.Graphics g1)</PRE> </DL> </DD> </DL> +<HR> + +<A NAME="enablePauseMode(boolean)"><!-- --></A><H3> +enablePauseMode</H3> +<PRE> +void <B>enablePauseMode</B>(boolean enable)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> <!-- ========= END OF CLASS DATA ========= --> <HR> @@ -667,7 +1125,7 @@ protected void <B>paintComponent</B>(java.awt.Graphics g1)</PRE> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../jrummikub/view/impl/StonePainter.html" title="class in jrummikub.view.impl"><B>PREV CLASS</B></A> + <A HREF="../../../jrummikub/view/impl/StonePainter.StoneState.html" title="enum in jrummikub.view.impl"><B>PREV CLASS</B></A> <A HREF="../../../jrummikub/view/impl/View.html" title="class in jrummikub.view.impl"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?jrummikub/view/impl/TablePanel.html" target="_top"><B>FRAMES</B></A> @@ -688,9 +1146,9 @@ protected void <B>paintComponent</B>(java.awt.Graphics g1)</PRE> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> + SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> |