public class JetVector extends JetProperty implements jet.convert.VectorInfo
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, NORMAL_RESOURCE, NUMBER, REFERENCE, STRING, SUB1_DELIM, UNIT, VAL_NORMALLENGTH, VAL_NORMALSTART, VECTOR| Constructor and Description |
|---|
JetVector() |
JetVector(jet.controls.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()
Effective if
JetProperty.isCurrentAutoValue() is false. |
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.util.Vector strings)
Resets normal value via specified vector.
|
void |
setObject(java.lang.Object value)
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. |
canChangeByBL, canChangeByFmtt, canChangeByOthers, enableAllChangeBys, getChangeBy, getChangeByBL, getChangeByBLName, getChangeByBLType, getChangeByFmtt, getChangeByFmttName, getChangeByObject, getChangeByObjectName, getChangeByOtherType, getCurrentChangedBy, getCurrentValue, getCurrentValue, getEditFlag, getEditorType, getInspValue, getMatchingSqlType, getName, getNormalObject, getObject, getParent, getPropertyChoice, 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, setRuntimeChangeBy, setTransient, setUnitValue, toUnitStringpublic JetVector()
public JetVector(jet.controls.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 interface jet.convert.PropInfotoString in class java.lang.ObjectJetProperty.isCurrentAutoValue()public java.lang.String getInspValue()
JetPropertyJetProperty.isCurrentAutoValue() is false. Only For Designer UI. In most cases, return string based on unitgetInspValue in interface jet.convert.PropInfogetInspValue in class JetPropertyJetProperty.isCurrentAutoValue()public void setObject(java.lang.Object value)
JetPropertysetObject in interface jet.util.PropertiablesetObject in class JetPropertypublic void set(java.util.Vector strings)
strings - the specified vector be about to reset to normal value, DO NOT nullset(String)public void set(java.lang.String strings)
set in interface jet.util.Propertiableset in class JetPropertystrings - a DELIM separated string, DO NOT nulljava.lang.NullPointerException - if strings is nulltoString()public java.util.Vector get()
JetProperty.isCurrentAutoValue() is false; gets the normal value.get in interface jet.convert.VectorInfoJetProperty.isCurrentAutoValue()public int[] toIntArray()
JetProperty.isCurrentAutoValue() is false, parse each string to an integer, and return them.toIntArray in interface jet.convert.VectorInfojava.lang.NumberFormatException - if one string does not contain parsable integer.toStringArray(),
JetProperty.isCurrentAutoValue()public java.lang.String[] toStringArray()
JetProperty.isCurrentAutoValue() is false.toStringArray in interface jet.convert.VectorInfoJetProperty.isCurrentAutoValue()public boolean equal(JetProperty str)