org.jfree.chart.plot

Class PlotOrientation

public final class PlotOrientation extends Object implements Serializable

Used to indicate the orientation (horizontal or vertical) of a 2D plot.
Field Summary
static PlotOrientationHORIZONTAL
For a plot where the range axis is horizontal.
static PlotOrientationVERTICAL
For a plot where the range axis is vertical.
Method Summary
booleanequals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
inthashCode()
Returns a hash code for this instance.
StringtoString()
Returns a string representing the object.

Field Detail

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 Detail

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.

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.