JCommon 1.0.17-redhat-2

org.jfree.util
Class UnitType

java.lang.Object
  extended by org.jfree.util.UnitType
All Implemented Interfaces:
Serializable

public final class UnitType
extends Object
implements Serializable

Used to indicate absolute or relative units.

Author:
David Gilbert
See Also:
Serialized Form

Field Summary
static UnitType ABSOLUTE
          Absolute.
static UnitType RELATIVE
          Relative.
 
Method Summary
 boolean equals(Object obj)
          Returns true if this object is equal to the specified object, and false otherwise.
 int hashCode()
          Returns a hash code value for the object.
 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

ABSOLUTE

public static final UnitType ABSOLUTE
Absolute.


RELATIVE

public static final UnitType RELATIVE
Relative.

Method Detail

toString

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

Overrides:
toString in class Object
Returns:
The string.

equals

public boolean equals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.

Overrides:
equals in class Object
Parameters:
obj - the other object.
Returns:
A boolean.

hashCode

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

Overrides:
hashCode in class Object
Returns:
The hashcode

JCommon 1.0.17-redhat-2

Copyright © 2001-2012 JFree.org. All Rights Reserved.