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| Constructor and Description |
|---|
JetReference() |
JetReference(JetObject parent,
java.lang.String name)
Create a JetReference instance with no refer to
|
| Modifier and Type | Method and Description |
|---|---|
PropValueInfo |
getCurrentValue(boolean isFmttContext,
int mode)
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.
|
void |
set(java.lang.String name,
int mode)
sets the normal value via a String.
|
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 |
setObject(java.lang.Object ref,
int mode)
Sets normal value
|
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
|
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, getEditFlag, getEditorType, getInspValue, getInspValue, getInspValue, getMatchingSqlType, getModeProperty, getName, getNormalObject, getNormalObject, getObject, getParent, getPropertyChoice, getPropType, getRuntimeChangeBy, getRuntimeChangeBy, getUnifiedObject, getUnifiedObject, getValue, getValue, isChagneByFmtt, isChagneByFmtt, isChangeByBL, isChangeByBL, isChangeByOther, isCurrentAutoValue, isCurrentAutoValue, isCurrentChangedBy, isCurrentChangedBy, 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, toUnitStringpublic JetReference()
public JetReference(JetObject parent,
java.lang.String name)
parent - the owner of the property.name - the property namepublic void set(java.lang.String name)
set in class JetPropertyname - name of JetObejct be about to refer to, null means clear.setObject(Object),
setReference(Object),
getRefName(),
toString()public void set(java.lang.String name,
int mode)
JetPropertyset in class JetPropertyIf the subclass supports mode type, need to copy this methodpublic java.lang.String getRefName()
nullif no one had been refer tosetInstanceName(String),
JetObject#getInstName()public void setObject(java.lang.Object ref)
setObject in class JetPropertyref - the JetObject be about to refer to; DO NOT nullgetObject(),
setReference(Object)public void setObject(java.lang.Object ref,
int mode)
JetPropertysetObject in class JetPropertypublic void setReference(java.lang.Object ref)
ref - the JetObject be about to refer to; DO NOT nullsetObject(Object)public java.lang.String toString()
toString in class java.lang.ObjectgetRefName()public final boolean isChangeByOther()
isChangeByOther in class JetPropertypublic final boolean isEnableAutoValue()
isEnableAutoValue in class JetPropertyJetProperty.setAsAutoValue(boolean),
JetProperty.isCurrentAutoValue(),
JetProperty.setEnableAutoValue(boolean)public java.lang.Object getObject()
getObject in class JetPropertynullif no one had been refer tosetInstanceName(String)public boolean setInstanceName(java.lang.String instName)
instName - the instance name.JetObject#getInstName(),
JetObject#nameToObject(String)public PropValueInfo getCurrentValue(boolean isFmttContext,
int mode)
JetPropertygetCurrentValue in class JetPropertyisFmttContext - is 'conditional formatting' used context? if false, will not return 'conditional formatting' settings.