org.jfree.ui

Class GradientPaintTransformType

Implemented Interfaces:
Serializable

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

Represents a type of transform for a GradientPaint.
Author:
David Gilbert

Field Summary

static GradientPaintTransformType
CENTER_HORIZONTAL
Center/horizontal.
static GradientPaintTransformType
CENTER_VERTICAL
Center/vertical.
static GradientPaintTransformType
HORIZONTAL
Horizontal.
static GradientPaintTransformType
VERTICAL
Vertical.

Method Summary

boolean
equals(Object o)
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

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 Details

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.