public class JetString 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 |
---|
JetString() |
JetString(JetObject parent,
java.lang.String name)
Create a JetString instance with default valueand normal value are empty-string.
|
JetString(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()
Deprecated.
|
java.lang.String |
get(int mode) |
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 |
set(java.lang.String value,
int mode)
sets the 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 |
addPropertyChangeListener, addToAtomicAction, canChangeByBL, canChangeByFmtt, canChangeByOthers, checkValue, copy, 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 JetString()
public JetString(JetObject parent, java.lang.String name)
parent
- ownername
- namepublic JetString(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 class JetProperty
value
- the String value, null
means default valuesetValue(String)
,
toString()
,
get()
public void set(java.lang.String value, int mode)
JetProperty
set
in class JetProperty
If the subclass supports mode type, need to copy this method
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 valueset(String)
,
set(DbValue)
,
toString()
,
JetProperty.isCurrentAutoValue()
public java.lang.String get(int mode)
public java.lang.String toString()
JetProperty.isCurrentAutoValue()
is false,according to the following priority return : normal value > default valuetoString
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)