📄 abstractdataset.html
字号:
<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" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><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" title="class in org.jfree.data">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" title="interface in org.jfree.data">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" title="class in org.jfree.data">DatasetGroup</A> 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" title="interface in org.jfree.data">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" title="interface in org.jfree.data">DatasetChangeListener</A> 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" title="interface in org.jfree.data">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" title="interface in org.jfree.data">DatasetChangeListener</A> 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" title="interface in org.jfree.data">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" title="class in org.jfree.data">DatasetChangeEvent</A> 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" title="interface in org.jfree.data"><CODE>DatasetChangeListener</CODE></A> references that have been registered with this dataset.<P><DD><DL></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 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=3 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="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-all.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"> PREV CLASS <A HREF="../../../org/jfree/data/AbstractIntervalXYDataset.html" title="class in org.jfree.data"><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="AbstractDataset.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 | 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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -