public class JetNumber extends JetProperty implements jet.controls.Integerable, jet.convert.NumberInfo
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, MODE_PAGE, MODE_UNKNOWN, MODE_WEB, NORMAL_RESOURCE, NUMBER, POINT, REFERENCE, STRING, SUB1_DELIM, UNIT, VAL_NORMALLENGTH, VAL_NORMALSTART, VECTOR| Constructor and Description |
|---|
JetNumber() |
JetNumber(jet.controls.JetObject parent,
String name)
Create a JetNumber instance with default value and normal value are 0.
|
JetNumber(jet.controls.JetObject parent,
String name,
int defval)
Create a JetNumber instance with specified value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addToAtomicAction(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 |
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(String theval)
Deprecated.
|
void |
set(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(Vector propertyChoice)
set property choice
|
void |
setValue(int value)
Deprecated.
|
void |
setValue(int value,
int mode)
Sets normal value via specified value;
|
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, toUnitStringpublic JetNumber()
public JetNumber(jet.controls.JetObject parent,
String name)
parent - ownername - namepublic JetNumber(jet.controls.JetObject parent,
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(String theval, int mode)
set in interface jet.util.Propertiableset in class JetPropertyNumberFormatExceptiontoString(),
set(double),
set(float),
set(int),
set(long),
setValue(double),
setValue(float),
setValue(int),
setValue(long)@Deprecated public void set(String theval)
set in interface jet.util.Propertiableset in class JetPropertypublic int intValue(int mode)
JetProperty.isCurrentAutoValue() is false;according to the following priority return : normal value > default value as integerintValue in interface jet.convert.NumberInfoset(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 longlongValue in interface jet.convert.NumberInfoset(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 floatfloatValue in interface jet.convert.NumberInfoset(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 doubledoubleValue in interface jet.convert.NumberInfoset(double),
set(String),
setValue(double),
JetProperty.isCurrentAutoValue()public String toString()
JetProperty.isCurrentAutoValue() is false;according to the following priority return : normal value > default value as StringtoString in interface jet.convert.PropInfotoString in class Objectset(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 integerget in interface jet.convert.NumberInfoset(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.getInt in interface jet.controls.IntegerablegetInt in interface jet.convert.NumberInfoset(int),
setValue(int),
setInt(int),
intValue(),
get(),
JetProperty.isCurrentAutoValue()public void setInt(int i,
int mode)
setInt in interface jet.controls.Integerablei - an integer valueset(int),
setValue(int),
set(String),
intValue(),
get(),
getInt()@Deprecated public void setInt(int i)
setInt in interface jet.controls.Integerablepublic boolean addToAtomicAction(String newValue)
JetPropertyaddToAtomicAction in class JetPropertypublic int[] getMatchingSqlType()
JetPropertygetMatchingSqlType in class JetPropertyDbpublic Vector getPropertyChoice()
JetPropertygetPropertyChoice in class JetPropertypublic void setPropertyChoice(Vector propertyChoice)
@Deprecated public int get()
get in interface jet.convert.NumberInfo@Deprecated public int getInt()
getInt in interface jet.controls.IntegerablegetInt in interface jet.convert.NumberInfo@Deprecated public int intValue()
intValue in interface jet.convert.NumberInfo@Deprecated public long longValue()
longValue in interface jet.convert.NumberInfo@Deprecated public float floatValue()
floatValue in interface jet.convert.NumberInfo@Deprecated public double doubleValue()
doubleValue in interface jet.convert.NumberInfopublic JetProperty copy()
copy in class JetProperty© insightsoftware. All rights reserved.