📄 taskseriescollection.html
字号:
getRowKeys</H3><PRE>public java.util.List <B>getRowKeys</B>()</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="getColumnKeys()"><!-- --></A><H3>getColumnKeys</H3><PRE>public java.util.List <B>getColumnKeys</B>()</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 <B>getColumnKey</B>(int item)</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>item</CODE> - the 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 <B>getColumnIndex</B>(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 <B>getRowIndex</B>(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 <B>getRowKey</B>(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 <B>add</B>(<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.<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 <B>remove</B>(int series)</PRE><DL><DD>Removes a series from the collection. <P> Notifies all registered listeners that the dataset has changed.<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="remove(org.jfree.data.gantt.TaskSeries)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<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. <P> Notifies all registered listeners that the dataset has changed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series.</DL></DD></DL><HR><A NAME="removeAll()"><!-- --></A><H3>removeAll</H3><PRE>public void <B>removeAll</B>()</PRE><DL><DD>Removes all the series from the collection. <P> Notifies all registered listeners that the dataset has changed.<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 <B>getValue</B>(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 <B>getValue</B>(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 <B>getStartValue</B>(java.lang.Comparable rowKey, java.lang.Comparable columnKey)</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/IntervalCategoryDataset.html#getStartValue(java.lang.Comparable, java.lang.Comparable)">getStartValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/IntervalCategoryDataset.html" title="interface in org.jfree.data">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.</DL></DD></DL><HR><A NAME="getStartValue(int, int)"><!-- --></A><H3>getStartValue</H3><PRE>public java.lang.Number <B>getStartValue</B>(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/IntervalCategoryDataset.html#getStartValue(int, int)">getStartValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/IntervalCategoryDataset.html" title="interface in org.jfree.data">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 <B>getEndValue</B>(java.lang.Comparable rowKey, java.lang.Comparable columnKey)</PRE><DL><DD>Returns the end value for a task.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/IntervalCategoryDataset.html#getEndValue(java.lang.Comparable, java.lang.Comparable)">getEndValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/IntervalCategoryDataset.html" title="interface in org.jfree.data">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.</DL></DD></DL><HR><A NAME="getEndValue(int, int)"><!-- --></A><H3>getEndValue</H3><PRE>public java.lang.Number <B>getEndValue</B>(int row, int column)</PRE><DL><DD>Returns the end value for a task.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/data/IntervalCategoryDataset.html#getEndValue(int, int)">getEndValue</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/data/IntervalCategoryDataset.html" title="interface in org.jfree.data">IntervalCategoryDataset</A></CODE></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -