556 lines
20 KiB
HTML
556 lines
20 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_24) on Wed Apr 06 09:00:16 CEST 2011 -->
|
|
<TITLE>
|
|
Offset
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2011-04-06">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Offset";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Offset.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>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util"><B>PREV CLASS</B></A>
|
|
<A HREF="../../algoanim/util/OffsetFromLastPosition.html" title="class in algoanim.util"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?algoanim/util/Offset.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Offset.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <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: <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>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
algoanim.util</FONT>
|
|
<BR>
|
|
Class Offset</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">algoanim.util.Node</A>
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>algoanim.util.Offset</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>Offset</B><DT>extends <A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
This is a concrete kind of a <code>Node</code>. The coordinates are
|
|
measured from a given offset <code>Primitive</code>.
|
|
For example, to place an element 20 pixels to the right and 10 pixels
|
|
below the lower west point of object <em>a</em>, you would use the following:
|
|
<code>Node n = new Offset(20, 10, a, "SW");</code>
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Author:</B></DT>
|
|
<DD>Jens Pfau</DD>
|
|
</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>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#ID_REFERENCE">ID_REFERENCE</A></B></CODE>
|
|
|
|
<BR>
|
|
Constant for an offset based on an identifier</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#NODE_REFERENCE">NODE_REFERENCE</A></B></CODE>
|
|
|
|
<BR>
|
|
Constant for an offset based on a node</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#PRIMITIVE_REFERENCE">PRIMITIVE_REFERENCE</A></B></CODE>
|
|
|
|
<BR>
|
|
Constant for an offset based on a primitive</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_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>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#Offset(int, int, algoanim.util.Node, java.lang.String)">Offset</A></B>(int xCoordinate,
|
|
int yCoordinate,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> baseNode,
|
|
java.lang.String targetDirection)</CODE>
|
|
|
|
<BR>
|
|
Creates a new Offset instance at a distance of (xCoordinate, yCoordinate)
|
|
in direction "targetDirection" from the base Node "baseNode".</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#Offset(int, int, algoanim.primitives.Primitive, java.lang.String)">Offset</A></B>(int xCoordinate,
|
|
int yCoordinate,
|
|
<A HREF="../../algoanim/primitives/Primitive.html" title="class in algoanim.primitives">Primitive</A> reference,
|
|
java.lang.String targetDirection)</CODE>
|
|
|
|
<BR>
|
|
Creates a new Offset instance at a distance of (xCoordinate, yCoordinate)
|
|
in direction "targetDirection" from the base primitive "reference".</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#Offset(int, int, java.lang.String, java.lang.String)">Offset</A></B>(int xCoordinate,
|
|
int yCoordinate,
|
|
java.lang.String baseIDRef,
|
|
java.lang.String targetDirection)</CODE>
|
|
|
|
<BR>
|
|
Creates a new Offset instance at a distance of (xCoordinate, yCoordinate)
|
|
in direction "targetDirection" from the base reference ID "baseIDRef".</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_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>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#getBaseID()">getBaseID</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the reference.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#getDirection()">getDirection</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the direction.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#getNode()">getNode</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the reference.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../algoanim/primitives/Primitive.html" title="class in algoanim.primitives">Primitive</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#getRef()">getRef</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the reference.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#getReferenceMode()">getReferenceMode</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the reference mode</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#getX()">getX</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the x-axis offset.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/util/Offset.html#getY()">getY</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the y-axis offset.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_algoanim.util.Node"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class algoanim.util.<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../algoanim/util/Node.html#convertToNode(java.awt.Point)">convertToNode</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<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, toString, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</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="PRIMITIVE_REFERENCE"><!-- --></A><H3>
|
|
PRIMITIVE_REFERENCE</H3>
|
|
<PRE>
|
|
public static final int <B>PRIMITIVE_REFERENCE</B></PRE>
|
|
<DL>
|
|
<DD>Constant for an offset based on a primitive
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#algoanim.util.Offset.PRIMITIVE_REFERENCE">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="NODE_REFERENCE"><!-- --></A><H3>
|
|
NODE_REFERENCE</H3>
|
|
<PRE>
|
|
public static final int <B>NODE_REFERENCE</B></PRE>
|
|
<DL>
|
|
<DD>Constant for an offset based on a node
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#algoanim.util.Offset.NODE_REFERENCE">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ID_REFERENCE"><!-- --></A><H3>
|
|
ID_REFERENCE</H3>
|
|
<PRE>
|
|
public static final int <B>ID_REFERENCE</B></PRE>
|
|
<DL>
|
|
<DD>Constant for an offset based on an identifier
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#algoanim.util.Offset.ID_REFERENCE">Constant Field Values</A></DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_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>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Offset(int, int, algoanim.primitives.Primitive, java.lang.String)"><!-- --></A><H3>
|
|
Offset</H3>
|
|
<PRE>
|
|
public <B>Offset</B>(int xCoordinate,
|
|
int yCoordinate,
|
|
<A HREF="../../algoanim/primitives/Primitive.html" title="class in algoanim.primitives">Primitive</A> reference,
|
|
java.lang.String targetDirection)</PRE>
|
|
<DL>
|
|
<DD>Creates a new Offset instance at a distance of (xCoordinate, yCoordinate)
|
|
in direction "targetDirection" from the base primitive "reference".
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>xCoordinate</CODE> - the x-axis offset.<DD><CODE>yCoordinate</CODE> - the y-axis offset.<DD><CODE>reference</CODE> - the referenced <code>Primitive</code><DD><CODE>targetDirection</CODE> - the relative placement of this <code>Node</code> seen from the
|
|
reference.</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Offset(int, int, algoanim.util.Node, java.lang.String)"><!-- --></A><H3>
|
|
Offset</H3>
|
|
<PRE>
|
|
public <B>Offset</B>(int xCoordinate,
|
|
int yCoordinate,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> baseNode,
|
|
java.lang.String targetDirection)</PRE>
|
|
<DL>
|
|
<DD>Creates a new Offset instance at a distance of (xCoordinate, yCoordinate)
|
|
in direction "targetDirection" from the base Node "baseNode".
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>xCoordinate</CODE> - the x-axis offset.<DD><CODE>yCoordinate</CODE> - the y-axis offset.<DD><CODE>baseNode</CODE> - the referenced <code>Node</code><DD><CODE>targetDirection</CODE> - the relative placement of this <code>Node</code> seen from the
|
|
reference.</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Offset(int, int, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
Offset</H3>
|
|
<PRE>
|
|
public <B>Offset</B>(int xCoordinate,
|
|
int yCoordinate,
|
|
java.lang.String baseIDRef,
|
|
java.lang.String targetDirection)</PRE>
|
|
<DL>
|
|
<DD>Creates a new Offset instance at a distance of (xCoordinate, yCoordinate)
|
|
in direction "targetDirection" from the base reference ID "baseIDRef".
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>xCoordinate</CODE> - the x-axis offset.<DD><CODE>yCoordinate</CODE> - the y-axis offset.<DD><CODE>baseIDRef</CODE> - the referenced <em>identifier</em><DD><CODE>targetDirection</CODE> - the relative placement of this <code>Node</code> seen from the
|
|
reference.</DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_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>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="getBaseID()"><!-- --></A><H3>
|
|
getBaseID</H3>
|
|
<PRE>
|
|
public java.lang.String <B>getBaseID</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the reference.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the reference.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDirection()"><!-- --></A><H3>
|
|
getDirection</H3>
|
|
<PRE>
|
|
public java.lang.String <B>getDirection</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the direction.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the direction.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNode()"><!-- --></A><H3>
|
|
getNode</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> <B>getNode</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the reference.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the reference.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getRef()"><!-- --></A><H3>
|
|
getRef</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/primitives/Primitive.html" title="class in algoanim.primitives">Primitive</A> <B>getRef</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the reference.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the reference.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getReferenceMode()"><!-- --></A><H3>
|
|
getReferenceMode</H3>
|
|
<PRE>
|
|
public int <B>getReferenceMode</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the reference mode
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the reference mode (one of the constants ID_REFERENCE, NODE_REFERENCE,
|
|
PRIMITIVE_REFERENCE</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getX()"><!-- --></A><H3>
|
|
getX</H3>
|
|
<PRE>
|
|
public int <B>getX</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the x-axis offset.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the x-axis offset.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getY()"><!-- --></A><H3>
|
|
getY</H3>
|
|
<PRE>
|
|
public int <B>getY</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the y-axis offset.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the y-axis offset.</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Offset.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>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util"><B>PREV CLASS</B></A>
|
|
<A HREF="../../algoanim/util/OffsetFromLastPosition.html" title="class in algoanim.util"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?algoanim/util/Offset.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Offset.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <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: <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>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|