|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.controls.JetProperty
jet.controls.JetColor
public class JetColor
Color property, for saving/retriving a Color value. If the value is null, means transparent.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
JetColor()
|
|
JetColor(JetObject parent,
java.lang.String name)
Constructor. |
|
JetColor(JetObject parent,
java.lang.String name,
java.awt.Color value)
Constructor. |
|
JetColor(JetObject parent,
java.lang.String name,
java.awt.Color value,
boolean nullEnabled)
Constructor. |
|
| Method Summary | |
|---|---|
java.awt.Color |
get()
Retrive a java.awt.Color value. |
int[] |
getMatchingSqlType()
Get Matching SQL Type of this property |
void |
set(java.awt.Color color)
Set the value via java.awt.Color |
void |
set(java.lang.String color)
Set the color via a string, this string must be a hex format integer. |
java.lang.String |
toString()
Retrive a String value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JetColor()
public JetColor(JetObject parent,
java.lang.String name)
parent - the owner of the property.name - the property name
public JetColor(JetObject parent,
java.lang.String name,
java.awt.Color value)
parent - the owner of the property.name - the property namevalue - the default value.
public JetColor(JetObject parent,
java.lang.String name,
java.awt.Color value,
boolean nullEnabled)
parent - the owner of the property.name - the property namethedef - the default value.nullEnabled - true: the value can be null.
false: the value can not be null.| Method Detail |
|---|
public void set(java.awt.Color color)
public void set(java.lang.String color)
set in class JetPropertycolor - the String valpublic java.awt.Color get()
public java.lang.String toString()
toString in class java.lang.Objectset(java.awt.Color)public int[] getMatchingSqlType()
JetProperty
getMatchingSqlType in class JetProperty
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||