📄 ezgraphimpl.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Tue Nov 30 14:11:20 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Class EZGraphImpl</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT ID="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="../../swarm/analysis/EZGraphCImpl.html"><B>PREV CLASS</B></A> <A HREF="../../swarm/analysis/EZSequenceCImpl.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="EZGraphImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">swarm.analysis</FONT><BR>Class EZGraphImpl</H2><PRE>java.lang.Object | +--<A HREF="../../swarm/BaseImpl.html">swarm.BaseImpl</A> | +--<B>swarm.analysis.EZGraphImpl</B></PRE><HR><DL><DT>public class <B>EZGraphImpl</B><DT>extends <A HREF="../../swarm/BaseImpl.html">BaseImpl</A><DT>implements <A HREF="../../swarm/objectbase/SwarmObject.html">SwarmObject</A>, <A HREF="../../swarm/objectbase/SwarmObjectS.html">SwarmObjectS</A>, <A HREF="../../swarm/simtoolsgui/GUIComposite.html">GUIComposite</A>, <A HREF="../../swarm/simtoolsgui/GUICompositeS.html">GUICompositeS</A>, <A HREF="../../swarm/analysis/EZGraphS.html">EZGraphS</A>, <A HREF="../../swarm/analysis/EZGraph.html">EZGraph</A></DL><P><strong> A class for easily create graphs.</strong>.This class allows the user to easily create graphs of various quantities in the model s/he is investigating. The user first creates the EZGraph, and then creates "Sequences"; (lines) which will appear in the graph. The sequences are generated based on data provided by a single object or a collection of target objects, in reponse to a specified selector. One of the features of the EZGraph is that it will automatically generate average, total, min, max and count sequences without the user having to mess with Averagers amd other low-level classes.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphImpl.html#EZGraphImpl()">EZGraphImpl</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphImpl.html#EZGraphImpl(swarm.defobj.Zone)">EZGraphImpl</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone)</CODE><BR> The create: message creates a new instance of a type with default options.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphImpl.html#EZGraphImpl(swarm.defobj.Zone, boolean)">EZGraphImpl</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone, boolean fileOutputFlag)</CODE><BR> Convenience method for creating a non-graphical EZGraph, the filename is generated from the sequence name</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphImpl.html#EZGraphImpl(swarm.defobj.Zone, swarm.defobj.HDF5, java.lang.String)">EZGraphImpl</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone, <A HREF="../../swarm/defobj/HDF5.html">HDF5</A> hdf5Container, java.lang.String prefix)</CODE><BR> Convenience method for creating a non-graphical EZGraph, inside of a HDF5 container.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphImpl.html#EZGraphImpl(swarm.defobj.Zone, java.lang.String)">EZGraphImpl</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone, java.lang.String filename)</CODE><BR> Convenience method for creating a non-graphical EZGraph, in this case, the filename is explicitly set by the user</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphImpl.html#EZGraphImpl(swarm.defobj.Zone, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">EZGraphImpl</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone, java.lang.String aTitle, java.lang.String xl, java.lang.String yl, java.lang.String windowGeometryRecordName)</CODE><BR> Convenience method for creating `graphical' EZGraph instances</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphImpl.html#EZGraphImpl(swarm.defobj.Zone, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)">EZGraphImpl</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone, java.lang.String aTitle, java.lang.String xl, java.lang.String yl, java.lang.String windowGeometryRecordName, boolean saveSizeFlag)</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="methods_implemented_from_interfaces_swarm.objectbase.SwarmObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.objectbase.<A HREF="../../swarm/objectbase/SwarmObject.html">SwarmObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/objectbase/SwarmObject.html#getCompleteProbeMap()">getCompleteProbeMap</A>, <A HREF="../../swarm/objectbase/SwarmObject.html#getProbeForMessage(java.lang.String)">getProbeForMessage</A>, <A HREF="../../swarm/objectbase/SwarmObject.html#getProbeForVariable(java.lang.String)">getProbeForVariable</A>, <A HREF="../../swarm/objectbase/SwarmObject.html#getProbeMap()">getProbeMap</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.simtoolsgui.GUIComposite"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.simtoolsgui.<A HREF="../../swarm/simtoolsgui/GUIComposite.html">GUIComposite</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/simtoolsgui/GUIComposite.html#disableDestroyNotification()">disableDestroyNotification</A>, <A HREF="../../swarm/simtoolsgui/GUIComposite.html#enableDestroyNotification$notificationMethod(java.lang.Object, swarm.Selector)">enableDestroyNotification$notificationMethod</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.analysis.EZGraph"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.analysis.<A HREF="../../swarm/analysis/EZGraph.html">EZGraph</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/analysis/EZGraph.html#createAverageSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createAverageSequence$withFeedFrom$andSelector</A>, <A HREF="../../swarm/analysis/EZGraph.html#createCountSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createCountSequence$withFeedFrom$andSelector</A>, <A HREF="../../swarm/analysis/EZGraph.html#createMaxSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createMaxSequence$withFeedFrom$andSelector</A>, <A HREF="../../swarm/analysis/EZGraph.html#createMinSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createMinSequence$withFeedFrom$andSelector</A>, <A HREF="../../swarm/analysis/EZGraph.html#createMovingAverageSequence$withFeedFrom$andSelector$andWidth(java.lang.String, java.lang.Object, swarm.Selector, int)">createMovingAverageSequence$withFeedFrom$andSelector$andWidth</A>, <A HREF="../../swarm/analysis/EZGraph.html#createMovingStdDevSequence$withFeedFrom$andSelector$andWidth(java.lang.String, java.lang.Object, swarm.Selector, int)">createMovingStdDevSequence$withFeedFrom$andSelector$andWidth</A>, <A HREF="../../swarm/analysis/EZGraph.html#createMovingVarianceSequence$withFeedFrom$andSelector$andWidth(java.lang.String, java.lang.Object, swarm.Selector, int)">createMovingVarianceSequence$withFeedFrom$andSelector$andWidth</A>, <A HREF="../../swarm/analysis/EZGraph.html#createSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createSequence$withFeedFrom$andSelector</A>, <A HREF="../../swarm/analysis/EZGraph.html#createStdDevSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createStdDevSequence$withFeedFrom$andSelector</A>, <A HREF="../../swarm/analysis/EZGraph.html#createTotalSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createTotalSequence$withFeedFrom$andSelector</A>, <A HREF="../../swarm/analysis/EZGraph.html#createVarianceSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createVarianceSequence$withFeedFrom$andSelector</A>, <A HREF="../../swarm/analysis/EZGraph.html#dropSequence(java.lang.Object)">dropSequence</A>, <A HREF="../../swarm/analysis/EZGraph.html#getFileName()">getFileName</A>, <A HREF="../../swarm/analysis/EZGraph.html#getGraph()">getGraph</A>, <A HREF="../../swarm/analysis/EZGraph.html#getTitle()">getTitle</A>, <A HREF="../../swarm/analysis/EZGraph.html#outputGraph()">outputGraph</A>, <A HREF="../../swarm/analysis/EZGraph.html#outputToFile()">outputToFile</A>, <A HREF="../../swarm/analysis/EZGraph.html#setRangesXMin$Max(double, double)">setRangesXMin$Max</A>,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -