| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.ui.StandardGradientPaintTransformer
public class StandardGradientPaintTransformer
Transforms a GradientPaint to range over the width of a target 
 shape.  Instances of this class are immutable.
| Constructor Summary | |
|---|---|
| StandardGradientPaintTransformer()Creates a new transformer with the type GradientPaintTransformType.VERTICAL. | |
| StandardGradientPaintTransformer(GradientPaintTransformType type)Creates a new transformer with the specified type. | |
| Method Summary | |
|---|---|
|  java.lang.Object | clone()Returns a clone of the transformer. | 
|  boolean | equals(java.lang.Object obj)Tests this instance for equality with an arbitrary object. | 
|  GradientPaintTransformType | getType()Returns the type of transform. | 
|  int | hashCode()Returns a hash code for this object. | 
|  java.awt.GradientPaint | transform(java.awt.GradientPaint paint,
                   java.awt.Shape target)Transforms a GradientPaintinstance to fit the specifiedtargetshape. | 
| Methods inherited from class java.lang.Object | 
|---|
| finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public StandardGradientPaintTransformer()
GradientPaintTransformType.VERTICAL.
public StandardGradientPaintTransformer(GradientPaintTransformType type)
type - the transform type (null not permitted).| Method Detail | 
|---|
public GradientPaintTransformType getType()
null).
public java.awt.GradientPaint transform(java.awt.GradientPaint paint,
                                        java.awt.Shape target)
GradientPaint instance to fit the specified
 target shape.
transform in interface GradientPaintTransformerpaint - the original paint (null not permitted).target - the target shape (null not permitted).
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).
public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
clone in interface PublicCloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - not thrown by this class, but 
         subclasses (if any) might.public int hashCode()
hashCode in class java.lang.Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||