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

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

Introduction

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

Prototype

@Override
public Comparable getColumnKey(int index) 

Source Link

Document

Returns a column key.

Usage

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

/**
 * Some tests for the getColumnKey() method.
 *///from   w w w  .  j a v  a  2  s .  com
public void testGetColumnKey() {
    TaskSeriesCollection c = createCollection1();
    assertEquals("Task 1", c.getColumnKey(0));
    assertEquals("Task 2", c.getColumnKey(1));
    assertEquals("Task 3", c.getColumnKey(2));
}