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

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

Introduction

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

Prototype

@Override
public Comparable getSeriesKey(int series) 

Source Link

Document

Returns the name of a series.

Usage

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

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