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 o)
Returns true if this object is equal to the specified object, and false otherwise.
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 o)
Returns true if this object is equal to the specified object, and false otherwise.
Parameters:
o - the other object.
Returns:
A boolean.

toString

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