public class JetReference 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
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 |
---|
JetReference() |
JetReference(jet.controls.JetObject parent,
java.lang.String name)
Create a JetReference instance with no refer to
|
Modifier and Type | Method and Description |
---|---|
jet.icontrols.PropValueInfo |
getCurrentValue(boolean isFmttContext)
Note to developer0:Now, it only can be used in Property Edit Actions and simple value parser.
|
java.lang.Object |
getObject()
Gets the JetObject had been refer to
|
java.lang.String |
getRefName()
Gets the instance name of JetObject had been refer to
|
boolean |
isChangeByOther()
Always return false
|
boolean |
isEnableAutoValue()
Always return false
|
void |
set(java.lang.String name)
Sets the name as specified name of JetObejct be about to refer to, remove existed refer to.
|
boolean |
setInstanceName(java.lang.String instName)
Search the JetObject managed by it owner via the specified instance name
|
void |
setObject(java.lang.Object ref)
Sets the JectObejct be about to refer to
|
void |
setReference(java.lang.Object ref)
Sets the JectObejct be about to refer to
|
java.lang.String |
toString()
Gets the instance name of JetObject had been refer to
|
canChangeByBL, canChangeByFmtt, canChangeByOthers, enableAllChangeBys, getChangeBy, getChangeByBL, getChangeByBLName, getChangeByBLType, getChangeByFmtt, getChangeByFmttName, getChangeByObject, getChangeByObjectName, getChangeByOtherType, getCurrentChangedBy, getCurrentValue, getEditFlag, getEditorType, getInspValue, getInspValue, getMatchingSqlType, getName, getNormalObject, getParent, getPropertyChoice, getPropType, getRuntimeChangeBy, getUnifiedObject, getValue, isChagneByFmtt, isChangeByBL, isCurrentAutoValue, isCurrentChangedBy, isNull, isSetAnyChangeBy, isSetRuntimeChgBy, isTransient, loadFullChangeBy, propertyChanged, saveFullChangeBy, setAsAutoValue, setCanChangeByBL, setCanChangeByFmtt, setCanChangeByOthers, setChangeByBL, setChangeByBL, setChangeByFmtt, setChangeByObject, setChangeByObject, setEditFlag, setEditorType, setEnableAutoValue, setRuntimeChangeBy, setTransient, setUnitValue, toUnitString
public JetReference()
public JetReference(jet.controls.JetObject parent, java.lang.String name)
parent
- the owner of the property.name
- the property namepublic void set(java.lang.String name)
set
in interface jet.util.Propertiable
set
in class JetProperty
name
- name of JetObejct be about to refer to, null
means clear.setObject(Object)
,
setReference(Object)
,
getRefName()
,
toString()
public java.lang.String getRefName()
null
if no one had been refer tosetInstanceName(String)
,
JetObject.getInstName()
public void setObject(java.lang.Object ref)
setObject
in interface jet.util.Propertiable
setObject
in class JetProperty
ref
- the JetObject be about to refer to; DO NOT null
getObject()
,
setReference(Object)
public void setReference(java.lang.Object ref)
ref
- the JetObject be about to refer to; DO NOT null
setObject(Object)
public java.lang.String toString()
toString
in interface jet.convert.PropInfo
toString
in class java.lang.Object
getRefName()
public final boolean isChangeByOther()
isChangeByOther
in interface jet.convert.PropInfo
isChangeByOther
in interface jet.util.Propertiable
isChangeByOther
in class JetProperty
JetProperty.setChangeByObject(Object)
,
JetProperty.isCurrentAutoValue()
public final boolean isEnableAutoValue()
isEnableAutoValue
in class JetProperty
JetProperty.setAsAutoValue(boolean)
,
JetProperty.isCurrentAutoValue()
,
JetProperty.setEnableAutoValue(boolean)
public java.lang.Object getObject()
getObject
in interface jet.util.Propertiable
getObject
in class JetProperty
null
if no one had been refer tosetInstanceName(String)
public boolean setInstanceName(java.lang.String instName)
instName
- the instance name.JetObject.getInstName()
,
JetObject.nameToObject(String)
public jet.icontrols.PropValueInfo getCurrentValue(boolean isFmttContext)
JetProperty
getCurrentValue
in class JetProperty
isFmttContext
- is 'conditional formatting' used context? if false, will not return 'conditional formatting' settings.