⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graph.html

📁 文件来自swarm.org
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Tue Nov 30 14:11:21 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Interface  Graph</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../swarm/gui/DrawerS.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../swarm/gui/GraphC.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>  &nbsp;&nbsp;<A HREF="Graph.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">swarm.gui</FONT><BR>Interface  Graph</H2><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../swarm/gui/GraphImpl.html">GraphImpl</A></DD></DL><HR><DL><DT>public interface <B>Graph</B><DT>extends <A HREF="../../swarm/gui/ArchivedGeometryWidget.html">ArchivedGeometryWidget</A>, <A HREF="../../swarm/gui/ArchivedGeometryWidgetS.html">ArchivedGeometryWidgetS</A></DL><P><strong> A time series graph tool.</strong>.A time series graph tool, based on BLT's graph widget.  Graph currently implements just a basic graph with multiple datasets, but should eventually support scaling and scrolling. For each Graph you create one or many GraphElements, one per dataset to plot. GraphElements can be configured for appearance, and data can be added to the element to draw.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../swarm/gui/GraphElement.html">GraphElement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/gui/Graph.html#createElement()">createElement</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a new GraphElement to plot data with.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/gui/Graph.html#setAxisLabelsX$Y(java.lang.String, java.lang.String)">setAxisLabelsX$Y</A></B>(java.lang.String&nbsp;xl,                 java.lang.String&nbsp;yl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the axis labels for the graph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/gui/Graph.html#setRangesXMin$Max(double, double)">setRangesXMin$Max</A></B>(double&nbsp;minx,                  double&nbsp;maxx)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the X ranges for the graph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/gui/Graph.html#setRangesXMin$Max$YMin$Max(double, double, double, double)">setRangesXMin$Max$YMin$Max</A></B>(double&nbsp;minx,                           double&nbsp;maxx,                           double&nbsp;miny,                           double&nbsp;maxy)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the ranges for the graph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/gui/Graph.html#setRangesYMin$Max(double, double)">setRangesYMin$Max</A></B>(double&nbsp;miny,                  double&nbsp;maxy)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the Y ranges for the graph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/gui/Graph.html#setScaleModeX$Y(boolean, boolean)">setScaleModeX$Y</A></B>(boolean&nbsp;xs,                boolean&nbsp;ys)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether to autoscale every timestep or instead to jump scale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/gui/Graph.html#setTitle(java.lang.String)">setTitle</A></B>(java.lang.String&nbsp;title)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the title for the graph.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.gui.ArchivedGeometryWidget"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.gui.<A HREF="../../swarm/gui/ArchivedGeometryWidget.html">ArchivedGeometryWidget</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/gui/ArchivedGeometryWidget.html#updateArchiver(swarm.defobj.Archiver)">updateArchiver</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.gui.Widget"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.gui.<A HREF="../../swarm/gui/Widget.html">Widget</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/gui/Widget.html#disableDestroyNotification()">disableDestroyNotification</A>, <A HREF="../../swarm/gui/Widget.html#enableDestroyNotification$notificationMethod(java.lang.Object, swarm.Selector)">enableDestroyNotification$notificationMethod</A>, <A HREF="../../swarm/gui/Widget.html#getDestroyedFlag()">getDestroyedFlag</A>, <A HREF="../../swarm/gui/Widget.html#getHeight()">getHeight</A>, <A HREF="../../swarm/gui/Widget.html#getParent()">getParent</A>, <A HREF="../../swarm/gui/Widget.html#getTopLevel()">getTopLevel</A>, <A HREF="../../swarm/gui/Widget.html#getWidgetName()">getWidgetName</A>, <A HREF="../../swarm/gui/Widget.html#getWidth()">getWidth</A>, <A HREF="../../swarm/gui/Widget.html#getWindowGeometry()">getWindowGeometry</A>, <A HREF="../../swarm/gui/Widget.html#getX()">getX</A>, <A HREF="../../swarm/gui/Widget.html#getY()">getY</A>, <A HREF="../../swarm/gui/Widget.html#pack()">pack</A>, <A HREF="../../swarm/gui/Widget.html#packBeforeAndFillLeft$expand(java.lang.Object, boolean)">packBeforeAndFillLeft$expand</A>, <A HREF="../../swarm/gui/Widget.html#packFill()">packFill</A>, <A HREF="../../swarm/gui/Widget.html#packFillLeft(boolean)">packFillLeft</A>, <A HREF="../../swarm/gui/Widget.html#packForgetAndExpand()">packForgetAndExpand</A>, <A HREF="../../swarm/gui/Widget.html#packToRight(java.lang.Object)">packToRight</A>, <A HREF="../../swarm/gui/Widget.html#setActiveFlag(boolean)">setActiveFlag</A>, <A HREF="../../swarm/gui/Widget.html#setHeight(int)">setHeight</A>, <A HREF="../../swarm/gui/Widget.html#setWidth(int)">setWidth</A>, <A HREF="../../swarm/gui/Widget.html#setWidth$Height(int, int)">setWidth$Height</A>, <A HREF="../../swarm/gui/Widget.html#setWindowGeometry(java.lang.String)">setWindowGeometry</A>, <A HREF="../../swarm/gui/Widget.html#setWindowTitle(java.lang.String)">setWindowTitle</A>, <A HREF="../../swarm/gui/Widget.html#setX$Y(int, int)">setX$Y</A></CODE></TD>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -