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

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

Introduction

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

Prototype

@Override
public Comparable getRowKey(int index) 

Source Link

Document

Returns the key for a row.

Usage

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

/**
 * Some tests for the getRowKey() method.
 *///w w  w.  j ava  2 s  . com
@Test
public void testGetRowKey() {
    TaskSeriesCollection c = createCollection1();
    assertEquals("S1", c.getRowKey(0));
    assertEquals("S2", c.getRowKey(1));
}