org.jfree.ui

Class LengthAdjustmentType

public final class LengthAdjustmentType extends Object implements Serializable

Represents the three options for adjusting a length: expand, contract, and no change.

Author: David Gilbert

Field Summary
static LengthAdjustmentTypeCONTRACT
CONTRACT.
static LengthAdjustmentTypeEXPAND
EXPAND.
static LengthAdjustmentTypeNO_CHANGE
NO_CHANGE.
Method Summary
booleanequals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
inthashCode()
Returns a hash code value for the object.
StringtoString()
Returns a string representing the object.

Field Detail

CONTRACT

public static final LengthAdjustmentType CONTRACT
CONTRACT.

EXPAND

public static final LengthAdjustmentType EXPAND
EXPAND.

NO_CHANGE

public static final LengthAdjustmentType NO_CHANGE
NO_CHANGE.

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 other object (null permitted).

Returns: A boolean.

hashCode

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

Returns: The hashcode

toString

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

Returns: The string.