public class JetNumber 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 |
---|
JetNumber() |
JetNumber(JetObject parent,
java.lang.String name)
Create a JetNumber instance with default value and normal value are 0.
|
JetNumber(JetObject parent,
java.lang.String name,
int defval)
Create a JetNumber instance with specified value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addToAtomicAction(java.lang.String newValue)
In non-EXTERNAL(!EXTERNAL) macro.
Note to developer: No 'call hierarchy' found, but maybe can be found in other products |
JetProperty |
copy() |
double |
doubleValue()
Deprecated.
|
double |
doubleValue(int mode)
Effective if
JetProperty.isCurrentAutoValue() is false;according to the following priority return : normal value > default value as double |
float |
floatValue()
Deprecated.
|
float |
floatValue(int mode)
Effective if
JetProperty.isCurrentAutoValue() is false;according to the following priority return : normal value > default value as float |
int |
get()
Deprecated.
|
int |
get(int mode)
Effective if
JetProperty.isCurrentAutoValue() is false; according to the following priority return : normal value > default value as integer |
int |
getInt()
Deprecated.
|
int |
getInt(int mode)
Effective if
JetProperty.isCurrentAutoValue() is false. |
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
|
int |
intValue()
Deprecated.
|
int |
intValue(int mode)
Effective if
JetProperty.isCurrentAutoValue() is false;according to the following priority return : normal value > default value as integer |
long |
longValue()
Deprecated.
|
long |
longValue(int mode)
Effective if
JetProperty.isCurrentAutoValue() is false;according to the following priority return : normal value > default value as long |
void |
set(double value)
Deprecated.
|
void |
set(double value,
int mode)
Sets normal value via double value
|
void |
set(float value)
Deprecated.
|
void |
set(float value,
int mode)
Sets normal value via float value
|
void |
set(int value)
Deprecated.
|
void |
set(int value,
int mode)
Sets normal value via specified int value;
|
void |
set(long value)
Deprecated.
|
void |
set(long value,
int mode)
Sets normal value via long value
|
void |
set(java.lang.String theval)
Deprecated.
|
void |
set(java.lang.String theval,
int mode)
Sets normal value via a String.
|
void |
setInt(int i)
Deprecated.
|
void |
setInt(int i,
int mode)
Sets normal value via specified value;
|
void |
setPropertyChoice(java.util.Vector propertyChoice)
set property choice
|
void |
setValue(int value)
Deprecated.
|
void |
setValue(int value,
int mode)
Sets normal value via specified value;
|
java.lang.String |
toString()
Effective if
JetProperty.isCurrentAutoValue() is false;according to the following priority return : normal value > default value as String |
addPropertyChangeListener, 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 JetNumber()
public JetNumber(JetObject parent, java.lang.String name)
parent
- ownername
- namepublic JetNumber(JetObject parent, java.lang.String name, int defval)
parent
- ownername
- namedefval
- the value to be set to default value and normal valuepublic void set(int value, int mode)
value
- a integer valuesetInt(int)
,
setValue(int)
,
set(String)
,
getInt()
,
intValue()
,
get()
@Deprecated public void set(int value)
public void set(long value, int mode)
value
- the long valueset(String)
,
longValue()
,
setValue(long)
@Deprecated public void set(long value)
public void set(float value, int mode)
value
- the float valueset(String)
,
floatValue()
,
setValue(float)
@Deprecated public void set(float value)
public void set(double value, int mode)
value
- the double valueset(String)
,
doubleValue()
,
setValue(double)
@Deprecated public void set(double value)
public void set(java.lang.String theval, int mode)
set
in class JetProperty
java.lang.NumberFormatException
toString()
,
set(double)
,
set(float)
,
set(int)
,
set(long)
,
setValue(double)
,
setValue(float)
,
setValue(int)
,
setValue(long)
@Deprecated public void set(java.lang.String theval)
set
in class JetProperty
public int intValue(int mode)
JetProperty.isCurrentAutoValue()
is false;according to the following priority return : normal value > default value as integerset(int)
,
setInt(int)
,
set(String)
,
get()
,
getInt()
,
JetProperty.isCurrentAutoValue()
public long longValue(int mode)
JetProperty.isCurrentAutoValue()
is false;according to the following priority return : normal value > default value as longset(long)
,
set(String)
,
setValue(long)
,
JetProperty.isCurrentAutoValue()
public float floatValue(int mode)
JetProperty.isCurrentAutoValue()
is false;according to the following priority return : normal value > default value as floatset(float)
,
set(String)
,
setValue(float)
,
JetProperty.isCurrentAutoValue()
public double doubleValue(int mode)
JetProperty.isCurrentAutoValue()
is false;according to the following priority return : normal value > default value as doubleset(double)
,
set(String)
,
setValue(double)
,
JetProperty.isCurrentAutoValue()
public java.lang.String toString()
JetProperty.isCurrentAutoValue()
is false;according to the following priority return : normal value > default value as StringtoString
in class java.lang.Object
set(String)
,
String.valueOf(int)
,
String.valueOf(float)
,
String.valueOf(double)
,
String.valueOf(long)
,
JetProperty.isCurrentAutoValue()
public int get(int mode)
JetProperty.isCurrentAutoValue()
is false; according to the following priority return : normal value > default value as integerset(int)
,
setInt(int)
,
setValue(int)
,
set(String)
,
intValue()
,
getInt()
,
JetProperty.isCurrentAutoValue()
public void setValue(int value, int mode)
value
- an integer value.setInt(int)
,
set(int)
,
set(String)
,
getInt()
,
intValue()
,
get()
@Deprecated public void setValue(int value)
public int getInt(int mode)
JetProperty.isCurrentAutoValue()
is false.set(int)
,
setValue(int)
,
setInt(int)
,
intValue()
,
get()
,
JetProperty.isCurrentAutoValue()
public void setInt(int i, int mode)
i
- an integer valueset(int)
,
setValue(int)
,
set(String)
,
intValue()
,
get()
,
getInt()
@Deprecated public void setInt(int i)
public boolean addToAtomicAction(java.lang.String newValue)
JetProperty
addToAtomicAction
in class JetProperty
public int[] getMatchingSqlType()
JetProperty
getMatchingSqlType
in class JetProperty
Db
public java.util.Vector getPropertyChoice()
JetProperty
getPropertyChoice
in class JetProperty
public void setPropertyChoice(java.util.Vector propertyChoice)
@Deprecated public int get()
@Deprecated public int getInt()
@Deprecated public int intValue()
@Deprecated public long longValue()
@Deprecated public float floatValue()
@Deprecated public double doubleValue()
public JetProperty copy()
copy
in class JetProperty