diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-22 11:43:40 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-22 11:43:40 +0200 |
commit | 3634bc5135c2c98d40f92217fa301f8bf99bc936 (patch) | |
tree | 9b6d8f085e0a8b827e05b64bf8c10d79486624f0 /doc/jrummikub/view/impl/View.html | |
parent | 12e48f3d29c15a2f6aa333205fedce1dfa41f04b (diff) | |
download | JRummikub-3634bc5135c2c98d40f92217fa301f8bf99bc936.tar JRummikub-3634bc5135c2c98d40f92217fa301f8bf99bc936.zip |
Javadocs fertig
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@596 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'doc/jrummikub/view/impl/View.html')
-rw-r--r-- | doc/jrummikub/view/impl/View.html | 1243 |
1 files changed, 1137 insertions, 106 deletions
diff --git a/doc/jrummikub/view/impl/View.html b/doc/jrummikub/view/impl/View.html index 06cb160..5082cb9 100644 --- a/doc/jrummikub/view/impl/View.html +++ b/doc/jrummikub/view/impl/View.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 Wed Jun 22 11:42:06 CEST 2011 --> <TITLE> View </TITLE> -<META NAME="date" CONTENT="2011-05-10"> +<META NAME="date" CONTENT="2011-06-22"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> @@ -37,8 +37,7 @@ function windowTitle() <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../jrummikub/view/impl/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/View.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> @@ -55,8 +54,8 @@ function windowTitle() <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../jrummikub/view/impl/TablePanel.html" title="class in jrummikub.view.impl"><B>PREV CLASS</B></A> - <A HREF="../../../jrummikub/view/impl/WinPanel.html" title="class in jrummikub.view.impl"><B>NEXT CLASS</B></A></FONT></TD> + PREV CLASS + NEXT CLASS</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?jrummikub/view/impl/View.html" target="_top"><B>FRAMES</B></A> <A HREF="View.html" target="_top"><B>NO FRAMES</B></A> @@ -76,7 +75,7 @@ function windowTitle() </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JFrame">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JFrame">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> + SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.awt.Component">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JFrame">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> </TR> @@ -101,11 +100,11 @@ java.lang.Object <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>jrummikub.view.impl.View</B> </PRE> <DL> -<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, <A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></DD> +<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, jrummikub.view.IView</DD> </DL> <HR> <DL> -<DT><PRE>public class <B>View</B><DT>extends javax.swing.JFrame<DT>implements <A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></DL> +<DT><PRE>public class <B>View</B><DT>extends javax.swing.JFrame<DT>implements jrummikub.view.IView</DL> </PRE> <P> @@ -127,53 +126,23 @@ Implementation of the top-level view interface <B>Nested Class Summary</B></FONT></TH> </TR> </TABLE> - <A NAME="nested_classes_inherited_from_class_javax.swing.JFrame"><!-- --></A> + <A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JFrame</B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>javax.swing.JFrame.AccessibleJFrame</CODE></TD> -</TR> -</TABLE> - -<A NAME="nested_classes_inherited_from_class_java.awt.Frame"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Frame</B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>java.awt.Frame.AccessibleAWTFrame</CODE></TD> -</TR> -</TABLE> - -<A NAME="nested_classes_inherited_from_class_java.awt.Window"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Window</B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>java.awt.Window.AccessibleAWTWindow</CODE></TD> -</TR> -</TABLE> - -<A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Container</B></TH> +<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD> +<TD><CODE>java.awt.Component.BaselineResizeBehavior</CODE></TD> </TR> </TABLE> -<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A> +<A NAME="nested_classes_inherited_from_class_jrummikub.view.IView"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH> +<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface jrummikub.view.IView</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD> +<TD><CODE>jrummikub.view.IView.BottomPanelType</CODE></TD> </TR> </TABLE> @@ -192,7 +161,7 @@ Implementation of the top-level view interface <TH ALIGN="left"><B>Fields inherited from class javax.swing.JFrame</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled</CODE></TD> +<TD><CODE>EXIT_ON_CLOSE</CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_java.awt.Frame"><!-- --></A> @@ -259,30 +228,157 @@ Implementation of the top-level view interface <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/View.html#enableStartTurnPanel(boolean)">enableStartTurnPanel</A></B>(boolean enable)</CODE> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#clearView()">clearView</A></B>()</CODE> <BR> - Enables or disables the player's StartTurnPanel</TD> + Hides all view elements and panels except for the cleared table and an + empty hand panel</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/View.html#enableWinPanel(boolean)">enableWinPanel</A></B>(boolean enable)</CODE> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#enablePauseMode(boolean)">enablePauseMode</A></B>(boolean enable)</CODE> + +<BR> + Enable/disable pause mode</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/View.html#enableSave(boolean)">enableSave</A></B>(boolean enable)</CODE> + +<BR> + Enables/disables saving in menu bar</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getAcknowledgeConnectionLostEvent()">getAcknowledgeConnectionLostEvent</A></B>()</CODE> + +<BR> + The acknoledge connection lost event is emitted when the user has + acknowledged that the network connection was lost</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getAcknowledgeInvalidEvent()">getAcknowledgeInvalidEvent</A></B>()</CODE> + +<BR> + The start turn event is emitted when the player knows what invalid stones + he played</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.view.IConnectPanel</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getConnectPanel()">getConnectPanel</A></B>()</CODE> + +<BR> + Getter for connect panel</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getEndPauseEvent()">getEndPauseEvent</A></B>()</CODE> + +<BR> + The end pause event is emitted when the user wants to sresume the game + after a pause</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getEndProgramEvent()">getEndProgramEvent</A></B>()</CODE> + +<BR> + The quit event is emitted when the player wants to quit the game</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.view.IGameListPanel</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getGameListPanel()">getGameListPanel</A></B>()</CODE> + +<BR> + Getter for game list panel</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.view.IHandPanel</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getHandPanel()">getHandPanel</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getLoadEvent()">getLoadEvent</A></B>()</CODE> + +<BR> + The load event is emitted when the user wants to load a previously saved + game state</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent1<java.io.File></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getLoadFileEvent()">getLoadFileEvent</A></B>()</CODE> + +<BR> + The load file event is emitted when the user chose to discard the current + game to save another</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.view.ILoginPanel</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getLoginPanel()">getLoginPanel</A></B>()</CODE> + +<BR> + Getter for login panel</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getMenuNewGameEvent()">getMenuNewGameEvent</A></B>()</CODE> + +<BR> + The menu new game event is emitted when the user selects the new game menu + entry</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getNetworkGameEvent()">getNetworkGameEvent</A></B>()</CODE> <BR> - Enables or disables the panel shown when a player has won</TD> + The network game event is emitted when the user chooses a network game</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummikub.util">IEvent</A></CODE></FONT></TD> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getNewGameEvent()">getNewGameEvent</A></B>()</CODE> <BR> - The new game event is emitted when the player wants to start a new game</TD> + Is emitted if the player wants to end the game and start a new one</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getNewRoundEvent()">getNewRoundEvent</A></B>()</CODE> + +<BR> + The new round event is emitted when the player wants to start a new round</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getPauseEvent()">getPauseEvent</A></B>()</CODE> + +<BR> + The pause event is emitted when the user wants to pause the current turn</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../jrummikub/view/IPlayerPanel.html" title="interface in jrummikub.view">IPlayerPanel</A></CODE></FONT></TD> +<CODE> jrummikub.view.IPlayerPanel</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getPlayerPanel()">getPlayerPanel</A></B>()</CODE> <BR> @@ -290,15 +386,56 @@ Implementation of the top-level view interface </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummikub.util">IEvent</A></CODE></FONT></TD> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getQuitEvent()">getQuitEvent</A></B>()</CODE> <BR> - The quit event is emitted when the player wants to quit the game</TD> + The quit event is emitted when the user wants to leave the application</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.view.IQuitWarningPanel</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getQuitWarningPanel()">getQuitWarningPanel</A></B>()</CODE> + +<BR> + Getter for quit warning panel</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent1<java.io.File></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getSaveEvent()">getSaveEvent</A></B>()</CODE> + +<BR> + The save event is emitted when the user wants to save the current game + state</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.view.IScorePanel</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getScorePanel()">getScorePanel</A></B>()</CODE> + +<BR> + Returns the score panel</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.view.ISettingsPanel</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getSettingsPanel()">getSettingsPanel</A></B>()</CODE> + +<BR> + Returns the settings panel</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummikub.util">IEvent</A></CODE></FONT></TD> +<CODE> jrummikub.view.ISidePanel</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getSidePanel()">getSidePanel</A></B>()</CODE> + +<BR> + Returns the side panel</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> jrummikub.util.IEvent</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getStartTurnEvent()">getStartTurnEvent</A></B>()</CODE> <BR> @@ -306,7 +443,7 @@ Implementation of the top-level view interface </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../jrummikub/view/ITablePanel.html" title="interface in jrummikub.view">ITablePanel</A></CODE></FONT></TD> +<CODE> jrummikub.view.ITablePanel</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../jrummikub/view/impl/View.html#getTablePanel()">getTablePanel</A></B>()</CODE> <BR> @@ -315,6 +452,48 @@ Implementation of the top-level view interface <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/View.html#load()">load</A></B>()</CODE> + +<BR> + Loading a game</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/View.html#resetLoginPanel()">resetLoginPanel</A></B>()</CODE> + +<BR> + Clears user input of the resetLoginPanel</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/View.html#setBottomPanel(jrummikub.view.IView.BottomPanelType)">setBottomPanel</A></B>(jrummikub.view.IView.BottomPanelType type)</CODE> + +<BR> + Sets the bottom panels type</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/View.html#setCurrentPlayerColor(java.awt.Color)">setCurrentPlayerColor</A></B>(java.awt.Color color)</CODE> + +<BR> + Is used for the PlayerPanel and ScorePanel to display a player's color + along with the name</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/View.html#setCurrentPlayerHasLaidOut(boolean)">setCurrentPlayerHasLaidOut</A></B>(boolean hasLaidOut)</CODE> + +<BR> + Is used for the PlayerPanel to display if a player has laid out along with + the name</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/View.html#setCurrentPlayerName(java.lang.String)">setCurrentPlayerName</A></B>(java.lang.String playerName)</CODE> <BR> @@ -323,11 +502,140 @@ Implementation of the top-level view interface <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/View.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/View.html#setInitialMeldError(int)">setInitialMeldError</A></B>(int points)</CODE> + +<BR> + Is set if a player tried to lay out less than initial meld threshold</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/View.html#setInitialMeldFirstError()">setInitialMeldFirstError</A></B>()</CODE> + +<BR> + Is set if the player tried to modify the table without laying out first</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/View.html#setInvalidStoneSets(java.util.Collection)">setInvalidStoneSets</A></B>(java.util.Collection<jrummikub.model.StoneSet> sets)</CODE> + +<BR> + Set invalid sets to enable showing</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/View.html#setLastStonePlayerName(java.lang.String)">setLastStonePlayerName</A></B>(java.lang.String name)</CODE> + +<BR> + Sets the name of the player that has drawn the last stone</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/View.html#setMayPause(boolean)">setMayPause</A></B>(boolean mayPause)</CODE> + +<BR> + Sets the pause button if pausing should be possible in the current + situation</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/View.html#setRedealedPlayerName(java.lang.String)">setRedealedPlayerName</A></B>(java.lang.String name)</CODE> + +<BR> + Sets the name of the player that has redealt last</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/View.html#setSelectedStones(java.util.Collection)">setSelectedStones</A></B>(java.util.Collection<jrummikub.model.Stone> stones)</CODE> <BR> Sets the stones that are to be painted selected</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/View.html#setStoneCollectionHidden(boolean)">setStoneCollectionHidden</A></B>(boolean enable)</CODE> + +<BR> + Show stone collection</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/View.html#showConnectPanel(boolean)">showConnectPanel</A></B>(boolean show)</CODE> + +<BR> + Set the connect panel visible</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/View.html#showGameListPanel(boolean)">showGameListPanel</A></B>(boolean show)</CODE> + +<BR> + Show/hide game list panel</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/View.html#showLoadingError()">showLoadingError</A></B>()</CODE> + +<BR> + Show when loading is unsuccessful</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/View.html#showLoginPanel(boolean)">showLoginPanel</A></B>(boolean show)</CODE> + +<BR> + Show/hide login panel</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/View.html#showQuitWarningPanel(boolean)">showQuitWarningPanel</A></B>(boolean show)</CODE> + +<BR> + Sets the quit warning panel visible</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/View.html#showScorePanel(boolean)">showScorePanel</A></B>(boolean show)</CODE> + +<BR> + Shows or hides the score panel</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/View.html#showServerStartupError(boolean)">showServerStartupError</A></B>(boolean alreadyRunning)</CODE> + +<BR> + Show an error message when the server couldn't be started</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/View.html#showSettingsPanel(boolean)">showSettingsPanel</A></B>(boolean show)</CODE> + +<BR> + Shows or hides the game settings panel</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/View.html#showSidePanel(boolean)">showSidePanel</A></B>(boolean show)</CODE> + +<BR> + Show/hide side panel</TD> +</TR> </TABLE> <A NAME="methods_inherited_from_class_javax.swing.JFrame"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> @@ -335,7 +643,7 @@ Implementation of the top-level view interface <TH ALIGN="left"><B>Methods inherited from class javax.swing.JFrame</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</CODE></TD> +<TD><CODE>getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.awt.Frame"><!-- --></A> @@ -353,7 +661,7 @@ Implementation of the top-level view interface <TH ALIGN="left"><B>Methods inherited from class java.awt.Window</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront</CODE></TD> +<TD><CODE>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A> @@ -362,7 +670,7 @@ Implementation of the top-level view interface <TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree</CODE></TD> +<TD><CODE>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A> @@ -371,7 +679,7 @@ Implementation of the top-level view interface <TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</CODE></TD> +<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> @@ -380,7 +688,7 @@ Implementation of the top-level view interface <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> +<TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.awt.MenuContainer"><!-- --></A> @@ -424,16 +732,70 @@ public <B>View</B>()</PRE> </TR> </TABLE> +<A NAME="getSettingsPanel()"><!-- --></A><H3> +getSettingsPanel</H3> +<PRE> +public jrummikub.view.ISettingsPanel <B>getSettingsPanel</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Returns the settings panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getSettingsPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the settings panel</DL> +</DD> +</DL> +<HR> + +<A NAME="getLoginPanel()"><!-- --></A><H3> +getLoginPanel</H3> +<PRE> +public jrummikub.view.ILoginPanel <B>getLoginPanel</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Getter for login panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getLoginPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>login panel</DL> +</DD> +</DL> +<HR> + +<A NAME="getScorePanel()"><!-- --></A><H3> +getScorePanel</H3> +<PRE> +public jrummikub.view.IScorePanel <B>getScorePanel</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Returns the score panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getScorePanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the score panel</DL> +</DD> +</DL> +<HR> + <A NAME="getTablePanel()"><!-- --></A><H3> getTablePanel</H3> <PRE> -public <A HREF="../../../jrummikub/view/ITablePanel.html" title="interface in jrummikub.view">ITablePanel</A> <B>getTablePanel</B>()</PRE> +public jrummikub.view.ITablePanel <B>getTablePanel</B>()</PRE> <DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/IView.html#getTablePanel()">IView</A></CODE></B></DD> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> <DD>Returns the table <P> <DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/IView.html#getTablePanel()">getTablePanel</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></CODE></DL> +<DT><B>Specified by:</B><DD><CODE>getTablePanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> </DD> <DD><DL> @@ -442,16 +804,49 @@ public <A HREF="../../../jrummikub/view/ITablePanel.html" title="interface in jr </DL> <HR> +<A NAME="getSidePanel()"><!-- --></A><H3> +getSidePanel</H3> +<PRE> +public jrummikub.view.ISidePanel <B>getSidePanel</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Returns the side panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getSidePanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the side panel</DL> +</DD> +</DL> +<HR> + +<A NAME="getHandPanel()"><!-- --></A><H3> +getHandPanel</H3> +<PRE> +public jrummikub.view.IHandPanel <B>getHandPanel</B>()</PRE> +<DL> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getHandPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the board where the players hand stones are displayed</DL> +</DD> +</DL> +<HR> + <A NAME="getPlayerPanel()"><!-- --></A><H3> getPlayerPanel</H3> <PRE> -public <A HREF="../../../jrummikub/view/IPlayerPanel.html" title="interface in jrummikub.view">IPlayerPanel</A> <B>getPlayerPanel</B>()</PRE> +public jrummikub.view.IPlayerPanel <B>getPlayerPanel</B>()</PRE> <DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/IView.html#getPlayerPanel()">IView</A></CODE></B></DD> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> <DD>Returns the player panel <P> <DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/IView.html#getPlayerPanel()">getPlayerPanel</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></CODE></DL> +<DT><B>Specified by:</B><DD><CODE>getPlayerPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> </DD> <DD><DL> @@ -460,16 +855,340 @@ public <A HREF="../../../jrummikub/view/IPlayerPanel.html" title="interface in j </DL> <HR> +<A NAME="getQuitWarningPanel()"><!-- --></A><H3> +getQuitWarningPanel</H3> +<PRE> +public jrummikub.view.IQuitWarningPanel <B>getQuitWarningPanel</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Getter for quit warning panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getQuitWarningPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the panel</DL> +</DD> +</DL> +<HR> + +<A NAME="getConnectPanel()"><!-- --></A><H3> +getConnectPanel</H3> +<PRE> +public jrummikub.view.IConnectPanel <B>getConnectPanel</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Getter for connect panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getConnectPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the panel</DL> +</DD> +</DL> +<HR> + +<A NAME="getGameListPanel()"><!-- --></A><H3> +getGameListPanel</H3> +<PRE> +public jrummikub.view.IGameListPanel <B>getGameListPanel</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Getter for game list panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getGameListPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>game list panel</DL> +</DD> +</DL> +<HR> + +<A NAME="getMenuNewGameEvent()"><!-- --></A><H3> +getMenuNewGameEvent</H3> +<PRE> +public jrummikub.util.IEvent <B>getMenuNewGameEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The menu new game event is emitted when the user selects the new game menu + entry +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getMenuNewGameEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getLoadFileEvent()"><!-- --></A><H3> +getLoadFileEvent</H3> +<PRE> +public jrummikub.util.IEvent1<java.io.File> <B>getLoadFileEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The load file event is emitted when the user chose to discard the current + game to save another +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getLoadFileEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getLoadEvent()"><!-- --></A><H3> +getLoadEvent</H3> +<PRE> +public jrummikub.util.IEvent <B>getLoadEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The load event is emitted when the user wants to load a previously saved + game state +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getLoadEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getSaveEvent()"><!-- --></A><H3> +getSaveEvent</H3> +<PRE> +public jrummikub.util.IEvent1<java.io.File> <B>getSaveEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The save event is emitted when the user wants to save the current game + state +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getSaveEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getPauseEvent()"><!-- --></A><H3> +getPauseEvent</H3> +<PRE> +public jrummikub.util.IEvent <B>getPauseEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The pause event is emitted when the user wants to pause the current turn +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getPauseEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getEndPauseEvent()"><!-- --></A><H3> +getEndPauseEvent</H3> +<PRE> +public jrummikub.util.IEvent <B>getEndPauseEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The end pause event is emitted when the user wants to sresume the game + after a pause +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getEndPauseEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getNetworkGameEvent()"><!-- --></A><H3> +getNetworkGameEvent</H3> +<PRE> +public jrummikub.util.IEvent <B>getNetworkGameEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The network game event is emitted when the user chooses a network game +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getNetworkGameEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getQuitEvent()"><!-- --></A><H3> +getQuitEvent</H3> +<PRE> +public jrummikub.util.IEvent <B>getQuitEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The quit event is emitted when the user wants to leave the application +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getQuitEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="clearView()"><!-- --></A><H3> +clearView</H3> +<PRE> +public void <B>clearView</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Hides all view elements and panels except for the cleared table and an + empty hand panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>clearView</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="showLoadingError()"><!-- --></A><H3> +showLoadingError</H3> +<PRE> +public void <B>showLoadingError</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Show when loading is unsuccessful +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>showLoadingError</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="showServerStartupError(boolean)"><!-- --></A><H3> +showServerStartupError</H3> +<PRE> +public void <B>showServerStartupError</B>(boolean alreadyRunning)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Show an error message when the server couldn't be started +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>showServerStartupError</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>alreadyRunning</CODE> - true when the server is already running on this machine</DL> +</DD> +</DL> +<HR> + +<A NAME="enableSave(boolean)"><!-- --></A><H3> +enableSave</H3> +<PRE> +public void <B>enableSave</B>(boolean enable)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Enables/disables saving in menu bar +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>enableSave</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>enable</CODE> - saving possible</DL> +</DD> +</DL> +<HR> + +<A NAME="load()"><!-- --></A><H3> +load</H3> +<PRE> +public void <B>load</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Loading a game +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>load</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setMayPause(boolean)"><!-- --></A><H3> +setMayPause</H3> +<PRE> +public void <B>setMayPause</B>(boolean mayPause)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Sets the pause button if pausing should be possible in the current + situation +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setMayPause</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>mayPause</CODE> - pausing possible</DL> +</DD> +</DL> +<HR> + +<A NAME="enablePauseMode(boolean)"><!-- --></A><H3> +enablePauseMode</H3> +<PRE> +public void <B>enablePauseMode</B>(boolean enable)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Enable/disable pause mode +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>enablePauseMode</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>enable</CODE> - true = enable</DL> +</DD> +</DL> +<HR> + <A NAME="setSelectedStones(java.util.Collection)"><!-- --></A><H3> setSelectedStones</H3> <PRE> -public void <B>setSelectedStones</B>(java.util.Collection<<A HREF="../../../jrummikub/model/Stone.html" title="class in jrummikub.model">Stone</A>> stones)</PRE> +public void <B>setSelectedStones</B>(java.util.Collection<jrummikub.model.Stone> stones)</PRE> <DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/IView.html#setSelectedStones(java.util.Collection)">IView</A></CODE></B></DD> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> <DD>Sets the stones that are to be painted selected <P> <DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/IView.html#setSelectedStones(java.util.Collection)">setSelectedStones</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></CODE></DL> +<DT><B>Specified by:</B><DD><CODE>setSelectedStones</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>stones</CODE> - the stones to be painted selected</DL> @@ -477,36 +1196,155 @@ public void <B>setSelectedStones</B>(java.util.Collection<<A HREF="../../../j </DL> <HR> -<A NAME="enableStartTurnPanel(boolean)"><!-- --></A><H3> -enableStartTurnPanel</H3> +<A NAME="setInvalidStoneSets(java.util.Collection)"><!-- --></A><H3> +setInvalidStoneSets</H3> +<PRE> +public void <B>setInvalidStoneSets</B>(java.util.Collection<jrummikub.model.StoneSet> sets)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Set invalid sets to enable showing +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setInvalidStoneSets</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>sets</CODE> - invalid sets on table</DL> +</DD> +</DL> +<HR> + +<A NAME="showSettingsPanel(boolean)"><!-- --></A><H3> +showSettingsPanel</H3> +<PRE> +public void <B>showSettingsPanel</B>(boolean show)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Shows or hides the game settings panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>showSettingsPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>show</CODE> - specifies if the panel shall be shown or hidden</DL> +</DD> +</DL> +<HR> + +<A NAME="showLoginPanel(boolean)"><!-- --></A><H3> +showLoginPanel</H3> +<PRE> +public void <B>showLoginPanel</B>(boolean show)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Show/hide login panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>showLoginPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>show</CODE> - true = login panel is shown</DL> +</DD> +</DL> +<HR> + +<A NAME="resetLoginPanel()"><!-- --></A><H3> +resetLoginPanel</H3> +<PRE> +public void <B>resetLoginPanel</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Clears user input of the resetLoginPanel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>resetLoginPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="showGameListPanel(boolean)"><!-- --></A><H3> +showGameListPanel</H3> +<PRE> +public void <B>showGameListPanel</B>(boolean show)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Show/hide game list panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>showGameListPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>show</CODE> - true = show</DL> +</DD> +</DL> +<HR> + +<A NAME="showScorePanel(boolean)"><!-- --></A><H3> +showScorePanel</H3> +<PRE> +public void <B>showScorePanel</B>(boolean show)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Shows or hides the score panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>showScorePanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>show</CODE> - specifies if the panel shall be shown or hidden</DL> +</DD> +</DL> +<HR> + +<A NAME="showSidePanel(boolean)"><!-- --></A><H3> +showSidePanel</H3> +<PRE> +public void <B>showSidePanel</B>(boolean show)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Show/hide side panel +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>showSidePanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>show</CODE> - true to show</DL> +</DD> +</DL> +<HR> + +<A NAME="showQuitWarningPanel(boolean)"><!-- --></A><H3> +showQuitWarningPanel</H3> <PRE> -public void <B>enableStartTurnPanel</B>(boolean enable)</PRE> +public void <B>showQuitWarningPanel</B>(boolean show)</PRE> <DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/IView.html#enableStartTurnPanel(boolean)">IView</A></CODE></B></DD> -<DD>Enables or disables the player's StartTurnPanel +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Sets the quit warning panel visible <P> <DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/IView.html#enableStartTurnPanel(boolean)">enableStartTurnPanel</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></CODE></DL> +<DT><B>Specified by:</B><DD><CODE>showQuitWarningPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> </DD> <DD><DL> -<DT><B>Parameters:</B><DD><CODE>enable</CODE> - enable/disable</DL> +<DT><B>Parameters:</B><DD><CODE>show</CODE> - is visible</DL> </DD> </DL> <HR> -<A NAME="enableWinPanel(boolean)"><!-- --></A><H3> -enableWinPanel</H3> +<A NAME="showConnectPanel(boolean)"><!-- --></A><H3> +showConnectPanel</H3> <PRE> -public void <B>enableWinPanel</B>(boolean enable)</PRE> +public void <B>showConnectPanel</B>(boolean show)</PRE> <DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/IView.html#enableWinPanel(boolean)">IView</A></CODE></B></DD> -<DD>Enables or disables the panel shown when a player has won +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Set the connect panel visible <P> <DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/IView.html#enableWinPanel(boolean)">enableWinPanel</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></CODE></DL> +<DT><B>Specified by:</B><DD><CODE>showConnectPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> </DD> <DD><DL> -<DT><B>Parameters:</B><DD><CODE>enable</CODE> - enable/disable</DL> +<DT><B>Parameters:</B><DD><CODE>show</CODE> - is visible</DL> </DD> </DL> <HR> @@ -516,11 +1354,11 @@ setCurrentPlayerName</H3> <PRE> public void <B>setCurrentPlayerName</B>(java.lang.String playerName)</PRE> <DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/IView.html#setCurrentPlayerName(java.lang.String)">IView</A></CODE></B></DD> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> <DD>Sets the current player's name <P> <DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/IView.html#setCurrentPlayerName(java.lang.String)">setCurrentPlayerName</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></CODE></DL> +<DT><B>Specified by:</B><DD><CODE>setCurrentPlayerName</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>playerName</CODE> - the player name</DL> @@ -528,16 +1366,176 @@ public void <B>setCurrentPlayerName</B>(java.lang.String playerName)</PRE> </DL> <HR> +<A NAME="setInitialMeldError(int)"><!-- --></A><H3> +setInitialMeldError</H3> +<PRE> +public void <B>setInitialMeldError</B>(int points)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Is set if a player tried to lay out less than initial meld threshold +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setInitialMeldError</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>points</CODE> - initial meld threshold</DL> +</DD> +</DL> +<HR> + +<A NAME="setInitialMeldFirstError()"><!-- --></A><H3> +setInitialMeldFirstError</H3> +<PRE> +public void <B>setInitialMeldFirstError</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Is set if the player tried to modify the table without laying out first +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setInitialMeldFirstError</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setCurrentPlayerColor(java.awt.Color)"><!-- --></A><H3> +setCurrentPlayerColor</H3> +<PRE> +public void <B>setCurrentPlayerColor</B>(java.awt.Color color)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Is used for the PlayerPanel and ScorePanel to display a player's color + along with the name +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setCurrentPlayerColor</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>color</CODE> - the current player's color</DL> +</DD> +</DL> +<HR> + +<A NAME="setRedealedPlayerName(java.lang.String)"><!-- --></A><H3> +setRedealedPlayerName</H3> +<PRE> +public void <B>setRedealedPlayerName</B>(java.lang.String name)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Sets the name of the player that has redealt last +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setRedealedPlayerName</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the player name</DL> +</DD> +</DL> +<HR> + +<A NAME="setLastStonePlayerName(java.lang.String)"><!-- --></A><H3> +setLastStonePlayerName</H3> +<PRE> +public void <B>setLastStonePlayerName</B>(java.lang.String name)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Sets the name of the player that has drawn the last stone +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setLastStonePlayerName</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the player name</DL> +</DD> +</DL> +<HR> + +<A NAME="setCurrentPlayerHasLaidOut(boolean)"><!-- --></A><H3> +setCurrentPlayerHasLaidOut</H3> +<PRE> +public void <B>setCurrentPlayerHasLaidOut</B>(boolean hasLaidOut)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Is used for the PlayerPanel to display if a player has laid out along with + the name +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setCurrentPlayerHasLaidOut</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>hasLaidOut</CODE> - specifies if the current player has laid out or not</DL> +</DD> +</DL> +<HR> + <A NAME="getStartTurnEvent()"><!-- --></A><H3> getStartTurnEvent</H3> <PRE> -public <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummikub.util">IEvent</A> <B>getStartTurnEvent</B>()</PRE> +public jrummikub.util.IEvent <B>getStartTurnEvent</B>()</PRE> <DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/IView.html#getStartTurnEvent()">IView</A></CODE></B></DD> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> <DD>The start turn event is emitted when the player wants to start his turn <P> <DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/IView.html#getStartTurnEvent()">getStartTurnEvent</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></CODE></DL> +<DT><B>Specified by:</B><DD><CODE>getStartTurnEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getAcknowledgeInvalidEvent()"><!-- --></A><H3> +getAcknowledgeInvalidEvent</H3> +<PRE> +public jrummikub.util.IEvent <B>getAcknowledgeInvalidEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The start turn event is emitted when the player knows what invalid stones + he played +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getAcknowledgeInvalidEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getAcknowledgeConnectionLostEvent()"><!-- --></A><H3> +getAcknowledgeConnectionLostEvent</H3> +<PRE> +public jrummikub.util.IEvent <B>getAcknowledgeConnectionLostEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The acknoledge connection lost event is emitted when the user has + acknowledged that the network connection was lost +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getAcknowledgeConnectionLostEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the event</DL> +</DD> +</DL> +<HR> + +<A NAME="getNewRoundEvent()"><!-- --></A><H3> +getNewRoundEvent</H3> +<PRE> +public jrummikub.util.IEvent <B>getNewRoundEvent</B>()</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>The new round event is emitted when the player wants to start a new round +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getNewRoundEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> </DD> <DD><DL> @@ -549,37 +1547,71 @@ public <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummik <A NAME="getNewGameEvent()"><!-- --></A><H3> getNewGameEvent</H3> <PRE> -public <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummikub.util">IEvent</A> <B>getNewGameEvent</B>()</PRE> +public jrummikub.util.IEvent <B>getNewGameEvent</B>()</PRE> <DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/IView.html#getNewGameEvent()">IView</A></CODE></B></DD> -<DD>The new game event is emitted when the player wants to start a new game +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Is emitted if the player wants to end the game and start a new one <P> <DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/IView.html#getNewGameEvent()">getNewGameEvent</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></CODE></DL> +<DT><B>Specified by:</B><DD><CODE>getNewGameEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> </DD> <DD><DL> -<DT><B>Returns:</B><DD>the event</DL> +<DT><B>Returns:</B><DD>newGameEvent</DL> </DD> </DL> <HR> -<A NAME="getQuitEvent()"><!-- --></A><H3> -getQuitEvent</H3> +<A NAME="getEndProgramEvent()"><!-- --></A><H3> +getEndProgramEvent</H3> <PRE> -public <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummikub.util">IEvent</A> <B>getQuitEvent</B>()</PRE> +public jrummikub.util.IEvent <B>getEndProgramEvent</B>()</PRE> <DL> -<DD><B>Description copied from interface: <CODE><A HREF="../../../jrummikub/view/IView.html#getQuitEvent()">IView</A></CODE></B></DD> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> <DD>The quit event is emitted when the player wants to quit the game <P> <DD><DL> -<DT><B>Specified by:</B><DD><CODE><A HREF="../../../jrummikub/view/IView.html#getQuitEvent()">getQuitEvent</A></CODE> in interface <CODE><A HREF="../../../jrummikub/view/IView.html" title="interface in jrummikub.view">IView</A></CODE></DL> +<DT><B>Specified by:</B><DD><CODE>getEndProgramEvent</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the event</DL> </DD> </DL> +<HR> + +<A NAME="setBottomPanel(jrummikub.view.IView.BottomPanelType)"><!-- --></A><H3> +setBottomPanel</H3> +<PRE> +public void <B>setBottomPanel</B>(jrummikub.view.IView.BottomPanelType type)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Sets the bottom panels type +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setBottomPanel</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>type</CODE> - the type of the bottom panel</DL> +</DD> +</DL> +<HR> + +<A NAME="setStoneCollectionHidden(boolean)"><!-- --></A><H3> +setStoneCollectionHidden</H3> +<PRE> +public void <B>setStoneCollectionHidden</B>(boolean enable)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>jrummikub.view.IView</CODE></B></DD> +<DD>Show stone collection +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>setStoneCollectionHidden</CODE> in interface <CODE>jrummikub.view.IView</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>enable</CODE> - showing collection</DL> +</DD> +</DL> <!-- ========= END OF CLASS DATA ========= --> <HR> @@ -593,8 +1625,7 @@ public <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummik <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../jrummikub/view/impl/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/View.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> @@ -611,8 +1642,8 @@ public <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummik <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../jrummikub/view/impl/TablePanel.html" title="class in jrummikub.view.impl"><B>PREV CLASS</B></A> - <A HREF="../../../jrummikub/view/impl/WinPanel.html" title="class in jrummikub.view.impl"><B>NEXT CLASS</B></A></FONT></TD> + PREV CLASS + NEXT CLASS</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?jrummikub/view/impl/View.html" target="_top"><B>FRAMES</B></A> <A HREF="View.html" target="_top"><B>NO FRAMES</B></A> @@ -632,7 +1663,7 @@ public <A HREF="../../../jrummikub/util/IEvent.html" title="interface in jrummik </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JFrame">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JFrame">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> + SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.awt.Component">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JFrame">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> </TR> |