|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.controls.JetProperty
jet.controls.JetBoolean
public class JetBoolean
JetBoolean is for saving/retrieving a boolean value.
| Field Summary |
|---|
| Fields inherited from interface jet.util.Propertiable |
|---|
BIGSTRING, BOOLEAN, CHG_FMTTINGBLNAME, CHG_FMTTINGFORMULA, CHG_OTHER, COLOR, COMPFML_RESOURCE, CUSTOMER, CUSTOMERLINK, DELIM, DELIMCHAR, DOUBLE, ENUMERATION, IGNORED, IMAGE, IMGVECTOR, MAPPINGTBL, NORMAL_RESOURCE, NUMBER, REFERENCE, STRING, SUB1_DELIM, UNIT, VAL_NORMALLENGTH, VAL_NORMALSTART, VECTOR |
| Constructor Summary | |
|---|---|
JetBoolean()
|
|
JetBoolean(jet.controls.JetObject parent,
java.lang.String name)
Creates a JetBoolean instance with the normal value to be false. |
|
JetBoolean(jet.controls.JetObject parent,
java.lang.String name,
boolean thedef)
Creates a JetBoolean instance with a specified value. |
|
| Method Summary | |
|---|---|
boolean |
booleanValue()
Effective if JetProperty.isCurrentAutoValue() is false; |
boolean |
get()
Effective if JetProperty.isCurrentAutoValue() is false; returns a value according to the following priority: normal value > default value. |
int |
getInt()
Effective if JetProperty.isCurrentAutoValue() is false;returns an integer value according to the following priority: normal value > default value. |
int[] |
getMatchingSqlType()
Now, this API only for designer UI : get Matching SQL Type of this property Usage in UI : list all the (normal-)formula whose data-type in returned array |
java.util.Vector |
getPropertyChoice()
Only For Designer UI |
void |
set(boolean value)
Sets the normal value with the boolean value. |
void |
set(java.lang.String theval)
Sets the normal value via a string. |
void |
setInt(int i)
Sets the value of this object via an integer. |
java.lang.String |
toString()
Effective if JetProperty.isCurrentAutoValue() is false;returns a string value according to the following priority: normal value > default value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jet.convert.PropInfo |
|---|
getChangeByObjectName, getInspValue, getName, getValue, isChangeByOther, isNull, toUnitString |
| Constructor Detail |
|---|
public JetBoolean()
public JetBoolean(jet.controls.JetObject parent,
java.lang.String name)
parent - Owner.name - Name.
public JetBoolean(jet.controls.JetObject parent,
java.lang.String name,
boolean thedef)
parent - Owner.name - Name.thedef - The value to be set for the normal value.| Method Detail |
|---|
public void set(boolean value)
value - Value for the boolean.set(String),
setInt(int),
get(),
booleanValue()public void set(java.lang.String theval)
set in interface jet.util.Propertiableset in class JetPropertytheval - "true"(case sensitive) or "1" means to set it to true.
java.lang.NullPointerException - if theval is null.set(boolean),
setInt(int),
get(),
booleanValue()public boolean get()
JetProperty.isCurrentAutoValue() is false; returns a value according to the following priority: normal value > default value.
get in interface jet.convert.BooleanInfoset(boolean),
set(String),
setInt(int),
JetProperty.isCurrentAutoValue()public boolean booleanValue()
JetProperty.isCurrentAutoValue() is false;
booleanValue in interface jet.convert.BooleanInfoget(),
JetProperty.isCurrentAutoValue()public java.lang.String toString()
JetProperty.isCurrentAutoValue() is false;returns a string value according to the following priority: normal value > default value.
toString in interface jet.convert.PropInfotoString in class java.lang.ObjectBoolean.toString(),
JetProperty.isCurrentAutoValue()public int getInt()
JetProperty.isCurrentAutoValue() is false;returns an integer value according to the following priority: normal value > default value.
getInt in interface jet.controls.IntegerablegetInt in interface jet.convert.BooleanInfosetInt(int),
set(boolean),
set(String),
get(),
booleanValue(),
JetProperty.isCurrentAutoValue()public void setInt(int i)
setInt in interface jet.controls.Integerablei - : 0 means to set it to false; others are true.getInt(),
get(),
booleanValue(),
set(boolean),
set(String)public java.util.Vector getPropertyChoice()
JetProperty
getPropertyChoice in class JetPropertypublic int[] getMatchingSqlType()
JetProperty
getMatchingSqlType in class JetPropertyDb
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||