|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.controls.JetProperty
jet.controls.JetReference
public class JetReference
JetQualifyReference, for saving/retrieving a JetObject that managed by owner
NOTICE:
1. no default value.
2. can not set any ChangeBy value
3. default no refer to JetObject
| Field Summary |
|---|
| Fields inherited from interface jet.util.Propertiable |
|---|
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 Summary | |
|---|---|
JetReference()
|
|
JetReference(jet.controls.JetObject parent,
java.lang.String name)
Create a JetReference instance with no refer to |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JetReference()
public JetReference(jet.controls.JetObject parent,
java.lang.String name)
parent - the owner of the property.name - the property name| Method Detail |
|---|
public void set(java.lang.String name)
set in interface jet.util.Propertiableset in class JetPropertyname - name of JetObejct be about to refer to, null means clear.setObject(Object),
setReference(Object),
getRefName(),
toString()public java.lang.String getRefName()
nullif no one had been refer tosetInstanceName(String),
JetObject.getInstName()public void setObject(java.lang.Object ref)
setObject in interface jet.util.PropertiablesetObject in class JetPropertyref - the JetObject be about to refer to; DO NOT nullgetObject(),
setReference(Object)public 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 interface jet.convert.PropInfotoString in class java.lang.ObjectgetRefName()public final boolean isChangeByOther()
isChangeByOther in interface jet.convert.PropInfoisChangeByOther in interface jet.util.PropertiableisChangeByOther in class JetPropertyJetProperty.setChangeByObject(Object),
JetProperty.isCurrentAutoValue()public final boolean isEnableAutoValue()
isEnableAutoValue in class JetPropertyJetProperty.setAsAutoValue(boolean),
JetProperty.isCurrentAutoValue(),
JetProperty.setEnableAutoValue(boolean)public java.lang.Object getObject()
getObject in interface jet.util.PropertiablegetObject 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 jet.icontrols.PropValueInfo getCurrentValue(boolean isFmttContext)
JetProperty
getCurrentValue in class JetPropertyisFmttContext - is 'conditional formatting' used context? if false, will not return 'conditional formatting' settings.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||