|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.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 nameMethod Detail |
---|
public 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |