893 lines
47 KiB
HTML
893 lines
47 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:13 CEST 2011 -->
|
|
<TITLE>
|
|
IntMatrix
|
|
</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="IntMatrix";
|
|
}
|
|
}
|
|
</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/IntMatrix.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/primitives/IntArray.html" title="class in algoanim.primitives"><B>PREV CLASS</B></A>
|
|
<A HREF="../../algoanim/primitives/ListBasedQueue.html" title="class in algoanim.primitives"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?algoanim/primitives/IntMatrix.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="IntMatrix.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.primitives</FONT>
|
|
<BR>
|
|
Class IntMatrix</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../algoanim/primitives/Primitive.html" title="class in algoanim.primitives">algoanim.primitives.Primitive</A>
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../algoanim/primitives/MatrixPrimitive.html" title="class in algoanim.primitives">algoanim.primitives.MatrixPrimitive</A>
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>algoanim.primitives.IntMatrix</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>IntMatrix</B><DT>extends <A HREF="../../algoanim/primitives/MatrixPrimitive.html" title="class in algoanim.primitives">MatrixPrimitive</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
<code>IntMatrix</code> manages an internal matrix. Operations on objects of
|
|
<code>IntMatrix</code> are almost performed like on a simple matrix.
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Author:</B></DT>
|
|
<DD>jens</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>protected <A HREF="../../algoanim/primitives/generators/IntMatrixGenerator.html" title="interface in algoanim.primitives.generators">IntMatrixGenerator</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/primitives/IntMatrix.html#generator">generator</A></B></CODE>
|
|
|
|
<BR>
|
|
The related <code>IntMatrixGenerator</code>, which is responsible for
|
|
generating the appropriate scriptcode for operations performed on this
|
|
object.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="fields_inherited_from_class_algoanim.primitives.MatrixPrimitive"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Fields inherited from class algoanim.primitives.<A HREF="../../algoanim/primitives/MatrixPrimitive.html" title="class in algoanim.primitives">MatrixPrimitive</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../algoanim/primitives/MatrixPrimitive.html#nrCols">nrCols</A>, <A HREF="../../algoanim/primitives/MatrixPrimitive.html#nrRows">nrRows</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="fields_inherited_from_class_algoanim.primitives.Primitive"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Fields inherited from class algoanim.primitives.<A HREF="../../algoanim/primitives/Primitive.html" title="class in algoanim.primitives">Primitive</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../algoanim/primitives/Primitive.html#gen">gen</A></CODE></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/primitives/IntMatrix.html#IntMatrix(algoanim.primitives.generators.IntMatrixGenerator, algoanim.util.Node, int[][], java.lang.String, algoanim.util.DisplayOptions, algoanim.properties.MatrixProperties)">IntMatrix</A></B>(<A HREF="../../algoanim/primitives/generators/IntMatrixGenerator.html" title="interface in algoanim.primitives.generators">IntMatrixGenerator</A> iag,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> upperLeftCorner,
|
|
int[][] matrixData,
|
|
java.lang.String name,
|
|
<A HREF="../../algoanim/util/DisplayOptions.html" title="class in algoanim.util">DisplayOptions</A> display,
|
|
<A HREF="../../algoanim/properties/MatrixProperties.html" title="class in algoanim.properties">MatrixProperties</A> iap)</CODE>
|
|
|
|
<BR>
|
|
Instantiates the <code>IntMatrix</code> and calls the create() method of
|
|
the associated <code>IntMatrixGenerator</code>.</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> int[][]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/primitives/IntMatrix.html#getData()">getData</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the internal <code>int matrix</code>.</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/primitives/IntMatrix.html#getElement(int, int)">getElement</A></B>(int row,
|
|
int col)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../algoanim/properties/MatrixProperties.html" title="class in algoanim.properties">MatrixProperties</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/primitives/IntMatrix.html#getProperties()">getProperties</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the properties of this matrix.</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/primitives/IntMatrix.html#getRow(int)">getRow</A></B>(int row)</CODE>
|
|
|
|
<BR>
|
|
Returns the data at the given position of the internal matrix.</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/primitives/IntMatrix.html#getUpperLeft()">getUpperLeft</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the upper left corner of this matrix.</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="../../algoanim/primitives/IntMatrix.html#highlightCell(int, int, algoanim.util.Timing, algoanim.util.Timing)">highlightCell</A></B>(int row,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Highlights the matrix cell at a given position after a distinct offset.</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="../../algoanim/primitives/IntMatrix.html#highlightCellColumnRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">highlightCellColumnRange</A></B>(int row,
|
|
int startCol,
|
|
int endCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Highlights a range of array cells of an <code>IntMatrix</code>.</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="../../algoanim/primitives/IntMatrix.html#highlightCellRowRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">highlightCellRowRange</A></B>(int startRow,
|
|
int endRow,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Highlights a range of array cells of an <code>IntMatrix</code>.</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="../../algoanim/primitives/IntMatrix.html#highlightElem(int, int, algoanim.util.Timing, algoanim.util.Timing)">highlightElem</A></B>(int row,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Highlights the matrix element at a given position after a distinct offset.</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="../../algoanim/primitives/IntMatrix.html#highlightElemColumnRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">highlightElemColumnRange</A></B>(int row,
|
|
int startCol,
|
|
int endCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Highlights a range of matrix elements.</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="../../algoanim/primitives/IntMatrix.html#highlightElemRowRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">highlightElemRowRange</A></B>(int startRow,
|
|
int endRow,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Highlights a range of array elements of an <code>IntMatrix</code>.</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="../../algoanim/primitives/IntMatrix.html#put(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">put</A></B>(int row,
|
|
int col,
|
|
int what,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> t,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> d)</CODE>
|
|
|
|
<BR>
|
|
Puts the value <code>what</code> at position <code>[row][col]</code>.</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="../../algoanim/primitives/IntMatrix.html#setName(java.lang.String)">setName</A></B>(java.lang.String newName)</CODE>
|
|
|
|
<BR>
|
|
Sets the name of this <code>Primitive</code>.</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="../../algoanim/primitives/IntMatrix.html#swap(int, int, int, int, algoanim.util.Timing, algoanim.util.Timing)">swap</A></B>(int sourceRow,
|
|
int sourceCol,
|
|
int targetRow,
|
|
int targetCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> t,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> d)</CODE>
|
|
|
|
<BR>
|
|
Swaps the elements at index <code>[sourceRow][sourceCol]</code> and
|
|
<code>[targetRow][targetCol]</code>.</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="../../algoanim/primitives/IntMatrix.html#unhighlightCell(int, int, algoanim.util.Timing, algoanim.util.Timing)">unhighlightCell</A></B>(int row,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Unhighlights the array cell of an <code>IntMatrix</code> at a given
|
|
position after a distinct offset.</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="../../algoanim/primitives/IntMatrix.html#unhighlightCellColumnRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">unhighlightCellColumnRange</A></B>(int row,
|
|
int startCol,
|
|
int endCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Unhighlights a range of array cells of an <code>IntMatrix</code>.</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="../../algoanim/primitives/IntMatrix.html#unhighlightCellRowRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">unhighlightCellRowRange</A></B>(int startRow,
|
|
int endRow,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Unhighlights a range of array cells of an <code>IntMatrix</code>.</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="../../algoanim/primitives/IntMatrix.html#unhighlightElem(int, int, algoanim.util.Timing, algoanim.util.Timing)">unhighlightElem</A></B>(int row,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Unhighlights the matrix element at a given position after a distinct
|
|
offset.</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="../../algoanim/primitives/IntMatrix.html#unhighlightElemColumnRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">unhighlightElemColumnRange</A></B>(int row,
|
|
int startCol,
|
|
int endCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Unhighlights a range of array elements of an <code>IntMatrix</code>.</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="../../algoanim/primitives/IntMatrix.html#unhighlightElemRowRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">unhighlightElemRowRange</A></B>(int startRow,
|
|
int endRow,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</CODE>
|
|
|
|
<BR>
|
|
Unhighlights a range of array elements of an <code>IntMatrix</code>.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_algoanim.primitives.MatrixPrimitive"><!-- --></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.primitives.<A HREF="../../algoanim/primitives/MatrixPrimitive.html" title="class in algoanim.primitives">MatrixPrimitive</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../algoanim/primitives/MatrixPrimitive.html#getNrCols()">getNrCols</A>, <A HREF="../../algoanim/primitives/MatrixPrimitive.html#getNrRows()">getNrRows</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_algoanim.primitives.Primitive"><!-- --></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.primitives.<A HREF="../../algoanim/primitives/Primitive.html" title="class in algoanim.primitives">Primitive</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../algoanim/primitives/Primitive.html#changeColor(java.lang.String, java.awt.Color, algoanim.util.Timing, algoanim.util.Timing)">changeColor</A>, <A HREF="../../algoanim/primitives/Primitive.html#exchange(algoanim.primitives.Primitive)">exchange</A>, <A HREF="../../algoanim/primitives/Primitive.html#getDisplayOptions()">getDisplayOptions</A>, <A HREF="../../algoanim/primitives/Primitive.html#getName()">getName</A>, <A HREF="../../algoanim/primitives/Primitive.html#hide()">hide</A>, <A HREF="../../algoanim/primitives/Primitive.html#hide(algoanim.util.Timing)">hide</A>, <A HREF="../../algoanim/primitives/Primitive.html#moveBy(java.lang.String, int, int, algoanim.util.Timing, algoanim.util.Timing)">moveBy</A>, <A HREF="../../algoanim/primitives/Primitive.html#moveTo(java.lang.String, java.lang.String, algoanim.util.Node, algoanim.util.Timing, algoanim.util.Timing)">moveTo</A>, <A HREF="../../algoanim/primitives/Primitive.html#moveVia(java.lang.String, java.lang.String, algoanim.primitives.Primitive, algoanim.util.Timing, algoanim.util.Timing)">moveVia</A>, <A HREF="../../algoanim/primitives/Primitive.html#rotate(algoanim.util.Node, int, algoanim.util.Timing, algoanim.util.Timing)">rotate</A>, <A HREF="../../algoanim/primitives/Primitive.html#rotate(algoanim.primitives.Primitive, int, algoanim.util.Timing, algoanim.util.Timing)">rotate</A>, <A HREF="../../algoanim/primitives/Primitive.html#show()">show</A>, <A HREF="../../algoanim/primitives/Primitive.html#show(algoanim.util.Timing)">show</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="generator"><!-- --></A><H3>
|
|
generator</H3>
|
|
<PRE>
|
|
protected <A HREF="../../algoanim/primitives/generators/IntMatrixGenerator.html" title="interface in algoanim.primitives.generators">IntMatrixGenerator</A> <B>generator</B></PRE>
|
|
<DL>
|
|
<DD>The related <code>IntMatrixGenerator</code>, which is responsible for
|
|
generating the appropriate scriptcode for operations performed on this
|
|
object.
|
|
<P>
|
|
<DL>
|
|
</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="IntMatrix(algoanim.primitives.generators.IntMatrixGenerator, algoanim.util.Node, int[][], java.lang.String, algoanim.util.DisplayOptions, algoanim.properties.MatrixProperties)"><!-- --></A><H3>
|
|
IntMatrix</H3>
|
|
<PRE>
|
|
public <B>IntMatrix</B>(<A HREF="../../algoanim/primitives/generators/IntMatrixGenerator.html" title="interface in algoanim.primitives.generators">IntMatrixGenerator</A> iag,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> upperLeftCorner,
|
|
int[][] matrixData,
|
|
java.lang.String name,
|
|
<A HREF="../../algoanim/util/DisplayOptions.html" title="class in algoanim.util">DisplayOptions</A> display,
|
|
<A HREF="../../algoanim/properties/MatrixProperties.html" title="class in algoanim.properties">MatrixProperties</A> iap)</PRE>
|
|
<DL>
|
|
<DD>Instantiates the <code>IntMatrix</code> and calls the create() method of
|
|
the associated <code>IntMatrixGenerator</code>.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>iag</CODE> - the appropriate code <code>Generator</code>.<DD><CODE>upperLeftCorner</CODE> - the upper left corner of this <code>IntMatrix</code>.<DD><CODE>matrixData</CODE> - the data of this <code>IntMatrix</code>.<DD><CODE>name</CODE> - the name of this <code>IntMatrix</code>.<DD><CODE>display</CODE> - [optional] the <code>DisplayOptions</code> of this
|
|
<code>IntMatrix</code>.<DD><CODE>iap</CODE> - [optional] the properties of this <code>IntMatrix</code>.</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="getElement(int, int)"><!-- --></A><H3>
|
|
getElement</H3>
|
|
<PRE>
|
|
public int <B>getElement</B>(int row,
|
|
int col)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="put(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
put</H3>
|
|
<PRE>
|
|
public void <B>put</B>(int row,
|
|
int col,
|
|
int what,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> t,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> d)
|
|
throws java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Puts the value <code>what</code> at position <code>[row][col]</code>.
|
|
This is the delayed version as specified by <code>t</code>. The
|
|
<code>duration</code> of this operation may also be specified.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the row position of the element to write.<DD><CODE>col</CODE> - the column position of the element to write.<DD><CODE>what</CODE> - the new value.<DD><CODE>t</CODE> - [optional] the delay which shall be applied to the operation.<DD><CODE>d</CODE> - [optional] the duration this action needs.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="swap(int, int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
swap</H3>
|
|
<PRE>
|
|
public void <B>swap</B>(int sourceRow,
|
|
int sourceCol,
|
|
int targetRow,
|
|
int targetCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> t,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> d)
|
|
throws java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Swaps the elements at index <code>[sourceRow][sourceCol]</code> and
|
|
<code>[targetRow][targetCol]</code>. This is the delayed version. The
|
|
<code>duration</code> of this operation may also be specified.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sourceRow</CODE> - the row position of the first element to swap.<DD><CODE>sourceCol</CODE> - the column position of the first element to swap.<DD><CODE>targetRow</CODE> - the row position of the second element to swap.<DD><CODE>targetCol</CODE> - the column position of the second element to swap.<DD><CODE>t</CODE> - [optional] the delay which shall be applied to the operation.<DD><CODE>d</CODE> - [optional] the duration this action needs.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getData()"><!-- --></A><H3>
|
|
getData</H3>
|
|
<PRE>
|
|
public int[][] <B>getData</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the internal <code>int matrix</code>.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the internal <code>int matrix</code>.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getRow(int)"><!-- --></A><H3>
|
|
getRow</H3>
|
|
<PRE>
|
|
public int[] <B>getRow</B>(int row)
|
|
throws java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Returns the data at the given position of the internal matrix.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the position where to look for the data.
|
|
<DT><B>Returns:</B><DD>the data at position <code>i</code> in the internal
|
|
<code>int matrix</code>.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getUpperLeft()"><!-- --></A><H3>
|
|
getUpperLeft</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> <B>getUpperLeft</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the upper left corner of this matrix.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the upper left corner of this matrix.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getProperties()"><!-- --></A><H3>
|
|
getProperties</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/properties/MatrixProperties.html" title="class in algoanim.properties">MatrixProperties</A> <B>getProperties</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the properties of this matrix.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the properties of this matrix.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setName(java.lang.String)"><!-- --></A><H3>
|
|
setName</H3>
|
|
<PRE>
|
|
public void <B>setName</B>(java.lang.String newName)</PRE>
|
|
<DL>
|
|
<DD><B>Description copied from class: <CODE><A HREF="../../algoanim/primitives/Primitive.html#setName(java.lang.String)">Primitive</A></CODE></B></DD>
|
|
<DD>Sets the name of this <code>Primitive</code>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../algoanim/primitives/Primitive.html#setName(java.lang.String)">setName</A></CODE> in class <CODE><A HREF="../../algoanim/primitives/Primitive.html" title="class in algoanim.primitives">Primitive</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>newName</CODE> - the new name for this <code>Primitive</code>.<DT><B>See Also:</B><DD><A HREF="../../algoanim/primitives/Primitive.html#setName(java.lang.String)"><CODE>Primitive.setName(java.lang.String)</CODE></A></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="highlightCell(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
highlightCell</H3>
|
|
<PRE>
|
|
public void <B>highlightCell</B>(int row,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Highlights the matrix cell at a given position after a distinct offset.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the cell to highlight.<DD><CODE>col</CODE> - the column of the cell to highlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="highlightCellColumnRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
highlightCellColumnRange</H3>
|
|
<PRE>
|
|
public void <B>highlightCellColumnRange</B>(int row,
|
|
int startCol,
|
|
int endCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Highlights a range of array cells of an <code>IntMatrix</code>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the interval to highlight.<DD><CODE>startCol</CODE> - the start column of the interval to highlight.<DD><CODE>endCol</CODE> - the end column of the interval to highlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="highlightCellRowRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
highlightCellRowRange</H3>
|
|
<PRE>
|
|
public void <B>highlightCellRowRange</B>(int startRow,
|
|
int endRow,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Highlights a range of array cells of an <code>IntMatrix</code>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startRow</CODE> - the start row of the interval to highlight.<DD><CODE>endRow</CODE> - the end row of the interval to highlight.<DD><CODE>col</CODE> - the column of the interval to highlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="unhighlightCell(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
unhighlightCell</H3>
|
|
<PRE>
|
|
public void <B>unhighlightCell</B>(int row,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Unhighlights the array cell of an <code>IntMatrix</code> at a given
|
|
position after a distinct offset.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the row position of the cell to unhighlight.<DD><CODE>col</CODE> - the column position of the cell to unhighlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="unhighlightCellColumnRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
unhighlightCellColumnRange</H3>
|
|
<PRE>
|
|
public void <B>unhighlightCellColumnRange</B>(int row,
|
|
int startCol,
|
|
int endCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Unhighlights a range of array cells of an <code>IntMatrix</code>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the interval to highlight.<DD><CODE>startCol</CODE> - the start column of the interval to highlight.<DD><CODE>endCol</CODE> - the end column of the interval to highlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="unhighlightCellRowRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
unhighlightCellRowRange</H3>
|
|
<PRE>
|
|
public void <B>unhighlightCellRowRange</B>(int startRow,
|
|
int endRow,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Unhighlights a range of array cells of an <code>IntMatrix</code>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startRow</CODE> - the start row of the interval to highlight.<DD><CODE>endRow</CODE> - the end row of the interval to highlight.<DD><CODE>col</CODE> - the column of the interval to highlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="highlightElem(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
highlightElem</H3>
|
|
<PRE>
|
|
public void <B>highlightElem</B>(int row,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Highlights the matrix element at a given position after a distinct offset.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the element to highlight.<DD><CODE>col</CODE> - the column of the element to highlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="highlightElemColumnRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
highlightElemColumnRange</H3>
|
|
<PRE>
|
|
public void <B>highlightElemColumnRange</B>(int row,
|
|
int startCol,
|
|
int endCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Highlights a range of matrix elements.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the interval to highlight.<DD><CODE>startCol</CODE> - the start of the column interval to highlight.<DD><CODE>endCol</CODE> - the end of the column interval to highlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="highlightElemRowRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
highlightElemRowRange</H3>
|
|
<PRE>
|
|
public void <B>highlightElemRowRange</B>(int startRow,
|
|
int endRow,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Highlights a range of array elements of an <code>IntMatrix</code>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startRow</CODE> - the start of the row interval to highlight.<DD><CODE>endRow</CODE> - the end of the row interval to highlight.<DD><CODE>col</CODE> - the column interval to highlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="unhighlightElem(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
unhighlightElem</H3>
|
|
<PRE>
|
|
public void <B>unhighlightElem</B>(int row,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Unhighlights the matrix element at a given position after a distinct
|
|
offset.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the element to unhighlight.<DD><CODE>col</CODE> - the column of the element to unhighlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="unhighlightElemColumnRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
unhighlightElemColumnRange</H3>
|
|
<PRE>
|
|
public void <B>unhighlightElemColumnRange</B>(int row,
|
|
int startCol,
|
|
int endCol,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Unhighlights a range of array elements of an <code>IntMatrix</code>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>row</CODE> - the row of the interval to unhighlight.<DD><CODE>startCol</CODE> - the start of the column interval to unhighlight.<DD><CODE>endCol</CODE> - the end of the column interval to unhighlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="unhighlightElemRowRange(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
unhighlightElemRowRange</H3>
|
|
<PRE>
|
|
public void <B>unhighlightElemRowRange</B>(int startRow,
|
|
int endRow,
|
|
int col,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> offset,
|
|
<A HREF="../../algoanim/util/Timing.html" title="class in algoanim.util">Timing</A> duration)</PRE>
|
|
<DL>
|
|
<DD>Unhighlights a range of array elements of an <code>IntMatrix</code>.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startRow</CODE> - the start row of the interval to unhighlight.<DD><CODE>endRow</CODE> - the end row of the interval to unhighlight.<DD><CODE>col</CODE> - the column interval to unhighlight.<DD><CODE>offset</CODE> - [optional] the offset after which the operation shall be started.<DD><CODE>duration</CODE> - [optional] the duration this operation lasts.</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/IntMatrix.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/primitives/IntArray.html" title="class in algoanim.primitives"><B>PREV CLASS</B></A>
|
|
<A HREF="../../algoanim/primitives/ListBasedQueue.html" title="class in algoanim.primitives"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?algoanim/primitives/IntMatrix.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="IntMatrix.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>
|