public class JetString extends JetProperty implements jet.convert.StringInfo
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
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 and Description |
---|
JetString() |
JetString(jet.controls.JetObject parent,
java.lang.String name)
Create a JetString instance with default valueand normal value are empty-string.
|
JetString(jet.controls.JetObject parent,
java.lang.String name,
java.lang.String defval)
Create a JetString instance with specified value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get()
Effective if
JetProperty.isCurrentAutoValue() is false, according to the following priority return : 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(DbValue thevalue)
Sets normal value via String.ValueOf(thevalue).
|
void |
set(java.lang.String value)
Sets normal value via a String.
|
void |
setPropertyChoice(java.util.Vector propertyChoice)
set property choice
|
java.lang.String |
toString()
Effective if
JetProperty.isCurrentAutoValue() is false,according to the following priority return : 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, toUnitString
public JetString()
public JetString(jet.controls.JetObject parent, java.lang.String name)
parent
- ownername
- namepublic JetString(jet.controls.JetObject parent, java.lang.String name, java.lang.String defval)
parent
- ownername
- namedefval
- value set to default value and normal valuepublic void set(java.lang.String value)
set
in interface jet.util.Propertiable
set
in class JetProperty
value
- the String value, null
means default valuesetValue(String)
,
toString()
,
get()
public void set(DbValue thevalue)
thevalue
- the DbValue value, null
means default valuesetValue(DbValue)
,
toString()
,
get()
public java.lang.String get()
JetProperty.isCurrentAutoValue()
is false, according to the following priority return : normal value > default valueget
in interface jet.convert.StringInfo
set(String)
,
set(DbValue)
,
toString()
,
JetProperty.isCurrentAutoValue()
public java.lang.String toString()
JetProperty.isCurrentAutoValue()
is false,according to the following priority return : normal value > default valuetoString
in interface jet.convert.PropInfo
toString
in class java.lang.Object
set(String)
,
set(DbValue)
,
JetProperty.isCurrentAutoValue()
,
get()
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)