org.jfree.chart.plot

Class PlotOrientation

Implemented Interfaces:
Serializable

public final class PlotOrientation
extends java.lang.Object
implements Serializable

Used to indicate the orientation (horizontal or vertical) of a 2D plot.

Field Summary

static PlotOrientation
HORIZONTAL
For a plot where the range axis is horizontal.
static PlotOrientation
VERTICAL
For a plot where the range axis is vertical.

Method Summary

boolean
equals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
int
hashCode()
Returns a hash code for this instance.
String
toString()
Returns a string representing the object.

Field Details

HORIZONTAL

public static final PlotOrientation HORIZONTAL
For a plot where the range axis is horizontal.

VERTICAL

public static final PlotOrientation VERTICAL
For a plot where the range axis is vertical.

Method Details

equals

public boolean equals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
Parameters:
obj - the object (null permitted).
Returns:
A boolean.

hashCode

public int hashCode()
Returns a hash code for this instance.
Returns:
A hash code.

toString

public String toString()
Returns a string representing the object.
Returns:
The string.