moebiusViewer.shape
Class ColorGradientBox

java.lang.Object
  extended bymoebiusViewer.shape.AbstractShape
      extended bymoebiusViewer.shape.ColorGradientBox
All Implemented Interfaces:
java.lang.Cloneable, MoebiusShape, java.io.Serializable

public class ColorGradientBox
extends AbstractShape

See Also:
Serialized Form

Field Summary
 
Fields inherited from class moebiusViewer.shape.AbstractShape
EPS, EPSSQR, propertyChangeSupport, toolList
 
Constructor Summary
ColorGradientBox(double aX, double aY, double aW, double aH, ColorGradient aColorMap)
           
 
Method Summary
 void draw(MoebiusGraphics g)
           
 ColorGradient getColorMap()
           
 double getH()
           
 double getW()
           
 double getX()
           
 double getY()
           
 void setColorMap(ColorGradient v)
           
 void setH(double v)
           
 void setW(double v)
           
 void setX(double v)
           
 void setY(double v)
           
 java.lang.String toString()
           
 
Methods inherited from class moebiusViewer.shape.AbstractShape
addPropertyChangeListener, clone, dontFirePropertyChange, equals, firePropertyChange, firePropertyChange, getColor, getFilled, getLabel, getLineWidth, getPickable, getPointOutline, getPointRadius, getShowLabel, getString, getTools, isDoFirePropertyChange, isPickable, removePropertyChangeListener, reset, setColor, setDoFirePropertyChange, setFilled, setLabel, setLineWidth, setPickable, setPointOutline, setPointRadius, setShowLabel
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColorGradientBox

public ColorGradientBox(double aX,
                        double aY,
                        double aW,
                        double aH,
                        ColorGradient aColorMap)
Method Detail

getColorMap

public ColorGradient getColorMap()

setColorMap

public void setColorMap(ColorGradient v)

getH

public double getH()

setH

public void setH(double v)

getW

public double getW()

setW

public void setW(double v)

getX

public double getX()

setX

public void setX(double v)

getY

public double getY()

setY

public void setY(double v)

draw

public void draw(MoebiusGraphics g)
Specified by:
draw in interface MoebiusShape
Overrides:
draw in class AbstractShape

toString

public java.lang.String toString()