public class JetVector 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 |
---|
JetVector() |
JetVector(JetObject parent,
java.lang.String name)
Create JetVector instance with 0 size vector(both default value and normal value)
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String s)
Adds the specified String to the end of normal value
|
void |
clear()
Resets normal value
|
boolean |
equal(JetProperty str) |
java.util.Vector |
get()
Effective if
JetProperty.isCurrentAutoValue() is false; gets the normal value. |
java.lang.String |
getInspValue(int mode)
Effective if
JetProperty.isCurrentAutoValue() is false. |
java.lang.String |
print()
In non-EXTERNAL(!EXTERNAL) macro.
Effective if JetProperty.isCurrentAutoValue() is false, merge all items in normal value, separated by "|" to String |
void |
remove(java.lang.String s)
Removes the specified String to the end of normal value
|
void |
set(java.lang.String strings)
Sets normal value via a DELIM separated string.
|
void |
set(java.lang.String strings,
int mode)
sets the normal value via a String.
|
void |
set(java.util.Vector strings)
Resets normal value via specified vector.
|
void |
set(java.util.Vector strings,
int mode) |
void |
setObject(java.lang.Object value) |
void |
setObject(java.lang.Object value,
int mode)
Sets normal value
|
int[] |
toIntArray()
Effective if
JetProperty.isCurrentAutoValue() is false, parse each string to an integer, and return them. |
java.lang.String |
toString()
Effective if
JetProperty.isCurrentAutoValue() is false, merge all items in normal value, separated by DELIM to String |
java.lang.String[] |
toStringArray()
Effective if
JetProperty.isCurrentAutoValue() is false. |
addPropertyChangeListener, addToAtomicAction, canChangeByBL, canChangeByFmtt, canChangeByOthers, checkValue, copy, curValueEqual, enableAllChangeBys, 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, getMatchingSqlType, getModeProperty, getName, getNormalObject, getNormalObject, getObject, getObject, getParent, getPropertyChoice, 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, setRuntimeChangeBy, setRuntimeChangeBy, setSupportMode, setTransient, setUnavailable, setUnitValue, setUnitValue, toUnitString, toUnitString
public JetVector()
public JetVector(JetObject parent, java.lang.String name)
parent
- ownername
- namepublic void add(java.lang.String s)
public void remove(java.lang.String s)
public void clear()
set(Vector)
public java.lang.String toString()
JetProperty.isCurrentAutoValue()
is false, merge all items in normal value, separated by DELIM to StringtoString
in class java.lang.Object
JetProperty.isCurrentAutoValue()
public java.lang.String print()
JetProperty.isCurrentAutoValue()
is false, merge all items in normal value, separated by "|" to StringJetProperty.isCurrentAutoValue()
public java.lang.String getInspValue(int mode)
JetProperty
JetProperty.isCurrentAutoValue()
is false. Only For Designer UI. In most cases, return string based on unitgetInspValue
in class JetProperty
JetProperty.isCurrentAutoValue()
public void setObject(java.lang.Object value, int mode)
JetProperty
setObject
in class JetProperty
public void setObject(java.lang.Object value)
setObject
in class JetProperty
public void set(java.util.Vector strings)
strings
- the specified vector be about to reset to normal value, DO NOT null
set(String)
public void set(java.util.Vector strings, int mode)
public void set(java.lang.String strings)
set
in class JetProperty
strings
- a DELIM separated string, DO NOT null
java.lang.NullPointerException
- if strings
is null
toString()
public void set(java.lang.String strings, int mode)
JetProperty
set
in class JetProperty
If the subclass supports mode type, need to copy this method
public java.util.Vector get()
JetProperty.isCurrentAutoValue()
is false; gets the normal value.JetProperty.isCurrentAutoValue()
public int[] toIntArray()
JetProperty.isCurrentAutoValue()
is false, parse each string to an integer, and return them.java.lang.NumberFormatException
- if one string does not contain parsable integer.toStringArray()
,
JetProperty.isCurrentAutoValue()
public java.lang.String[] toStringArray()
JetProperty.isCurrentAutoValue()
is false.JetProperty.isCurrentAutoValue()
public boolean equal(JetProperty str)
equal
in class JetProperty
JetProperty.curValueEqual(JetProperty, boolean, boolean)