| com.jeta.forms.store.properties.JETAProperty com.jeta.forms.store.properties.effects.RadialGradientProperty
BOTTOM_CENTER | final public static int BOTTOM_CENTER(Code) | | |
BOTTOM_LEFT | final public static int BOTTOM_LEFT(Code) | | |
BOTTOM_RIGHT | final public static int BOTTOM_RIGHT(Code) | | |
CENTER | final public static int CENTER(Code) | | |
LEFT_CENTER | final public static int LEFT_CENTER(Code) | | |
RIGHT_CENTER | final public static int RIGHT_CENTER(Code) | | |
TOP_CENTER | final public static int TOP_CENTER(Code) | | |
TOP_LEFT | final public static int TOP_LEFT(Code) | | |
TOP_RIGHT | final public static int TOP_RIGHT(Code) | | |
VERSION | final public static int VERSION(Code) | | |
serialVersionUID | final static long serialVersionUID(Code) | | |
RadialGradientProperty | public RadialGradientProperty()(Code) | | Creates an uninitialized RadialGradientProperty instance.
|
RadialGradientProperty | public RadialGradientProperty(ColorProperty startColor, ColorProperty endColor, int position, int magnitude)(Code) | | Creates an uninitialized RadialGradientProperty instance.
Parameters: startColor - the start color for the gradient |
createPainter | public Painter createPainter()(Code) | | PaintSupport implementation. Creates a painter that renders a radial
gradient using the attributes defined in this object.
|
getMagnitude | public int getMagnitude()(Code) | | Returns the rate of change from one color to the next. 100 is the default
value.
|
getPosition | public int getPosition()(Code) | | Returns the center of the radial gradient. Valid values: TOP_LEFT,
TOP_CENTER, TOP_RIGHT, CENTER, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT,
LEFT_CENTER, RIGHT_CENTER
|
getStartColor | public ColorProperty getStartColor()(Code) | | Returns the color at the center of the radial.
the start color |
setEndColor | public void setEndColor(ColorProperty c)(Code) | | Sets the end color.
Parameters: c - the end color |
setMagnitude | public void setMagnitude(int mag)(Code) | | Sets the rate of change from one color to the next. 100 is the default
value.
Parameters: mag - the magnitude |
setPosition | public void setPosition(int position)(Code) | | Sets the position of the radial center.
Parameters: position - the location of the center of the gradient. Valid values:TOP_LEFT, TOP_CENTER, TOP_RIGHT, CENTER, BOTTOM_LEFT,BOTTOM_CENTER, BOTTOM_RIGHT, LEFT_CENTER, RIGHT_CENTER |
setStartColor | public void setStartColor(ColorProperty c)(Code) | | Sets the color at the center of the radial.
Parameters: c - the start color |
setValue | public void setValue(Object prop)(Code) | | Sets this property to that of another property.
|
toString | public String toString()(Code) | | a string representation of this proprety |
updateBean | public void updateBean(JETABean jbean)(Code) | | Updates the bean. Gets the underlying Java bean component associated with
this property and if that component implements the Paintable interface,
sets the background painter.
|
Fields inherited from com.jeta.forms.store.properties.JETAProperty | final public static int VERSION(Code)(Java Doc)
|
|
|