abstractdataset.html

来自「JFreeChart的帮助文档」· HTML 代码 · 共 455 行 · 第 1/2 页

HTML
455
字号
<A NAME="AbstractDataset()"><!-- --></A><H3>AbstractDataset</H3><PRE>protected <B>AbstractDataset</B>()</PRE><DL><DD>Constructs a dataset. <P> By default, the dataset is assigned to its own group.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getGroup()"><!-- --></A><H3>getGroup</H3><PRE>public <A HREF="../../../org/jfree/data/DatasetGroup.html">DatasetGroup</A> <B>getGroup</B>()</PRE><DL><DD>Returns the dataset group for the dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Dataset.html#getGroup()">getGroup</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Dataset.html">Dataset</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the dataset group.</DL></DD></DL><HR><A NAME="setGroup(org.jfree.data.DatasetGroup)"><!-- --></A><H3>setGroup</H3><PRE>public void <B>setGroup</B>(<A HREF="../../../org/jfree/data/DatasetGroup.html">DatasetGroup</A>&nbsp;group)</PRE><DL><DD>Sets the dataset group for the dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Dataset.html#setGroup(org.jfree.data.DatasetGroup)">setGroup</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Dataset.html">Dataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>group</CODE> - the dataset group.</DL></DD></DL><HR><A NAME="addChangeListener(org.jfree.data.DatasetChangeListener)"><!-- --></A><H3>addChangeListener</H3><PRE>public void <B>addChangeListener</B>(<A HREF="../../../org/jfree/data/DatasetChangeListener.html">DatasetChangeListener</A>&nbsp;listener)</PRE><DL><DD>Registers an object to receive notification of changes to the dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Dataset.html#addChangeListener(org.jfree.data.DatasetChangeListener)">addChangeListener</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Dataset.html">Dataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the object to register.</DL></DD></DL><HR><A NAME="removeChangeListener(org.jfree.data.DatasetChangeListener)"><!-- --></A><H3>removeChangeListener</H3><PRE>public void <B>removeChangeListener</B>(<A HREF="../../../org/jfree/data/DatasetChangeListener.html">DatasetChangeListener</A>&nbsp;listener)</PRE><DL><DD>Deregisters an object so that it no longer receives notification of changes to the dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Dataset.html#removeChangeListener(org.jfree.data.DatasetChangeListener)">removeChangeListener</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Dataset.html">Dataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the object to deregister.</DL></DD></DL><HR><A NAME="fireDatasetChanged()"><!-- --></A><H3>fireDatasetChanged</H3><PRE>protected void <B>fireDatasetChanged</B>()</PRE><DL><DD>Notifies all registered listeners that the dataset has changed.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="notifyListeners(org.jfree.data.DatasetChangeEvent)"><!-- --></A><H3>notifyListeners</H3><PRE>protected void <B>notifyListeners</B>(<A HREF="../../../org/jfree/data/DatasetChangeEvent.html">DatasetChangeEvent</A>&nbsp;event)</PRE><DL><DD>Notifies all registered listeners that the dataset has changed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - contains information about the event that triggered the notification.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()                       throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the dataset.  <p> The cloned dataset will NOT include the <A HREF="../../../org/jfree/data/DatasetChangeListener.html"><CODE>DatasetChangeListener</CODE></A> references that have been registered with this dataset.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if the dataset does not support cloning.</DL></DD></DL><HR><A NAME="validateObject()"><!-- --></A><H3>validateObject</H3><PRE>public void <B>validateObject</B>()                    throws java.io.InvalidObjectException</PRE><DL><DD>Validates the object. We use this opportunity to call listeners who have registered during the deserialization process, as listeners are not serialized. This method is called by the  serialization system after the entire graph is read.   This object has registered itself to the system with a priority of 10. Other callbacks may  register with a higher priority number to be called before this object, or with a lower priority number to be called after the listeners were notified.  All listeners are supposed to have register by now, either in their readObject or validateObject  methods. Notify them that this dataset has changed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>validateObject</CODE> in interface <CODE>java.io.ObjectInputValidation</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.InvalidObjectException</CODE> - If the object cannot validate itself.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_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 CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="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 CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="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;PREV CLASS&nbsp;&nbsp;<A HREF="../../../org/jfree/data/AbstractSeriesDataset.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="AbstractDataset.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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