1052 lines
49 KiB
HTML
1052 lines
49 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>
|
|
Graph
|
|
</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="Graph";
|
|
}
|
|
}
|
|
</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/Graph.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/EllipseSeg.html" title="class in algoanim.primitives"><B>PREV CLASS</B></A>
|
|
<A HREF="../../algoanim/primitives/Group.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/Graph.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Graph.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 Graph</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 "><B>algoanim.primitives.Graph</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>Graph</B><DT>extends <A HREF="../../algoanim/primitives/Primitive.html" title="class in algoanim.primitives">Primitive</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
Represents a graph
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Version:</B></DT>
|
|
<DD>0.7 2007-04-04</DD>
|
|
<DT><B>Author:</B></DT>
|
|
<DD>Dr. Guido Roessling (roessling@acm.org></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 int[][]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/primitives/Graph.html#adjacencyMatrix">adjacencyMatrix</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected java.lang.String[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/primitives/Graph.html#nodeLabels">nodeLabels</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A>[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/primitives/Graph.html#nodes">nodes</A></B></CODE>
|
|
|
|
<BR>
|
|
</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/Graph.html#Graph(algoanim.primitives.generators.GraphGenerator, java.lang.String, int[][], algoanim.util.Node[], java.lang.String[], algoanim.util.DisplayOptions, algoanim.properties.GraphProperties)">Graph</A></B>(<A HREF="../../algoanim/primitives/generators/GraphGenerator.html" title="interface in algoanim.primitives.generators">GraphGenerator</A> graphGen,
|
|
java.lang.String name,
|
|
int[][] graphAdjacencyMatrix,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A>[] graphNodes,
|
|
java.lang.String[] labels,
|
|
<A HREF="../../algoanim/util/DisplayOptions.html" title="class in algoanim.util">DisplayOptions</A> display,
|
|
<A HREF="../../algoanim/properties/GraphProperties.html" title="class in algoanim.properties">GraphProperties</A> props)</CODE>
|
|
|
|
<BR>
|
|
Instantiates the <code>Graph</code> and calls the create() method of the
|
|
associated <code>GraphGenerator</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/Graph.html#getAdjacencyMatrix()">getAdjacencyMatrix</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the adjacency matrix of this <code>Graph</code> element.</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/Graph.html#getEdgesForNode(int)">getEdgesForNode</A></B>(int node)</CODE>
|
|
|
|
<BR>
|
|
Returns the adjacency matrix of this <code>Graph</code> element.</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/Graph.html#getEdgeWeight(int, int)">getEdgeWeight</A></B>(int fromNode,
|
|
int toNode)</CODE>
|
|
|
|
<BR>
|
|
</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/Graph.html#getNode(int)">getNode</A></B>(int nodeNr)</CODE>
|
|
|
|
<BR>
|
|
</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/primitives/Graph.html#getNodeLabel(int)">getNodeLabel</A></B>(int nodeNr)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../algoanim/properties/GraphProperties.html" title="class in algoanim.properties">GraphProperties</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../algoanim/primitives/Graph.html#getProperties()">getProperties</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the properties of this <code>Graph</code> element.</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/Graph.html#getSize()">getSize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</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/Graph.html#getStartKnoten()">getStartKnoten</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</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/Graph.html#getZielKnoten()">getZielKnoten</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</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/Graph.html#hideEdge(int, int, algoanim.util.Timing, algoanim.util.Timing)">hideEdge</A></B>(int startNode,
|
|
int endNode,
|
|
<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>
|
|
show a selected (previously visible?) graph edge by turning it invisible</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/Graph.html#hideEdgeWeight(int, int, algoanim.util.Timing, algoanim.util.Timing)">hideEdgeWeight</A></B>(int startNode,
|
|
int endNode,
|
|
<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>
|
|
hides a selected (previously visible?) graph edge weight by turning it invisible</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/Graph.html#hideNode(int, algoanim.util.Timing, algoanim.util.Timing)">hideNode</A></B>(int index,
|
|
<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>
|
|
hide a selected graph node by turning it invisible</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/Graph.html#hideNodes(int[], algoanim.util.Timing, algoanim.util.Timing)">hideNodes</A></B>(int[] indices,
|
|
<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>
|
|
hide a selected set of graph nodes by turning them invisible</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/Graph.html#highlightEdge(int, int, algoanim.util.Timing, algoanim.util.Timing)">highlightEdge</A></B>(int startNode,
|
|
int endNode,
|
|
<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 graph edge 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/Graph.html#highlightNode(int, algoanim.util.Timing, algoanim.util.Timing)">highlightNode</A></B>(int node,
|
|
<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 chosen graph node 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/Graph.html#setEdgeWeight(int, int, int, algoanim.util.Timing, algoanim.util.Timing)">setEdgeWeight</A></B>(int fromNode,
|
|
int toNode,
|
|
int weight,
|
|
<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>
|
|
</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/Graph.html#setEdgeWeight(int, int, java.lang.String, algoanim.util.Timing, algoanim.util.Timing)">setEdgeWeight</A></B>(int fromNode,
|
|
int toNode,
|
|
java.lang.String weight,
|
|
<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>
|
|
</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/Graph.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/Graph.html#setStartKnoten(algoanim.util.Node)">setStartKnoten</A></B>(<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> node)</CODE>
|
|
|
|
<BR>
|
|
</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/Graph.html#setZielKnoten(algoanim.util.Node)">setZielKnoten</A></B>(<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> node)</CODE>
|
|
|
|
<BR>
|
|
</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/Graph.html#showEdge(int, int, algoanim.util.Timing, algoanim.util.Timing)">showEdge</A></B>(int startNode,
|
|
int endNode,
|
|
<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>
|
|
show a selected (previously hidden) graph edge by turning it 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="../../algoanim/primitives/Graph.html#showEdgeWeight(int, int, algoanim.util.Timing, algoanim.util.Timing)">showEdgeWeight</A></B>(int startNode,
|
|
int endNode,
|
|
<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>
|
|
show a selected (previously invisible?) graph edge weight by turning it 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="../../algoanim/primitives/Graph.html#showNode(int, algoanim.util.Timing, algoanim.util.Timing)">showNode</A></B>(int index,
|
|
<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>
|
|
show a selected (previously hidden) graph node by turning it 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="../../algoanim/primitives/Graph.html#showNodes(int[], algoanim.util.Timing, algoanim.util.Timing)">showNodes</A></B>(int[] indices,
|
|
<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>
|
|
show a selected (previously hidden) graph node by turning it 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="../../algoanim/primitives/Graph.html#translateNode(int, algoanim.util.Node, algoanim.util.Timing, algoanim.util.Timing)">translateNode</A></B>(int nodeIndex,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> location,
|
|
<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>
|
|
</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/Graph.html#translateNodes(int[], algoanim.util.Node, algoanim.util.Timing, algoanim.util.Timing)">translateNodes</A></B>(int[] nodeIndices,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> location,
|
|
<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>
|
|
</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/Graph.html#translateWithFixedNodes(int[], algoanim.util.Node, algoanim.util.Timing, algoanim.util.Timing)">translateWithFixedNodes</A></B>(int[] nodeIndices,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> location,
|
|
<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>
|
|
</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/Graph.html#unhighlightEdge(int, int, algoanim.util.Timing, algoanim.util.Timing)">unhighlightEdge</A></B>(int startNode,
|
|
int endNode,
|
|
<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 graph edge 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/Graph.html#unhighlightNode(int, algoanim.util.Timing, algoanim.util.Timing)">unhighlightNode</A></B>(int node,
|
|
<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 chosen graph node after a distinct offset.</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="nodeLabels"><!-- --></A><H3>
|
|
nodeLabels</H3>
|
|
<PRE>
|
|
protected java.lang.String[] <B>nodeLabels</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="nodes"><!-- --></A><H3>
|
|
nodes</H3>
|
|
<PRE>
|
|
protected <A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A>[] <B>nodes</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="adjacencyMatrix"><!-- --></A><H3>
|
|
adjacencyMatrix</H3>
|
|
<PRE>
|
|
protected int[][] <B>adjacencyMatrix</B></PRE>
|
|
<DL>
|
|
<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="Graph(algoanim.primitives.generators.GraphGenerator, java.lang.String, int[][], algoanim.util.Node[], java.lang.String[], algoanim.util.DisplayOptions, algoanim.properties.GraphProperties)"><!-- --></A><H3>
|
|
Graph</H3>
|
|
<PRE>
|
|
public <B>Graph</B>(<A HREF="../../algoanim/primitives/generators/GraphGenerator.html" title="interface in algoanim.primitives.generators">GraphGenerator</A> graphGen,
|
|
java.lang.String name,
|
|
int[][] graphAdjacencyMatrix,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A>[] graphNodes,
|
|
java.lang.String[] labels,
|
|
<A HREF="../../algoanim/util/DisplayOptions.html" title="class in algoanim.util">DisplayOptions</A> display,
|
|
<A HREF="../../algoanim/properties/GraphProperties.html" title="class in algoanim.properties">GraphProperties</A> props)</PRE>
|
|
<DL>
|
|
<DD>Instantiates the <code>Graph</code> and calls the create() method of the
|
|
associated <code>GraphGenerator</code>.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>graphGen</CODE> - the appropriate code <code>Generator</code>.<DD><CODE>name</CODE> - the name for the graph<DD><CODE>graphAdjacencyMatrix</CODE> - the adjacency matrix for the graph<DD><CODE>graphNodes</CODE> - the graph's nodes<DD><CODE>labels</CODE> - the labels for the graph nodes<DD><CODE>display</CODE> - [optional] the <code>DisplayOptions</code> of this
|
|
<code>Text</code> element.<DD><CODE>props</CODE> - [optional] the properties of this <code>Text</code> element.</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="getProperties()"><!-- --></A><H3>
|
|
getProperties</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/properties/GraphProperties.html" title="class in algoanim.properties">GraphProperties</A> <B>getProperties</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the properties of this <code>Graph</code> element.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the properties of this <code>Graph</code> element.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAdjacencyMatrix()"><!-- --></A><H3>
|
|
getAdjacencyMatrix</H3>
|
|
<PRE>
|
|
public int[][] <B>getAdjacencyMatrix</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns the adjacency matrix of this <code>Graph</code> element.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the adjaceny matrix of this <code>Graph</code> element.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getSize()"><!-- --></A><H3>
|
|
getSize</H3>
|
|
<PRE>
|
|
public int <B>getSize</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNode(int)"><!-- --></A><H3>
|
|
getNode</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> <B>getNode</B>(int nodeNr)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNodeLabel(int)"><!-- --></A><H3>
|
|
getNodeLabel</H3>
|
|
<PRE>
|
|
public java.lang.String <B>getNodeLabel</B>(int nodeNr)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getEdgesForNode(int)"><!-- --></A><H3>
|
|
getEdgesForNode</H3>
|
|
<PRE>
|
|
public int[] <B>getEdgesForNode</B>(int node)</PRE>
|
|
<DL>
|
|
<DD>Returns the adjacency matrix of this <code>Graph</code> element.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the adjaceny matrix of this <code>Graph</code> element.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getEdgeWeight(int, int)"><!-- --></A><H3>
|
|
getEdgeWeight</H3>
|
|
<PRE>
|
|
public int <B>getEdgeWeight</B>(int fromNode,
|
|
int toNode)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setEdgeWeight(int, int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
setEdgeWeight</H3>
|
|
<PRE>
|
|
public void <B>setEdgeWeight</B>(int fromNode,
|
|
int toNode,
|
|
int weight,
|
|
<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><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setEdgeWeight(int, int, java.lang.String, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
setEdgeWeight</H3>
|
|
<PRE>
|
|
public void <B>setEdgeWeight</B>(int fromNode,
|
|
int toNode,
|
|
java.lang.String weight,
|
|
<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><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="hideNode(int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
hideNode</H3>
|
|
<PRE>
|
|
public void <B>hideNode</B>(int index,
|
|
<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>hide a selected graph node by turning it invisible
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the node to be hidden<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="hideNodes(int[], algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
hideNodes</H3>
|
|
<PRE>
|
|
public void <B>hideNodes</B>(int[] indices,
|
|
<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>hide a selected set of graph nodes by turning them invisible
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>indices</CODE> - the set of node indices to be hidden<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="hideEdge(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
hideEdge</H3>
|
|
<PRE>
|
|
public void <B>hideEdge</B>(int startNode,
|
|
int endNode,
|
|
<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>show a selected (previously visible?) graph edge by turning it invisible
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startNode</CODE> - the start node of the edge to be hidden<DD><CODE>endNode</CODE> - the end node of the edge to be hidden<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="hideEdgeWeight(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
hideEdgeWeight</H3>
|
|
<PRE>
|
|
public void <B>hideEdgeWeight</B>(int startNode,
|
|
int endNode,
|
|
<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>hides a selected (previously visible?) graph edge weight by turning it invisible
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startNode</CODE> - the start node of the edge weight to be hidden<DD><CODE>endNode</CODE> - the end node of the edge weightto be hidden<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="showEdge(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
showEdge</H3>
|
|
<PRE>
|
|
public void <B>showEdge</B>(int startNode,
|
|
int endNode,
|
|
<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>show a selected (previously hidden) graph edge by turning it visible
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startNode</CODE> - the start node of the edge to be shown<DD><CODE>endNode</CODE> - the end node of the edge to be hidden<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="showEdgeWeight(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
showEdgeWeight</H3>
|
|
<PRE>
|
|
public void <B>showEdgeWeight</B>(int startNode,
|
|
int endNode,
|
|
<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>show a selected (previously invisible?) graph edge weight by turning it visible
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startNode</CODE> - the start node of the edge weight to be shown<DD><CODE>endNode</CODE> - the end node of the edge weightto be shown<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="showNode(int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
showNode</H3>
|
|
<PRE>
|
|
public void <B>showNode</B>(int index,
|
|
<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>show a selected (previously hidden) graph node by turning it visible
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the node to be shown<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="showNodes(int[], algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
showNodes</H3>
|
|
<PRE>
|
|
public void <B>showNodes</B>(int[] indices,
|
|
<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>show a selected (previously hidden) graph node by turning it visible
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>indices</CODE> - the index of the node to be shown<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="highlightEdge(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
highlightEdge</H3>
|
|
<PRE>
|
|
public void <B>highlightEdge</B>(int startNode,
|
|
int endNode,
|
|
<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 graph edge at a given position after a distinct offset.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startNode</CODE> - the start node of the edge to highlight.<DD><CODE>endNode</CODE> - the end node of the edge 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="unhighlightEdge(int, int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
unhighlightEdge</H3>
|
|
<PRE>
|
|
public void <B>unhighlightEdge</B>(int startNode,
|
|
int endNode,
|
|
<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 graph edge at a given position after a distinct offset.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>startNode</CODE> - the start node of the edge to unhighlight.<DD><CODE>endNode</CODE> - the end node of the edge 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="highlightNode(int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
highlightNode</H3>
|
|
<PRE>
|
|
public void <B>highlightNode</B>(int node,
|
|
<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 chosen graph node after a distinct offset.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the node 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="unhighlightNode(int, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
unhighlightNode</H3>
|
|
<PRE>
|
|
public void <B>unhighlightNode</B>(int node,
|
|
<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 chosen graph node after a distinct offset.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the node 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="translateNode(int, algoanim.util.Node, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
translateNode</H3>
|
|
<PRE>
|
|
public void <B>translateNode</B>(int nodeIndex,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> location,
|
|
<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><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="translateWithFixedNodes(int[], algoanim.util.Node, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
translateWithFixedNodes</H3>
|
|
<PRE>
|
|
public void <B>translateWithFixedNodes</B>(int[] nodeIndices,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> location,
|
|
<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><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="translateNodes(int[], algoanim.util.Node, algoanim.util.Timing, algoanim.util.Timing)"><!-- --></A><H3>
|
|
translateNodes</H3>
|
|
<PRE>
|
|
public void <B>translateNodes</B>(int[] nodeIndices,
|
|
<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> location,
|
|
<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><DL>
|
|
</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="setStartKnoten(algoanim.util.Node)"><!-- --></A><H3>
|
|
setStartKnoten</H3>
|
|
<PRE>
|
|
public void <B>setStartKnoten</B>(<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> node)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setZielKnoten(algoanim.util.Node)"><!-- --></A><H3>
|
|
setZielKnoten</H3>
|
|
<PRE>
|
|
public void <B>setZielKnoten</B>(<A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> node)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getStartKnoten()"><!-- --></A><H3>
|
|
getStartKnoten</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> <B>getStartKnoten</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getZielKnoten()"><!-- --></A><H3>
|
|
getZielKnoten</H3>
|
|
<PRE>
|
|
public <A HREF="../../algoanim/util/Node.html" title="class in algoanim.util">Node</A> <B>getZielKnoten</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</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/Graph.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/EllipseSeg.html" title="class in algoanim.primitives"><B>PREV CLASS</B></A>
|
|
<A HREF="../../algoanim/primitives/Group.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/Graph.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Graph.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>
|