Package org.jfree.data.xy
Class WindDataItem
java.lang.Object
org.jfree.data.xy.WindDataItem
- All Implemented Interfaces:
Serializable,Comparable
A wind data item.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWindDataItem(Number x, Number windDir, Number windForce) Creates a new wind data item. -
Method Summary
Modifier and TypeMethodDescriptionintCompares this item to another object.booleanTests thisWindDataItemfor equality with an arbitrary object.Returns the wind direction.Returns the wind force.getX()Returns the x-value.
-
Field Details
-
x
The x-value. -
windDir
The wind direction. -
windForce
The wind force.
-
-
Constructor Details
-
WindDataItem
Creates a new wind data item.- Parameters:
x- the x-value.windDir- the direction.windForce- the force.
-
-
Method Details
-
getX
Returns the x-value.- Returns:
- The x-value.
-
getWindDirection
Returns the wind direction.- Returns:
- The wind direction.
-
getWindForce
Returns the wind force.- Returns:
- The wind force.
-
compareTo
Compares this item to another object.- Specified by:
compareToin interfaceComparable- Parameters:
object- the other object.- Returns:
- An int that indicates the relative comparison.
-
equals
Tests thisWindDataItemfor equality with an arbitrary object.
-