📄 taskseriescollection.html
字号:
<DL><DD>Returns the number of rows (series) in the collection.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/Values2D.html#getRowCount()">getRowCount</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The series count.</DL></DD></DL><HR><A NAME="getRowKeys()"><!-- --></A><H3>getRowKeys</H3><PRE>public java.util.List <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.165"><B>getRowKeys</B></A>()</PRE><DL><DD>Returns the row keys. In this case, each series is a key.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html#getRowKeys()">getRowKeys</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The row keys.</DL></DD></DL><HR><A NAME="getColumnCount()"><!-- --></A><H3>getColumnCount</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.174"><B>getColumnCount</B></A>()</PRE><DL><DD>Returns the number of column in the dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/Values2D.html#getColumnCount()">getColumnCount</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The column count.</DL></DD></DL><HR><A NAME="getColumnKeys()"><!-- --></A><H3>getColumnKeys</H3><PRE>public java.util.List <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.183"><B>getColumnKeys</B></A>()</PRE><DL><DD>Returns a list of the column keys in the dataset.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html#getColumnKeys()">getColumnKeys</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The category list.</DL></DD></DL><HR><A NAME="getColumnKey(int)"><!-- --></A><H3>getColumnKey</H3><PRE>public java.lang.Comparable <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.194"><B>getColumnKey</B></A>(int index)</PRE><DL><DD>Returns a column key.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html#getColumnKey(int)">getColumnKey</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the column index.<DT><B>Returns:</B><DD>The column key.</DL></DD></DL><HR><A NAME="getColumnIndex(java.lang.Comparable)"><!-- --></A><H3>getColumnIndex</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.205"><B>getColumnIndex</B></A>(java.lang.Comparable columnKey)</PRE><DL><DD>Returns the column index for a column key.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html#getColumnIndex(java.lang.Comparable)">getColumnIndex</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>columnKey</CODE> - the columnKey.<DT><B>Returns:</B><DD>The column index.</DL></DD></DL><HR><A NAME="getRowIndex(java.lang.Comparable)"><!-- --></A><H3>getRowIndex</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.216"><B>getRowIndex</B></A>(java.lang.Comparable rowKey)</PRE><DL><DD>Returns the row index for the given row key.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html#getRowIndex(java.lang.Comparable)">getRowIndex</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rowKey</CODE> - the row key.<DT><B>Returns:</B><DD>The index.</DL></DD></DL><HR><A NAME="getRowKey(int)"><!-- --></A><H3>getRowKey</H3><PRE>public java.lang.Comparable <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.236"><B>getRowKey</B></A>(int index)</PRE><DL><DD>Returns the key for a row.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html#getRowKey(int)">getRowKey</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the row index (zero-based).<DT><B>Returns:</B><DD>The key.</DL></DD></DL><HR><A NAME="add(org.jfree.data.gantt.TaskSeries)"><!-- --></A><H3>add</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.248"><B>add</B></A>(<A HREF="../../../../org/jfree/data/gantt/TaskSeries.html" title="class in org.jfree.data.gantt">TaskSeries</A> series)</PRE><DL><DD>Adds a series to the dataset and sends a <A HREF="../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><CODE>DatasetChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="remove(org.jfree.data.gantt.TaskSeries)"><!-- --></A><H3>remove</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.275"><B>remove</B></A>(<A HREF="../../../../org/jfree/data/gantt/TaskSeries.html" title="class in org.jfree.data.gantt">TaskSeries</A> series)</PRE><DL><DD>Removes a series from the collection and sends a <A HREF="../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><CODE>DatasetChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series.</DL></DD></DL><HR><A NAME="remove(int)"><!-- --></A><H3>remove</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.293"><B>remove</B></A>(int series)</PRE><DL><DD>Removes a series from the collection and sends a <A HREF="../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><CODE>DatasetChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series (zero based index).</DL></DD></DL><HR><A NAME="removeAll()"><!-- --></A><H3>removeAll</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.312"><B>removeAll</B></A>()</PRE><DL><DD>Removes all the series from the collection and sends a <A HREF="../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><CODE>DatasetChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getValue(java.lang.Comparable, java.lang.Comparable)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.336"><B>getValue</B></A>(java.lang.Comparable rowKey, java.lang.Comparable columnKey)</PRE><DL><DD>Returns the value for an item.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html#getValue(java.lang.Comparable, java.lang.Comparable)">getValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rowKey</CODE> - the row key.<DD><CODE>columnKey</CODE> - the column key.<DT><B>Returns:</B><DD>The item value.</DL></DD></DL><HR><A NAME="getValue(int, int)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.348"><B>getValue</B></A>(int row, int column)</PRE><DL><DD>Returns the value for a task.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/Values2D.html#getValue(int, int)">getValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row index (zero-based).<DD><CODE>column</CODE> - the column index (zero-based).<DT><B>Returns:</B><DD>The start value.</DL></DD></DL><HR><A NAME="getStartValue(java.lang.Comparable, java.lang.Comparable)"><!-- --></A><H3>getStartValue</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.361"><B>getStartValue</B></A>(java.lang.Comparable rowKey, java.lang.Comparable columnKey)</PRE><DL><DD>Returns the start value for a task. This is a date/time value, measured in milliseconds since 1-Jan-1970.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/category/IntervalCategoryDataset.html#getStartValue(java.lang.Comparable, java.lang.Comparable)">getStartValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/category/IntervalCategoryDataset.html" title="interface in org.jfree.data.category">IntervalCategoryDataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rowKey</CODE> - the series.<DD><CODE>columnKey</CODE> - the category.<DT><B>Returns:</B><DD>The start value (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="getStartValue(int, int)"><!-- --></A><H3>getStartValue</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.383"><B>getStartValue</B></A>(int row, int column)</PRE><DL><DD>Returns the start value for a task.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/category/IntervalCategoryDataset.html#getStartValue(int, int)">getStartValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/category/IntervalCategoryDataset.html" title="interface in org.jfree.data.category">IntervalCategoryDataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row index (zero-based).<DD><CODE>column</CODE> - the column index (zero-based).<DT><B>Returns:</B><DD>The start value.</DL></DD></DL><HR><A NAME="getEndValue(java.lang.Comparable, java.lang.Comparable)"><!-- --></A><H3>getEndValue</H3><PRE>public java.lang.Number <A HREF="../../../../src-html/org/jfree/data/gantt/TaskSeriesCollection.html#line.398"><B>getEndValue</B></A>(java.lang.Comparable rowKey, java.lang.Comparable columnKey)</PRE><DL><DD>Returns the end value for a task. This is a date/time value, measured in milliseconds since 1-Jan-1970.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/category/IntervalCategoryDataset.html#getEndValue(java.lang.Comparable, java.lang.Comparable)">getEndValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/category/IntervalCategoryDataset.html" title="interface in org.jfree.data.category">IntervalCategoryDataset</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rowKey</CODE> - the series.<DD><CODE>columnKey</CODE> - the category.<DT><B>Returns:</B><DD>The end value (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="getEndValue(int, int)"><!-- --></A><H3>getEndValue</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -