Example usage for org.jfree.data.gantt TaskSeriesCollection getRowCount

List of usage examples for org.jfree.data.gantt TaskSeriesCollection getRowCount

Introduction

In this page you can find the example usage for org.jfree.data.gantt TaskSeriesCollection getRowCount.

Prototype

@Override
public int getRowCount() 

Source Link

Document

Returns the number of rows (series) in the collection.

Usage

From source file:org.jfree.data.gantt.TaskSeriesCollectionTest.java

/**
 * A test for the getRowCount() method.//from w  w w . j a  va 2  s.co m
 */
@Test
public void testGetRowCount() {
    TaskSeriesCollection c = createCollection1();
    assertEquals(2, c.getRowCount());
}