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

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

Introduction

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

Prototype

@Override
public int getRowIndex(Comparable rowKey) 

Source Link

Document

Returns the row index for the given row key.

Usage

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

/**
 * Some tests for the getRowIndex() method.
 */// w  ww.  j  a v a2  s.  c o m
@Test
public void testGetRowIndex() {
    TaskSeriesCollection c = createCollection1();
    assertEquals(0, c.getRowIndex("S1"));
    assertEquals(1, c.getRowIndex("S2"));
}