|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjet.controls.JetProperty
public abstract class JetProperty
The base class of all the property
Propertiable.IGNORED
,Propertiable.BOOLEAN
....(detail please refer to Propertiable
)
Field Summary | |
---|---|
static int |
CHART_BACKGROUND_EDITOR
Editor: CHART_BACKGROUND_EDITOR;ONLY For Designer UI |
static int |
CHART_FILLPATTERN_EDITOR
Editor: CHART_FILLPATTERN_EDITOR;ONLY For Designer UI |
static int |
CHART_FILTER_EDITOR
Editor: CHART_FILTER_EDITOR; ONLY For Designer UI |
static int |
CHART_FILTER_EDITOR_NO_DATE
Editor: CHART_FILTER_EDITOR_NO_DATE; ONLY For Designer UI |
static int |
CHART_ICON_STYLE
Editor: CHART_ICON_STYLE;ONLY For Designer UI |
static int |
CHART_PATTERN_LIST_EDITOR
Editor: CHART_PATTERN_LIST_EDITOR;ONLY For Designer UI |
static int |
CHART_PENSTYLE_EDITOR
Editor: CHART_PENSTYLE_EDITOR;ONLY For Designer UI |
static int |
CHART_TEXTSTYLE_EDITOR
Editor: CHART_TEXTSTYLE_EDITOR;ONLY For Designer UI |
static int |
CHOICE_EDITOR
Editor: CHOICE_EDITOR;ONLY For Designer UI |
static int |
COLOR_EDITOR
Editor: COLOR_EDITOR;ONLY For Designer UI |
static int |
COMBO_EDITOR
Editor: COMBO_EDITOR;ONLY For Designer UI |
static int |
COMMAND_EDITOR
Editor: COMMAND_EDITOR;ONLY For Designer UI |
static int |
CONTROL_SELECT_ITEMS
Editor: CONTROL_SELECT_ITEMS; ONLY For Designer UI |
static int |
DATASOURCE_EDITOR
Editor: DATASOURCE_EDITOR; ONLY For Designer UI |
static int |
DBCOL_EDITOR
Editor: DBCOL_EDITOR;ONLY For Designer UI |
static int |
DETAIL_REPORT_EDITOR
Editor: DETAIL_REPORT_EDITOR;ONLY For Designer UI |
static int |
EDIT_FORBIDDEN
editor status: EDIT_FORBIDDEN;, ONLY For Designer UI |
static int |
EDIT_FORBIDDEN_INIT
editor status: EDIT_FORBIDDEN_INIT; ONLY For Designer UI |
static int |
EDITABLE_ALLTIME
editor status: EDITABLE_ALLTIME; ONLY For Designer UI |
static int |
INTERNAL
editor status: INTERNAL; ONLY For Designer UI |
static int |
LINK_EDITOR
Editor: LINK_EDITOR;ONLY For Designer UI |
static int |
MULSEL_EDITOR
Editor: MULSEL_EDITOR;ONLY For Designer UI |
static int |
PARAMCOL_EDITOR
Editor: PARAMCOL_EDITOR;ONLY For Designer UI |
static int |
QUERY_EDITOR
Editor: QUERY_EDITOR;ONLY For Designer UI |
static int |
RECORDDB_EDITOR
Editor: RECORDDB_EDITOR;ONLY For Designer UI |
static int |
SECURITY_EDITOR
Editor: SECURITY_EDITOR;ONLY For Designer UI |
static int |
TEXT_EDITOR
Editor: TEXT_EDITOR;ONLY For Designer UI |
Fields inherited from interface jet.util.Propertiable |
---|
BIGSTRING, BOOLEAN, CHG_FMTTINGBLNAME, CHG_FMTTINGFORMULA, CHG_OTHER, COLOR, CUSTOMER, CUSTOMERLINK, DELIM, DOUBLE, ENUMERATION, IGNORED, IMAGE, IMGVECTOR, MAPPINGTBL, NUMBER, REFERENCE, STRING, UNIT, VAL_NORMALLENGTH, VAL_NORMALSTART, VECTOR |
Constructor Summary | |
---|---|
JetProperty()
|
|
JetProperty(jet.controls.JetObject parent,
java.lang.String name)
|
Method Summary | |
---|---|
boolean |
canChangeByBL()
Can the property be changed by 'on the fly formula' |
boolean |
canChangeByFmtt()
Can the property be changed by 'conditional formatting' |
boolean |
canChangeByOthers()
Can the property be changed by 'another object' |
void |
enableAllChangeBys(boolean bEnable)
Batch set can the property be changed by ChangeBy value |
jet.controls.JetChangeBy |
getChangeBy()
Deprecated. |
java.lang.Object |
getChangeByBL()
|
java.lang.String |
getChangeByBLName()
Deprecated. |
java.lang.Object |
getChangeByFmtt()
|
java.lang.String |
getChangeByFmttName()
Deprecated. |
java.lang.Object |
getChangeByObject()
|
java.lang.String |
getChangeByObjectName()
Deprecated. |
int |
getEditFlag()
Only for Designer UI. |
int |
getEditorType()
Only For Designer UI. |
java.lang.String |
getInspValue()
Only For Designer UI. |
java.lang.String |
getInspValue(int unit,
int fraction)
Deprecated. |
int[] |
getMatchingSqlType()
Now, this API only for designer UI : get Matching SQL Type of this property Usage in UI : list all the (normal-)formula whose data-type in returned array |
java.lang.String |
getName()
|
java.lang.Object |
getNormalObject()
According to the following priority return : normal value > default value |
java.lang.Object |
getObject()
According to the following priority return : 'another object' > normal value > default value Notice: returned 'another object' is the description of 'changed by' |
jet.controls.JetObject |
getParent()
|
java.util.Vector |
getPropertyChoice()
Only For Designer UI |
int |
getPropType()
|
java.lang.Object |
getRuntimeChangeBy()
|
java.lang.Object |
getUnifiedObject()
According to the following priority return : ChangeBy value > normal value > default value Notice: returned ChangeBy value is the description of 'changed by' |
java.lang.Object |
getValue()
|
boolean |
isChagneByFmtt()
|
boolean |
isChangeByBL()
|
boolean |
isChangeByOther()
|
boolean |
isNull()
Is set normal value? Notice: This function has disabled from V8. |
boolean |
isSetRuntimeChgBy()
Is runtime change by set? |
boolean |
isTransient()
Gets attribute for 'export to RST'. |
void |
loadFullChangeBy(java.lang.String changeBy)
ONLY FOR LOAD CHANGE BY STRING |
void |
propertyChanged()
Force refresh the property information that managed in/by owner. Note to developer: No 'call hierarchy' found, but maybe can be found in other products |
java.lang.String |
saveFullChangeBy()
ONLY FOR SAVE CHANGE BY AS STRING Notice: Can called ONLY this property has ChangeBy value |
void |
set(java.lang.String theval)
sets the normal value via a String. |
void |
setCanChangeByBL(boolean bSet)
Sets can the property be changed by 'on the fly formula' |
void |
setCanChangeByFmtt(boolean bSet)
Sets can the property be changed by 'conditional formatting' |
void |
setCanChangeByOthers(boolean bSet)
Sets can the property be changed by 'another object'. |
void |
setChangeByBL(java.lang.Object obj)
Sets properties value changing by 'on the fly formula' if canChangeByBL |
void |
setChangeByFmtt(java.lang.Object obj)
Sets properties value changing by 'conditional formatting' if canChangeByFmtt |
void |
setChangeByObject(java.lang.Object obj)
Sets properties value changing by 'another object' if canChangeByOther |
void |
setEditFlag(int flag)
Only For Designer UI.Sets the editor status |
void |
setEditorType(int type)
Only For Designer UI. |
void |
setObject(java.lang.Object value)
Sets normal value |
void |
setRuntimeChangeBy(java.lang.Object runtimeChgBy)
Sets runtime change by description. |
void |
setTransient(boolean tran)
Sets attribute for 'export to RST'. |
void |
setUnitValue(java.lang.String theval)
Sets the normal value via a String based on unit, |
java.lang.String |
toUnitString()
Returns the unit value as string, the unit value is (with priority)normal value > default value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jet.convert.PropInfo |
---|
toString |
Field Detail |
---|
public static int TEXT_EDITOR
public static int COMBO_EDITOR
public static int COLOR_EDITOR
public static int COMMAND_EDITOR
public static int CHOICE_EDITOR
public static int DBCOL_EDITOR
public static int PARAMCOL_EDITOR
public static int QUERY_EDITOR
public static int CHART_PATTERN_LIST_EDITOR
public static int LINK_EDITOR
public static int RECORDDB_EDITOR
public static int MULSEL_EDITOR
public static int CHART_FILTER_EDITOR
public static int CHART_FILTER_EDITOR_NO_DATE
public static int CHART_ICON_STYLE
public static int DATASOURCE_EDITOR
public static int SECURITY_EDITOR
public static int DETAIL_REPORT_EDITOR
public static int CONTROL_SELECT_ITEMS
public static final int EDIT_FORBIDDEN
public static final int EDIT_FORBIDDEN_INIT
public static final int EDITABLE_ALLTIME
public static final int INTERNAL
public static int CHART_TEXTSTYLE_EDITOR
public static int CHART_PENSTYLE_EDITOR
public static int CHART_FILLPATTERN_EDITOR
public static int CHART_BACKGROUND_EDITOR
Constructor Detail |
---|
public JetProperty()
public JetProperty(jet.controls.JetObject parent, java.lang.String name)
parent
- ownername
- nameMethod Detail |
---|
public java.lang.String getName()
getName
in interface jet.convert.PropInfo
public boolean isNull()
PropInfo
.
isNull
in interface jet.convert.PropInfo
public java.util.Vector getPropertyChoice()
public java.lang.Object getObject()
getObject
in interface jet.util.Propertiable
isChangeByOther()
public java.lang.Object getUnifiedObject()
getUnifiedObject
in interface jet.util.Propertiable
isChagneByFmtt()
,
isChangeByBL()
,
isChangeByOther()
public java.lang.Object getNormalObject()
getNormalObject
in interface jet.util.Propertiable
public void setObject(java.lang.Object value)
setObject
in interface jet.util.Propertiable
public java.lang.Object getValue()
getValue
in interface jet.convert.PropInfo
public void set(java.lang.String theval)
set
in interface jet.util.Propertiable
jet.exception.UnsupportedFunctionException
Object.toString()
public void setUnitValue(java.lang.String theval)
jet.exception.UnsupportedFunctionException
toUnitString()
public void setEditorType(int type)
type
- getEditorType()
public int getEditorType()
setEditorType(int)
public final void setChangeByObject(java.lang.Object obj)
setChangeByObject
in interface jet.util.Propertiable
obj
- 'another object''s description: it can be (normal-)formula-name, parameter-name and null
means clear 'change by'.canChangeByOther
,
setCanChangeByOthers(boolean)
,
enableAllChangeBys(boolean)
,
isChangeByOther()
,
getChangeByObject()
public final void setChangeByFmtt(java.lang.Object obj)
setChangeByFmtt
in interface jet.util.Propertiable
obj
- 'conditional formatting''s description and null
means clear.canChangeByFmtt
,
setCanChangeByFmtt(boolean)
,
enableAllChangeBys(boolean)
,
isChagneByFmtt()
,
getChangeByFmtt()
public final void setChangeByBL(java.lang.Object obj)
setChangeByBL
in interface jet.util.Propertiable
obj
- 'on the fly formula''s description and null
means clear.canChangeByBL
,
setCanChangeByBL(boolean)
,
enableAllChangeBys(boolean)
,
isChangeByBL()
,
getChangeByBL()
public final java.lang.Object getChangeByObject()
null
means no 'another object'.setChangeByObject(Object)
,
isChangeByOther()
public final java.lang.Object getChangeByFmtt()
getChangeByFmtt
in interface jet.util.Propertiable
null
means no 'conditional formatting'.setChangeByFmtt(Object)
,
isChagneByFmtt()
public final java.lang.Object getChangeByBL()
getChangeByBL
in interface jet.util.Propertiable
null
means no 'on the fly formula'.setChangeByBL(Object)
,
isChangeByBL()
public final java.lang.String getChangeByObjectName()
getChangeByObjectName
in interface jet.convert.PropInfo
getChangeByObject()
public final java.lang.String getChangeByFmttName()
getChangeByFmtt()
public final java.lang.String getChangeByBLName()
getChangeByBL()
public boolean isChangeByOther()
isChangeByOther
in interface jet.convert.PropInfo
isChangeByOther
in interface jet.util.Propertiable
setChangeByObject(Object)
public boolean isChagneByFmtt()
isChagneByFmtt
in interface jet.util.Propertiable
setChangeByFmtt(Object)
public boolean isChangeByBL()
isChangeByBL
in interface jet.util.Propertiable
setChangeByBL(Object)
public jet.controls.JetChangeBy getChangeBy()
getChangeByObject()
public void setCanChangeByOthers(boolean bSet)
canChangeByOther
,
canChangeByOthers()
,
enableAllChangeBys(boolean)
public void setCanChangeByFmtt(boolean bSet)
canChangeByFmtt
,
canChangeByFmtt()
,
enableAllChangeBys(boolean)
public void setCanChangeByBL(boolean bSet)
canChangeByBL
,
canChangeByBL()
,
enableAllChangeBys(boolean)
public void enableAllChangeBys(boolean bEnable)
bEnable
- canChangeByOther
,
canChangeByBL
,
canChangeByFmtt
,
setCanChangeByBL(boolean)
,
setCanChangeByFmtt(boolean)
,
setCanChangeByOthers(boolean)
,
canChangeByBL()
,
canChangeByFmtt()
,
canChangeByOthers()
public boolean canChangeByOthers()
canChangeByOther
,
setCanChangeByOthers(boolean)
,
enableAllChangeBys(boolean)
public boolean canChangeByFmtt()
canChangeByFmtt
,
setCanChangeByFmtt(boolean)
,
enableAllChangeBys(boolean)
public boolean canChangeByBL()
canChangeByBL
,
setCanChangeByBL(boolean)
,
enableAllChangeBys(boolean)
public java.lang.String saveFullChangeBy()
saveFullChangeBy
in interface jet.util.Propertiable
loadFullChangeBy(String)
public void loadFullChangeBy(java.lang.String changeBy)
loadFullChangeBy
in interface jet.util.Propertiable
changeBy
- it MUST FIT following regular-expression:saveFullChangeBy()
public void propertyChanged()
public java.lang.String toUnitString()
toUnitString
in interface jet.convert.PropInfo
Object.toString()
public java.lang.String getInspValue(int unit, int fraction)
getInspValue()
public java.lang.String getInspValue()
getInspValue
in interface jet.convert.PropInfo
public void setEditFlag(int flag)
flag
- one of EDIT_FORBIDDEN
, EDIT_FORBIDDEN_INIT
, EDITABLE_ALLTIME
and INTERNAL
public int getEditFlag()
EDIT_FORBIDDEN
, EDIT_FORBIDDEN_INIT
, EDITABLE_ALLTIME
and INTERNAL
public jet.controls.JetObject getParent()
public int getPropType()
getPropType
in interface jet.util.Propertiable
Propertiable
public int[] getMatchingSqlType()
Db
public void setTransient(boolean tran)
tran
- true means not export to rst.bTransient
,
isTransient()
public boolean isTransient()
bTransient
,
setTransient(boolean)
public java.lang.Object getRuntimeChangeBy()
getRuntimeChangeBy
in interface jet.util.Propertiable
setRuntimeChangeBy(Object)
,
isSetRuntimeChgBy()
public void setRuntimeChangeBy(java.lang.Object runtimeChgBy)
setRuntimeChangeBy
in interface jet.util.Propertiable
public boolean isSetRuntimeChgBy()
isSetRuntimeChgBy
in interface jet.util.Propertiable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |