📄 timeseriestablemodel.html
字号:
<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TimeSeriesTableModel()"><!-- --></A><H3>TimeSeriesTableModel</H3><PRE>public <B>TimeSeriesTableModel</B>()</PRE><DL><DD>Default constructor.<P></DL><HR><A NAME="TimeSeriesTableModel(org.jfree.data.time.TimeSeries)"><!-- --></A><H3>TimeSeriesTableModel</H3><PRE>public <B>TimeSeriesTableModel</B>(<A HREF="../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A> series)</PRE><DL><DD>Constructs a table model for a time series.<P><DT><B>Parameters:</B><DD><CODE>series</CODE> - the time series.</DL><HR><A NAME="TimeSeriesTableModel(org.jfree.data.time.TimeSeries, boolean)"><!-- --></A><H3>TimeSeriesTableModel</H3><PRE>public <B>TimeSeriesTableModel</B>(<A HREF="../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A> series, boolean editable)</PRE><DL><DD>Creates a table model based on a time series.<P><DT><B>Parameters:</B><DD><CODE>series</CODE> - the time series.<DD><CODE>editable</CODE> - if <ocde>true</code>, the table is editable.</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="getColumnCount()"><!-- --></A><H3>getColumnCount</H3><PRE>public int <B>getColumnCount</B>()</PRE><DL><DD>Returns the number of columns in the table model. For this particular model, the column count is fixed at 2.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getColumnCount</CODE> in interface <CODE>javax.swing.table.TableModel</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The column count.</DL></DD></DL><HR><A NAME="getColumnClass(int)"><!-- --></A><H3>getColumnClass</H3><PRE>public java.lang.Class <B>getColumnClass</B>(int column)</PRE><DL><DD>Returns the column class in the table model.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getColumnClass</CODE> in interface <CODE>javax.swing.table.TableModel</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - The column index.<DT><B>Returns:</B><DD>the column class in the table model.</DL></DD></DL><HR><A NAME="getColumnName(int)"><!-- --></A><H3>getColumnName</H3><PRE>public java.lang.String <B>getColumnName</B>(int column)</PRE><DL><DD>Returns the name of a column<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getColumnName</CODE> in interface <CODE>javax.swing.table.TableModel</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column index.<DT><B>Returns:</B><DD>the name of a column.</DL></DD></DL><HR><A NAME="getRowCount()"><!-- --></A><H3>getRowCount</H3><PRE>public int <B>getRowCount</B>()</PRE><DL><DD>Returns the number of rows in the table model.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getRowCount</CODE> in interface <CODE>javax.swing.table.TableModel</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The row count.</DL></DD></DL><HR><A NAME="getValueAt(int, int)"><!-- --></A><H3>getValueAt</H3><PRE>public java.lang.Object <B>getValueAt</B>(int row, int column)</PRE><DL><DD>Returns the data value for a cell in the table model.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getValueAt</CODE> in interface <CODE>javax.swing.table.TableModel</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - The row number.<DD><CODE>column</CODE> - The column number.<DT><B>Returns:</B><DD>the data value for a cell in the table model.</DL></DD></DL><HR><A NAME="isCellEditable(int, int)"><!-- --></A><H3>isCellEditable</H3><PRE>public boolean <B>isCellEditable</B>(int row, int column)</PRE><DL><DD>Returns a flag indicating whether or not the specified cell is editable.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>isCellEditable</CODE> in interface <CODE>javax.swing.table.TableModel</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row number.<DD><CODE>column</CODE> - the column number.<DT><B>Returns:</B><DD><code>true</code> if the specified cell is editable.</DL></DD></DL><HR><A NAME="setValueAt(java.lang.Object, int, int)"><!-- --></A><H3>setValueAt</H3><PRE>public void <B>setValueAt</B>(java.lang.Object value, int row, int column)</PRE><DL><DD>Updates the time series.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>setValueAt</CODE> in interface <CODE>javax.swing.table.TableModel</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the new value.<DD><CODE>row</CODE> - the row.<DD><CODE>column</CODE> - the column.</DL></DD></DL><HR><A NAME="seriesChanged(org.jfree.data.SeriesChangeEvent)"><!-- --></A><H3>seriesChanged</H3><PRE>public void <B>seriesChanged</B>(<A HREF="../../../org/jfree/data/SeriesChangeEvent.html" title="class in org.jfree.data">SeriesChangeEvent</A> event)</PRE><DL><DD>Receives notification that the time series has been changed. Responds by firing a table data change event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/SeriesChangeListener.html#seriesChanged(org.jfree.data.SeriesChangeEvent)">seriesChanged</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/SeriesChangeListener.html" title="interface in org.jfree.data">SeriesChangeListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - the event.</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"> <A HREF="../../../org/jfree/data/SubSeriesDataset.html" title="class in org.jfree.data"><B>PREV CLASS</B></A> <A HREF="../../../org/jfree/data/WaferMapDataset.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="TimeSeriesTableModel.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="#fields_inherited_from_class_javax.swing.table.AbstractTableModel">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: 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 + -