org.jfree.ui

Class LengthAdjustmentType

Implemented Interfaces:
Serializable

public final class LengthAdjustmentType
extends java.lang.Object
implements Serializable

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

Field Summary

static LengthAdjustmentType
CONTRACT
CONTRACT.
static LengthAdjustmentType
EXPAND
EXPAND.
static LengthAdjustmentType
NO_CHANGE
NO_CHANGE.

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.

Field Details

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 Details

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.