|
|||||||||
| 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, 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 | |
|---|---|
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()
Effective if isCurrentAutoValue() is false AND isChangeByBL() is true. |
java.lang.String |
getChangeByBLName()
Deprecated. |
short |
getChangeByBLType()
Effective if isCurrentAutoValue() is false AND isChangeByBL() is trueReturns the resource type of 'another object': Propertiable.NORMAL_RESOURCE(Catalog/Report Level resource) or Propertiable.COMPFML_RESOURCE(Component Level resource) |
java.lang.Object |
getChangeByFmtt()
Effective if isCurrentAutoValue() is false AND isChagneByFmtt() is true |
java.lang.String |
getChangeByFmttName()
Deprecated. |
java.lang.Object |
getChangeByObject()
Effective if isCurrentAutoValue() is false AND isChangeByOther() is true. |
java.lang.String |
getChangeByObjectName()
Deprecated. |
short |
getChangeByOtherType()
Effective if isCurrentAutoValue() is false AND isChangeByOther() is true Returns the resource type of 'another object': Propertiable.NORMAL_RESOURCE(Catalog/Report Level resource) or Propertiable.COMPFML_RESOURCE(Component Level resource) |
jet.icontrols.PropValueInfo |
getCurrentValue()
Note to developer0:Now, it only can be used in Property Edit Actions and simple value parser. |
jet.icontrols.PropValueInfo |
getCurrentValue(boolean isFmttContext)
Note to developer0:Now, it only can be used in Property Edit Actions and simple value parser. |
int |
getEditFlag()
Only for Designer UI. |
int |
getEditorType()
Only For Designer UI. |
java.lang.String |
getInspValue()
Effective if isCurrentAutoValue() is false. |
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 Effective if isCurrentAutoValue() is false |
java.lang.Object |
getObject()
According to the following priority return : 'another object' > normal value > default value Notice1: returned 'another object' is the description of 'changed by' Notice2: Effective if isCurrentAutoValue() is false |
jet.controls.JetObject |
getParent()
|
java.util.Vector<?> |
getPropertyChoice()
Only For Designer UI |
int |
getPropType()
|
java.lang.Object |
getRuntimeChangeBy()
|
java.lang.Object |
getUnifiedObject()
Effective if isCurrentAutoValue() is falseAccording 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()
Effective if isCurrentAutoValue() is false |
boolean |
isChagneByFmtt()
Effective if isCurrentAutoValue() is false |
boolean |
isChangeByBL()
Effective if isCurrentAutoValue() is false |
boolean |
isChangeByOther()
Effective if isCurrentAutoValue() is false |
boolean |
isCurrentAutoValue()
Returns current is Auto value flag or not; always return false if did not enable Auto value |
boolean |
isEnableAutoValue()
Returns is enable or disable Auto value, default return false |
boolean |
isNull()
Is set normal value? Notice: This function has disabled from V8. |
boolean |
isSetAnyChangeBy()
|
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. |
boolean |
setAsAutoValue(boolean b)
Sets current is Auto value or not; effective if isEnableAutoValue() is true Returns true if set, and false if any exception or Auto value is disabled now Notice: if sets not, muse set other value at same time |
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)
Deprecated. |
void |
setChangeByBL(java.lang.Object obj,
short chgByResType)
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)
Deprecated. |
void |
setChangeByObject(java.lang.Object obj,
short chgByResType)
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 |
setEnableAutoValue(boolean b)
Sets enable or disable Auto value |
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()
Effective if isCurrentAutoValue() is false; 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 - name| Method Detail |
|---|
public java.lang.String getName()
getName in interface jet.convert.PropInfopublic boolean isNull()
PropInfo.
isNull in interface jet.convert.PropInfopublic java.util.Vector<?> getPropertyChoice()
public java.lang.Object getObject()
isCurrentAutoValue() is false
getObject in interface jet.util.PropertiableisChangeByOther(),
isCurrentAutoValue()public java.lang.Object getUnifiedObject()
isCurrentAutoValue() is false
getUnifiedObject in interface jet.util.PropertiableisChagneByFmtt(),
isChangeByBL(),
isChangeByOther(),
isCurrentAutoValue()public java.lang.Object getNormalObject()
isCurrentAutoValue() is false
getNormalObject in interface jet.util.PropertiableisCurrentAutoValue()public void setObject(java.lang.Object value)
setObject in interface jet.util.Propertiablepublic java.lang.Object getValue()
isCurrentAutoValue() is false
getValue in interface jet.convert.PropInfoisCurrentAutoValue()public void set(java.lang.String theval)
set in interface jet.util.Propertiablejet.exception.UnsupportedFunctionExceptionObject.toString()public void setUnitValue(java.lang.String theval)
jet.exception.UnsupportedFunctionExceptiontoUnitString()public void setEditorType(int type)
type - getEditorType()public int getEditorType()
setEditorType(int)public final void setChangeByObject(java.lang.Object obj)
Propertiable.NORMAL_RESOURCE(Catalog/Report Level resource)
setChangeByObject in interface jet.util.PropertiablesetChangeByObject(Object, short)
public final void setChangeByObject(java.lang.Object obj,
short chgByResType)
setChangeByObject in interface jet.util.Propertiableobj - 'another object''s description: it can be formula-name, parameter-name and null means clear 'change by'.chgByResType - the resource type of 'another obejct', must be Propertiable.NORMAL_RESOURCE(Catalog/Report Level resource) or Propertiable.COMPFML_RESOURCE(Component Level resource)canChangeByOther,
setCanChangeByOthers(boolean),
enableAllChangeBys(boolean),
isChangeByOther(),
getChangeByObject(),
getChangeByOtherType()public final void setChangeByFmtt(java.lang.Object obj)
setChangeByFmtt in interface jet.util.Propertiableobj - 'conditional formatting''s description and null means clear.canChangeByFmtt,
setCanChangeByFmtt(boolean),
enableAllChangeBys(boolean),
isChagneByFmtt(),
getChangeByFmtt()public final void setChangeByBL(java.lang.Object obj)
Propertiable.NORMAL_RESOURCE(Catalog/Report Level resource)
setChangeByBL in interface jet.util.PropertiablesetChangeByBL(Object, short)
public final void setChangeByBL(java.lang.Object obj,
short chgByResType)
setChangeByBL in interface jet.util.Propertiableobj - 'on the fly formula''s description and null means clear.chgByResType - the resource type of 'on the fly formula', must be Propertiable.NORMAL_RESOURCE(Catalog/Report Level resource) or Propertiable.COMPFML_RESOURCE(Component Level resource)canChangeByBL,
setCanChangeByBL(boolean),
enableAllChangeBys(boolean),
isChangeByBL(),
getChangeByBL(),
getChangeByBLType()public final java.lang.Object getChangeByObject()
isCurrentAutoValue() is false AND isChangeByOther() is true. Must check getChangeByOtherType() before used return value
null means no 'another object'.setChangeByObject(Object, short),
isChangeByOther(),
isCurrentAutoValue(),
getChangeByOtherType()public final short getChangeByOtherType()
isCurrentAutoValue() is false AND isChangeByOther() is true Propertiable.NORMAL_RESOURCE(Catalog/Report Level resource) or Propertiable.COMPFML_RESOURCE(Component Level resource)
getChangeByOtherType in interface jet.util.PropertiablegetChangeByObject(),
setChangeByBL(Object, short),
isChangeByOther(),
isCurrentAutoValue()public final java.lang.Object getChangeByFmtt()
isCurrentAutoValue() is false AND isChagneByFmtt() is true
getChangeByFmtt in interface jet.util.Propertiablenull means no 'conditional formatting'.setChangeByFmtt(Object),
isChagneByFmtt(),
isCurrentAutoValue()public final java.lang.Object getChangeByBL()
isCurrentAutoValue() is false AND isChangeByBL() is true. Must check getChangeByBLType() before used return value
getChangeByBL in interface jet.util.Propertiablenull means no 'on the fly formula'.#setChangeByBL(Object,Short),
isChangeByBL(),
isCurrentAutoValue(),
getChangeByBLType()public final short getChangeByBLType()
isCurrentAutoValue() is false AND isChangeByBL() is truePropertiable.NORMAL_RESOURCE(Catalog/Report Level resource) or Propertiable.COMPFML_RESOURCE(Component Level resource)
getChangeByBLType in interface jet.util.PropertiablegetChangeByBL(),
setChangeByBL(Object, short),
isChangeByBL(),
isCurrentAutoValue()public final java.lang.String getChangeByObjectName()
getChangeByObjectName in interface jet.convert.PropInfogetChangeByObject()public final java.lang.String getChangeByFmttName()
getChangeByFmtt()public final java.lang.String getChangeByBLName()
getChangeByBL()public boolean isChangeByOther()
isCurrentAutoValue() is false
isChangeByOther in interface jet.convert.PropInfoisChangeByOther in interface jet.util.PropertiablesetChangeByObject(Object),
isCurrentAutoValue()public boolean isChagneByFmtt()
isCurrentAutoValue() is false
isChagneByFmtt in interface jet.util.PropertiablesetChangeByFmtt(Object),
isCurrentAutoValue()public boolean isChangeByBL()
isCurrentAutoValue() is false
isChangeByBL in interface jet.util.PropertiablesetChangeByBL(Object),
isEnableAutoValue()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.PropertiableloadFullChangeBy(String)public void loadFullChangeBy(java.lang.String changeBy)
loadFullChangeBy in interface jet.util.PropertiablechangeBy - it MUST FIT following regular-expression:saveFullChangeBy()public void propertyChanged()
public java.lang.String toUnitString()
isCurrentAutoValue() is false; returns the unit value as string, the unit value is (with priority)normal value > default value
toUnitString in interface jet.convert.PropInfoObject.toString(),
isCurrentAutoValue()
public java.lang.String getInspValue(int unit,
int fraction)
getInspValue()public java.lang.String getInspValue()
isCurrentAutoValue() is false. Only For Designer UI. In most cases, return string based on unit
getInspValue in interface jet.convert.PropInfoisCurrentAutoValue()public void setEditFlag(int flag)
flag - one of EDIT_FORBIDDEN , EDIT_FORBIDDEN_INIT , EDITABLE_ALLTIME and INTERNALpublic int getEditFlag()
EDIT_FORBIDDEN , EDIT_FORBIDDEN_INIT , EDITABLE_ALLTIME and INTERNALpublic jet.controls.JetObject getParent()
public int getPropType()
getPropType in interface jet.util.PropertiablePropertiablepublic int[] getMatchingSqlType()
Dbpublic void setTransient(boolean tran)
tran - true means not export to rst.bTransient,
isTransient()public boolean isTransient()
bTransient,
setTransient(boolean)public final boolean isCurrentAutoValue()
isCurrentAutoValue in interface jet.util.PropertiableisEnableAutoValue(),
setEnableAutoValue(boolean),
setAsAutoValue(boolean)public final boolean setAsAutoValue(boolean b)
isEnableAutoValue() is true
setAsAutoValue in interface jet.util.Propertiableb - true set as Auto value and false is not
isCurrentAutoValue(),
isEnableAutoValue(),
setEnableAutoValue(boolean)public boolean isEnableAutoValue()
setAsAutoValue(boolean),
isCurrentAutoValue(),
setEnableAutoValue(boolean)public final void setEnableAutoValue(boolean b)
b - true if enable Auto valueisCurrentAutoValue(),
setAsAutoValue(boolean),
isEnableAutoValue()public java.lang.Object getRuntimeChangeBy()
getRuntimeChangeBy in interface jet.util.PropertiablesetRuntimeChangeBy(Object),
isSetRuntimeChgBy()public void setRuntimeChangeBy(java.lang.Object runtimeChgBy)
setRuntimeChangeBy in interface jet.util.Propertiablepublic boolean isSetRuntimeChgBy()
isSetRuntimeChgBy in interface jet.util.Propertiablepublic boolean isSetAnyChangeBy()
public jet.icontrols.PropValueInfo getCurrentValue()
#getCurrentValue(boolean)}public jet.icontrols.PropValueInfo getCurrentValue(boolean isFmttContext)
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 | ||||||||