summaryrefslogtreecommitdiffstats
path: root/doc/jrummikub/model/Position.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/jrummikub/model/Position.html')
-rw-r--r--doc/jrummikub/model/Position.html123
1 files changed, 103 insertions, 20 deletions
diff --git a/doc/jrummikub/model/Position.html b/doc/jrummikub/model/Position.html
index 80f96fd..5a369cb 100644
--- a/doc/jrummikub/model/Position.html
+++ b/doc/jrummikub/model/Position.html
@@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.6.0_22) on Tue May 10 17:04:57 CEST 2011 -->
+<!-- Generated by javadoc (build 1.6.0_22) on Tue Jul 05 21:51:55 CEST 2011 -->
<TITLE>
Position
</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,8 +55,8 @@ function windowTitle()
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../jrummikub/model/Player.html" title="class in jrummikub.model"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../jrummikub/model/Sizeable.html" title="interface in jrummikub.model"><B>NEXT CLASS</B></A></FONT></TD>
+&nbsp;<A HREF="../../jrummikub/model/PlayerSettings.Type.html" title="enum in jrummikub.model"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../jrummikub/model/RoundState.html" title="class in jrummikub.model"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?jrummikub/model/Position.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Position.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
@@ -76,9 +76,9 @@ function windowTitle()
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
@@ -95,9 +95,12 @@ Class Position</H2>
java.lang.Object
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>jrummikub.model.Position</B>
</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
+</DL>
<HR>
<DL>
-<DT><PRE>public class <B>Position</B><DT>extends java.lang.Object</DL>
+<DT><PRE>public class <B>Position</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
</PRE>
<P>
@@ -106,10 +109,45 @@ java.lang.Object
<P>
<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#jrummikub.model.Position">Serialized Form</A></DL>
<HR>
<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<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&nbsp;long</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../jrummikub/model/Position.html#serialVersionUID">serialVersionUID</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;double</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../jrummikub/model/Position.html#x">x</A></B></CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>private &nbsp;double</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../jrummikub/model/Position.html#y">y</A></B></CODE>
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
@@ -119,8 +157,8 @@ java.lang.Object
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../jrummikub/model/Position.html#Position(float, float)">Position</A></B>(float&nbsp;x,
- float&nbsp;y)</CODE>
+<TD><CODE><B><A HREF="../../jrummikub/model/Position.html#Position(double, double)">Position</A></B>(double&nbsp;x,
+ double&nbsp;y)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new position by specifying the coordinates</TD>
@@ -145,7 +183,7 @@ java.lang.Object
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
+<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../jrummikub/model/Position.html#getX()">getX</A></B>()</CODE>
<BR>
@@ -153,7 +191,7 @@ java.lang.Object
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
+<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../jrummikub/model/Position.html#getY()">getY</A></B>()</CODE>
<BR>
@@ -188,6 +226,45 @@ java.lang.Object
&nbsp;
<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="serialVersionUID"><!-- --></A><H3>
+serialVersionUID</H3>
+<PRE>
+private static final long <B>serialVersionUID</B></PRE>
+<DL>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#jrummikub.model.Position.serialVersionUID">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="x"><!-- --></A><H3>
+x</H3>
+<PRE>
+private double <B>x</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="y"><!-- --></A><H3>
+y</H3>
+<PRE>
+private double <B>y</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
+
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
@@ -198,11 +275,11 @@ java.lang.Object
</TR>
</TABLE>
-<A NAME="Position(float, float)"><!-- --></A><H3>
+<A NAME="Position(double, double)"><!-- --></A><H3>
Position</H3>
<PRE>
-public <B>Position</B>(float&nbsp;x,
- float&nbsp;y)</PRE>
+public <B>Position</B>(double&nbsp;x,
+ double&nbsp;y)</PRE>
<DL>
<DD>Create a new position by specifying the coordinates
<P>
@@ -223,11 +300,14 @@ public <B>Position</B>(float&nbsp;x,
<A NAME="getX()"><!-- --></A><H3>
getX</H3>
<PRE>
-public float <B>getX</B>()</PRE>
+public double <B>getX</B>()</PRE>
<DL>
<DD>Get the x coordinate of the position
<P>
<DD><DL>
+</DL>
+</DD>
+<DD><DL>
<DT><B>Returns:</B><DD>x coordinate</DL>
</DD>
@@ -237,11 +317,14 @@ public float <B>getX</B>()</PRE>
<A NAME="getY()"><!-- --></A><H3>
getY</H3>
<PRE>
-public float <B>getY</B>()</PRE>
+public double <B>getY</B>()</PRE>
<DL>
<DD>Get the y coordinate of the position
<P>
<DD><DL>
+</DL>
+</DD>
+<DD><DL>
<DT><B>Returns:</B><DD>y coordinate</DL>
</DD>
@@ -319,8 +402,8 @@ public int <B>hashCode</B>()</PRE>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../jrummikub/model/Player.html" title="class in jrummikub.model"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../jrummikub/model/Sizeable.html" title="interface in jrummikub.model"><B>NEXT CLASS</B></A></FONT></TD>
+&nbsp;<A HREF="../../jrummikub/model/PlayerSettings.Type.html" title="enum in jrummikub.model"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../jrummikub/model/RoundState.html" title="class in jrummikub.model"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?jrummikub/model/Position.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Position.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
@@ -340,9 +423,9 @@ public int <B>hashCode</B>()</PRE>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>