|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.cbse.jeasy.JEObject
com.cbse.jeasy.JEGradientPaint
public class JEGradientPaint
A class holding the parameters for using a GradientPaint. The GradientPaint class provides a way to fill a Shape with a linear color gradient pattern from color1 to color2. The JEasy parameter gradient will be used by the components when creating the GradientPaint and calculating the points for color1 and color2
| Properties | ||
|---|---|---|
| name | values | comment |
| id | * | Id of the object. Let it begin with GP_ |
| color1 |   | Starting color of the gradient. |
| color2 |   | Ending color of the gradient. |
| point1x |   | Coordinate of the point. |
| point1y |   | Coordinate of the point. |
| point2x |   | Coordinate of the point. |
| point2y |   | Coordinate of the point. |
| cyclic | false true | If false the beginning point has the color color1 and the ending point has color2. If true the colors between start and end cycle back and forth betwenn colr1 and color2. |
* = property you have to set; bold = default value
| Field Summary |
|---|
| Fields inherited from class com.cbse.jeasy.JEObject |
|---|
DEVELOPPING, INPUT_ERROR_DATE, INPUT_ERROR_LENGTH, INPUT_ERROR_MANDATORY, INPUT_ERROR_PARSE, INPUT_ERROR_RANGE, INPUT_ERROR_TIME, INPUT_ERRORS, NO_INPUT_ERROR, RUNNING |
| Constructor Summary | |
|---|---|
JEGradientPaint()
|
|
JEGradientPaint(java.lang.String s)
Reads the properties from a string. |
|
| Method Summary | |
|---|---|
java.awt.GradientPaint |
getGradientPaint()
|
| Methods inherited from class com.cbse.jeasy.JEObject |
|---|
backupEntry, clear, deserializeValue, getApplet, getApplLocale, getCenter, getComponent, getEast, getElementAt, getElementSize, getId, getJCallBack, getJClass, getLabel, getMode, getName, getNorth, getObjLocale, getParentId, getPreview, getProjectDirectory, getProperty, getRegisterText, getSouth, getStarted, getTitle, getType, getWest, getXMLtag, isEditable, isEnabled, isEnterprise, isProfessional, isStandard, isVisible, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEaddTab, removeProperties, removeProperty, restoreEntry, serializeValue, setApplet, setApplLocale, setEditable, setEditable, setEnabled, setEnabled, setFocus, setJCallBack, setMarkable, setMarkable, setMode, setObjLocale, setParentId, setPreview, setProjectDirectory, setProperty, setStarted, setVisible, setVisible, start, wasEntryChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JEGradientPaint(java.lang.String s)
s - contains properties and valuesJE#PropertyStringpublic JEGradientPaint()
| Method Detail |
|---|
public java.awt.GradientPaint getGradientPaint()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||