public class JetBoolean extends JetProperty implements jet.controls.Integerable, jet.convert.BooleanInfo
CHART_BACKGROUND_EDITOR, CHART_FILLPATTERN_EDITOR, CHART_FILTER_EDITOR, CHART_FILTER_EDITOR_NO_DATE, CHART_ICON_STYLE, CHART_PATTERN_LIST_EDITOR, CHART_PENSTYLE_EDITOR, CHART_TEXTSTYLE_EDITOR, CHOICE_EDITOR, COLOR_EDITOR, COMBO_EDITOR, COMMAND_EDITOR, CONTROL_SELECT_ITEMS, DATASOURCE_EDITOR, DBCOL_EDITOR, DETAIL_REPORT_EDITOR, EDIT_FORBIDDEN, EDIT_FORBIDDEN_INIT, EDITABLE_ALLTIME, INTERNAL, LINK_EDITOR, MULSEL_EDITOR, PARAMCOL_EDITOR, QUERY_EDITOR, RECORDDB_EDITOR, SECURITY_EDITOR, TEXT_EDITORBIGSTRING, 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 and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 DesignService : get Matching SQL Type of this property
Usage in UI : list all the 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. |
canChangeByBL, canChangeByFmtt, canChangeByOthers, enableAllChangeBys, getChangeBy, getChangeByBL, getChangeByBLName, getChangeByBLType, getChangeByFmtt, getChangeByFmttName, getChangeByObject, getChangeByObjectName, getChangeByOtherType, getCurrentChangedBy, getCurrentValue, getCurrentValue, getEditFlag, getEditorType, getInspValue, getInspValue, getName, getNormalObject, getObject, getParent, getPropType, getRuntimeChangeBy, getUnifiedObject, getValue, isChagneByFmtt, isChangeByBL, isChangeByOther, isCurrentAutoValue, isCurrentChangedBy, isEnableAutoValue, isNull, isSetAnyChangeBy, isSetRuntimeChgBy, isTransient, loadFullChangeBy, propertyChanged, saveFullChangeBy, setAsAutoValue, setCanChangeByBL, setCanChangeByFmtt, setCanChangeByOthers, setChangeByBL, setChangeByBL, setChangeByFmtt, setChangeByObject, setChangeByObject, setEditFlag, setEditorType, setEnableAutoValue, setObject, setRuntimeChangeBy, setTransient, setUnitValue, toUnitStringpublic 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.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()
JetPropertygetPropertyChoice in class JetPropertypublic int[] getMatchingSqlType()
JetPropertygetMatchingSqlType in class JetPropertyDb