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, toUnitString
public 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 JetProperty
name
- 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)
JetProperty
set
in class JetProperty
If the subclass supports mode type, need to copy this method
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 class JetProperty
ref
- the JetObject be about to refer to; DO NOT null
getObject()
,
setReference(Object)
public void setObject(java.lang.Object ref, int mode)
JetProperty
setObject
in class JetProperty
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 class java.lang.Object
getRefName()
public final boolean isChangeByOther()
isChangeByOther
in class JetProperty
public final boolean isEnableAutoValue()
isEnableAutoValue
in class JetProperty
JetProperty.setAsAutoValue(boolean)
,
JetProperty.isCurrentAutoValue()
,
JetProperty.setEnableAutoValue(boolean)
public java.lang.Object getObject()
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 PropValueInfo getCurrentValue(boolean isFmttContext, int mode)
JetProperty
getCurrentValue
in class JetProperty
isFmttContext
- is 'conditional formatting' used context? if false, will not return 'conditional formatting' settings.