Example usage for org.jfree.data.xy WindDataItem getWindForce

List of usage examples for org.jfree.data.xy WindDataItem getWindForce

Introduction

In this page you can find the example usage for org.jfree.data.xy WindDataItem getWindForce.

Prototype

public Number getWindForce() 

Source Link

Usage

From source file:org.jfree.data.xy.DefaultWindDataset.java

/**
 * Returns the wind force for one item within a series.  This is a number
 * between 0 and 12, as defined by the Beaufort scale.
 *
 * @param series  the series (zero-based index).
 * @param item  the item (zero-based index).
 *
 * @return The wind force for the item within the series.
 *//*from  w  w w.jav  a 2 s  . c  o m*/
@Override
public Number getWindForce(int series, int item) {
    List oneSeriesData = (List) this.allSeriesData.get(series);
    WindDataItem windItem = (WindDataItem) oneSeriesData.get(item);
    return windItem.getWindForce();
}