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 LegendPositionBOTTOMBOTTOM.static LegendPositionLEFTLEFT.static LegendPositionNONENONE.static LegendPositionRIGHTRIGHT.static LegendPositionTOPTOP.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Compares this object for equality with an other object.inthashCode()Returns a hash code value for the object.java.lang.StringtoString()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:
toStringin 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:
equalsin 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:
hashCodein classjava.lang.Object- Returns:
- the hashcode
-
-