org.jfree.ui

Class GradientPaintTransformType

public final class GradientPaintTransformType extends Object implements Serializable

Represents a type of transform for a GradientPaint.

Author: David Gilbert

Field Summary
static GradientPaintTransformTypeCENTER_HORIZONTAL
Center/horizontal.
static GradientPaintTransformTypeCENTER_VERTICAL
Center/vertical.
static GradientPaintTransformTypeHORIZONTAL
Horizontal.
static GradientPaintTransformTypeVERTICAL
Vertical.
Method Summary
booleanequals(Object o)
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

CENTER_HORIZONTAL

public static final GradientPaintTransformType CENTER_HORIZONTAL
Center/horizontal.

CENTER_VERTICAL

public static final GradientPaintTransformType CENTER_VERTICAL
Center/vertical.

HORIZONTAL

public static final GradientPaintTransformType HORIZONTAL
Horizontal.

VERTICAL

public static final GradientPaintTransformType VERTICAL
Vertical.

Method Detail

equals

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

Parameters: o the other object.

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.