org.jfree.beans
Class LegendPosition

java.lang.Object
  extended by org.jfree.beans.LegendPosition
All Implemented Interfaces:
java.io.Serializable

public final class LegendPosition
extends java.lang.Object
implements java.io.Serializable

A token representing the legend position.

See Also:
Serialized Form

Field Summary
static LegendPosition BOTTOM
          BOTTOM.
static LegendPosition LEFT
          LEFT.
static LegendPosition NONE
          NONE.
static LegendPosition RIGHT
          RIGHT.
static LegendPosition TOP
          TOP.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this object for equality with an other object.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          Returns a string representing the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TOP

public static final LegendPosition TOP
TOP.


BOTTOM

public static final LegendPosition BOTTOM
BOTTOM.


LEFT

public static final LegendPosition LEFT
LEFT.


RIGHT

public static final LegendPosition RIGHT
RIGHT.


NONE

public static final LegendPosition NONE
NONE.

Method Detail

toString

public java.lang.String toString()
Returns a string representing the object.

Overrides:
toString in class java.lang.Object
Returns:
the string (never null).

equals

public boolean equals(java.lang.Object obj)
Compares this object for equality with an other object. Implementation note: This simply compares the factor instead of the name.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the other object
Returns:
true or false

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class java.lang.Object
Returns:
the hashcode