public class JetBoolean extends JetProperty
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_EDITOR
Constructor and Description |
---|
JetBoolean() |
JetBoolean(JetObject parent,
java.lang.String name)
Creates a JetBoolean instance with the normal value to be false.
|
JetBoolean(JetObject parent,
java.lang.String name,
boolean thedef)
Creates a JetBoolean instance with a specified value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValue()
Deprecated.
|
boolean |
booleanValue(int mode)
Effective if
JetProperty.isCurrentAutoValue() is false; |
JetProperty |
copy()
Copies property with normal value
|
boolean |
get()
Deprecated.
use
get(int) |
boolean |
get(int mode)
Effective if
JetProperty.isCurrentAutoValue() is false; returns a value according to the following priority: normal value > default value. |
int |
getInt()
Deprecated.
use
getInt(int) |
int |
getInt(int mode)
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)
Deprecated.
|
void |
set(boolean value,
int mode)
Sets the normal value with the boolean value.
|
void |
set(java.lang.String theval)
Deprecated.
|
void |
set(java.lang.String theval,
int mode)
Sets the normal value via a string.
|
void |
setInt(int i)
Deprecated.
|
void |
setInt(int i,
int mode)
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. |
addPropertyChangeListener, addToAtomicAction, canChangeByBL, canChangeByFmtt, canChangeByOthers, checkValue, curValueEqual, enableAllChangeBys, equal, getChangeBy, getChangeBy, getChangeByBL, getChangeByBL, getChangeByBLName, getChangeByBLName, getChangeByBLType, getChangeByBLType, getChangeByFmtt, getChangeByFmtt, getChangeByFmttName, getChangeByFmttName, getChangeByObject, getChangeByObject, getChangeByObjectName, getChangeByObjectName, getChangeByOtherType, getChangeByOtherType, getCurrentChangedBy, getCurrentChangedBy, getCurrentValue, getCurrentValue, getCurrentValue, getCurrentValue, getEditFlag, getEditorType, getInspValue, getInspValue, getInspValue, getModeProperty, getName, getNormalObject, getNormalObject, getObject, getObject, getParent, getPropType, getRuntimeChangeBy, getRuntimeChangeBy, getUnifiedObject, getUnifiedObject, getValue, getValue, isChagneByFmtt, isChagneByFmtt, isChangeByBL, isChangeByBL, isChangeByOther, isChangeByOther, isCurrentAutoValue, isCurrentAutoValue, isCurrentChangedBy, isCurrentChangedBy, isEnableAutoValue, isModeProperty, isNull, isNull, isSetAnyChangeBy, isSetRuntimeChgBy, isSetRuntimeChgBy, isSupportMode, isTransient, isUnavailable, loadFullChangeBy, loadFullChangeBy, propertyChanged, removePropertyChangeListener, saveFullChangeBy, saveFullChangeBy, setAsAutoValue, setAsAutoValue, setCanChangeByBL, setCanChangeByFmtt, setCanChangeByOthers, setChangeByBL, setChangeByBL, setChangeByBL, setChangeByBL, setChangeByFmtt, setChangeByFmtt, setChangeByObject, setChangeByObject, setChangeByObject, setChangeByObject, setEditFlag, setEditorType, setEnableAutoValue, setObject, setObject, setRuntimeChangeBy, setRuntimeChangeBy, setSupportMode, setTransient, setUnavailable, setUnitValue, setUnitValue, toUnitString, toUnitString
public JetBoolean()
public JetBoolean(JetObject parent, java.lang.String name)
parent
- Owner.name
- Name.public JetBoolean(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, int mode)
value
- Value for the boolean.set(String)
,
setInt(int)
,
get()
,
booleanValue()
@Deprecated public void set(boolean value)
public void set(java.lang.String theval, int mode)
set
in class JetProperty
theval
- "true"(case sensitive) or "1" means to set it to true.java.lang.NullPointerException
- if theval is null.set(boolean)
,
setInt(int)
,
get()
,
booleanValue()
@Deprecated public void set(java.lang.String theval)
set
in class JetProperty
public boolean get(int mode)
JetProperty.isCurrentAutoValue()
is false; returns a value according to the following priority: normal value > default value.set(boolean)
,
set(String)
,
setInt(int)
,
JetProperty.isCurrentAutoValue()
public boolean booleanValue(int mode)
JetProperty.isCurrentAutoValue()
is false;get()
,
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 class java.lang.Object
Boolean.toString()
,
JetProperty.isCurrentAutoValue()
public int getInt(int mode)
JetProperty.isCurrentAutoValue()
is false;returns an integer value according to the following priority: normal value > default value.setInt(int)
,
set(boolean)
,
set(String)
,
get()
,
booleanValue()
,
JetProperty.isCurrentAutoValue()
public void setInt(int i, int mode)
i
- : 0 means to set it to false; others are true.getInt()
,
get()
,
booleanValue()
,
set(boolean)
,
set(String)
@Deprecated public void setInt(int i)
public java.util.Vector getPropertyChoice()
JetProperty
getPropertyChoice
in class JetProperty
public int[] getMatchingSqlType()
JetProperty
getMatchingSqlType
in class JetProperty
Db
@Deprecated public boolean get()
get(int)
@Deprecated public int getInt()
getInt(int)
@Deprecated public boolean booleanValue()
booleanValue(int)
public JetProperty copy()
copy
in class JetProperty