Package org.jfree.beans
Class LegendPosition
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static LegendPosition
BOTTOM
BOTTOM.static LegendPosition
LEFT
LEFT.static LegendPosition
NONE
NONE.static LegendPosition
RIGHT
RIGHT.static LegendPosition
TOP
TOP.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 classjava.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 classjava.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 classjava.lang.Object
- Returns:
- the hashcode
-
-