public abstract class JetProperty
extends java.lang.Object
#IGNORED
,#BOOLEAN
....(detail please refer to jet.util.Propertiable
)Modifier and Type | Field and Description |
---|---|
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
|
Constructor and Description |
---|
JetProperty() |
JetProperty(JetObject parent,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
In non-EXTERNAL(!EXTERNAL) macro.
Adds a listener to the list that's notified each time a change to the value status occurs. |
boolean |
addToAtomicAction(java.lang.String newValue)
In non-EXTERNAL(!EXTERNAL) macro.
Note to developer: No 'call hierarchy' found, but maybe can be found in other products |
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'
|
boolean |
checkValue(java.lang.String value,
java.awt.Component comp)
In non-EXTERNAL(!EXTERNAL) macro.
Note to developer: No 'call hierarchy' found, but maybe can be found in other products |
JetProperty |
copy() |
boolean |
curValueEqual(JetProperty p,
boolean chkAutoVal,
boolean chkChgByVal) |
void |
enableAllChangeBys(boolean bEnable)
Batch set can the property be changed by ChangeBy value
|
boolean |
equal(JetProperty str)
Deprecated.
In non-EXTERNAL(!EXTERNAL) macro.
Note to developer: No 'call hierarchy' found, but maybe can be found in other products |
JetChangeBy |
getChangeBy()
Deprecated.
|
JetChangeBy |
getChangeBy(int mode) |
java.lang.Object |
getChangeByBL()
Deprecated.
|
java.lang.Object |
getChangeByBL(int mode)
Effective if
isCurrentAutoValue() is false AND isChangeByBL() is true. |
java.lang.String |
getChangeByBLName()
Deprecated.
|
java.lang.String |
getChangeByBLName(int mode)
Deprecated.
|
short |
getChangeByBLType()
Deprecated.
|
short |
getChangeByBLType(int mode)
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()
Deprecated.
|
java.lang.Object |
getChangeByFmtt(int mode)
|
java.lang.String |
getChangeByFmttName()
Deprecated.
|
java.lang.String |
getChangeByFmttName(int mode)
Deprecated.
|
java.lang.Object |
getChangeByObject()
Deprecated.
|
java.lang.Object |
getChangeByObject(int mode)
Effective if
isCurrentAutoValue() is false AND isChangeByOther() is true. |
java.lang.String |
getChangeByObjectName()
Deprecated.
|
java.lang.String |
getChangeByObjectName(int mode)
Deprecated.
|
short |
getChangeByOtherType()
Deprecated.
|
short |
getChangeByOtherType(int mode)
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) |
java.lang.Object |
getCurrentChangedBy(boolean isIncludeRTChgBy)
Deprecated.
|
java.lang.Object |
getCurrentChangedBy(boolean isIncludeRTChgBy,
int mode) |
PropValueInfo |
getCurrentValue()
Deprecated.
|
PropValueInfo |
getCurrentValue(boolean isFmttContext)
Deprecated.
|
PropValueInfo |
getCurrentValue(boolean isFmttContext,
int mode)
Note to developer0:Now, it only can be used in Property Edit Actions and simple value parser.
|
PropValueInfo |
getCurrentValue(int mode)
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()
Deprecated.
|
java.lang.String |
getInspValue(int mode)
Effective if
isCurrentAutoValue() is false. |
java.lang.String |
getInspValue(int unit,
int fraction)
Deprecated.
|
int[] |
getMatchingSqlType()
Now, this API only for DesignService : get Matching SQL Type of this property
Usage in UI : list all the formula whose data-type in returned array |
JetProperty |
getModeProperty(int mode)
Gets the property by mode
Note: Can not get another mode property in the mode property.
|
java.lang.String |
getName() |
java.lang.Object |
getNormalObject()
Deprecated.
|
java.lang.Object |
getNormalObject(int mode)
According to the following priority return : normal value > default value
Effective if isCurrentAutoValue() is false |
java.lang.Object |
getObject()
Deprecated.
use
getObject(int) |
java.lang.Object |
getObject(int mode)
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 |
JetObject |
getParent() |
java.util.Vector<?> |
getPropertyChoice()
Only For Designer UI
|
int |
getPropType() |
java.lang.Object |
getRuntimeChangeBy()
Deprecated.
|
java.lang.Object |
getRuntimeChangeBy(int mode) |
java.lang.Object |
getUnifiedObject()
Deprecated.
|
java.lang.Object |
getUnifiedObject(int mode)
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()
Deprecated.
use
getValue(int) |
java.lang.Object |
getValue(int mode)
Effective if
isCurrentAutoValue() is false |
boolean |
isChagneByFmtt()
Deprecated.
|
boolean |
isChagneByFmtt(int mode)
Effective if
isCurrentAutoValue() is false |
boolean |
isChangeByBL()
Deprecated.
|
boolean |
isChangeByBL(int mode)
Effective if
isCurrentAutoValue() is false |
boolean |
isChangeByOther()
Deprecated.
|
boolean |
isChangeByOther(int mode)
Effective if
isCurrentAutoValue() is false |
boolean |
isCurrentAutoValue()
Deprecated.
|
boolean |
isCurrentAutoValue(int mode)
Returns current is Auto value flag or not; always return false if did not enable Auto value
|
boolean |
isCurrentChangedBy(boolean isIncludeRTChgBy)
Deprecated.
|
boolean |
isCurrentChangedBy(boolean isIncludeRTChgBy,
int mode) |
boolean |
isEnableAutoValue()
Returns is enable or disable Auto value, default return false
|
boolean |
isModeProperty()
Indicates whether the property is a mode referred property
|
boolean |
isNull()
Deprecated.
use
isNull(int) |
boolean |
isNull(int mode)
Is set normal value?
Notice: This function has disabled from V8. |
boolean |
isSetAnyChangeBy()
return true if ChangeBy Value: conditional formatting or ChangeBy Value: on the fly formula or ChangeBy Value: another object is set
|
boolean |
isSetRuntimeChgBy()
Deprecated.
|
boolean |
isSetRuntimeChgBy(int mode) |
boolean |
isSupportMode() |
boolean |
isTransient()
Gets attribute for 'export to RST'.
|
boolean |
isUnavailable() |
void |
loadFullChangeBy(java.lang.String changeBy)
ONLY FOR LOAD CHANGE BY STRING
|
void |
loadFullChangeBy(java.lang.String changeBy,
int mode) |
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 |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
In non-EXTERNAL(!EXTERNAL) macro.
Removes a listener from the list that's notified each time a change to the value status occurs. |
java.lang.String |
saveFullChangeBy()
ONLY FOR SAVE CHANGE BY AS STRING
Notice: Can called ONLY this property has ChangeBy value |
java.lang.String |
saveFullChangeBy(int mode) |
void |
set(java.lang.String theval)
Deprecated.
use
#setObject(String, int) |
void |
set(java.lang.String theval,
int mode)
sets the normal value via a String.
|
boolean |
setAsAutoValue(boolean b)
Deprecated.
Use
#setAsAutoValue(int) |
boolean |
setAsAutoValue(boolean b,
int mode)
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,
int mode)
Deprecated.
|
void |
setChangeByBL(java.lang.Object obj,
short chgByResType)
Deprecated.
|
void |
setChangeByBL(java.lang.Object obj,
short chgByResType,
int mode)
Sets properties value changing by 'on the fly formula' if canChangeByBL
|
void |
setChangeByFmtt(java.lang.Object obj)
Deprecated.
|
void |
setChangeByFmtt(java.lang.Object obj,
int mode)
Sets properties value changing by 'conditional formatting' if canChangeByFmtt
|
void |
setChangeByObject(java.lang.Object obj)
Deprecated.
|
void |
setChangeByObject(java.lang.Object obj,
int mode)
Deprecated.
|
void |
setChangeByObject(java.lang.Object obj,
short chgByResType)
Deprecated.
|
void |
setChangeByObject(java.lang.Object obj,
short chgByResType,
int mode)
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)
Deprecated.
|
void |
setObject(java.lang.Object value,
int mode)
Sets normal value
|
void |
setRuntimeChangeBy(java.lang.Object runtimeChgBy)
Deprecated.
|
void |
setRuntimeChangeBy(java.lang.Object runtimeChgBy,
int mode)
Sets runtime change by description.
|
void |
setSupportMode(boolean isSupportMode) |
void |
setTransient(boolean tran)
Sets attribute for 'export to RST'.
|
void |
setUnavailable(boolean unavailable) |
void |
setUnitValue(java.lang.String theval) |
void |
setUnitValue(java.lang.String theval,
int mode)
Sets the normal value via a String based on unit,
|
java.lang.String |
toUnitString()
Deprecated.
|
java.lang.String |
toUnitString(int mode)
Effective if
isCurrentAutoValue() is false; returns the unit value as string, the unit value is (with priority)normal value > default value |
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
public JetProperty()
public JetProperty(JetObject parent, java.lang.String name)
parent
- ownername
- namepublic boolean isSupportMode()
public void setSupportMode(boolean isSupportMode)
public final void setUnavailable(boolean unavailable)
public final boolean isUnavailable()
public java.lang.String getName()
public boolean isNull(int mode)
jet.convert.PropInfo
.@Deprecated public boolean isNull()
isNull(int)
public java.util.Vector<?> getPropertyChoice()
public java.lang.Object getObject(int mode)
isCurrentAutoValue()
is falseisChangeByOther()
,
isCurrentAutoValue()
@Deprecated public java.lang.Object getObject()
getObject(int)
public java.lang.Object getUnifiedObject(int mode)
isCurrentAutoValue()
is falseisChagneByFmtt()
,
isChangeByBL()
,
isChangeByOther()
,
isCurrentAutoValue()
@Deprecated public java.lang.Object getUnifiedObject()
getUnifiedObject(int)
public java.lang.Object getNormalObject(int mode)
isCurrentAutoValue()
is falseisCurrentAutoValue()
@Deprecated public java.lang.Object getNormalObject()
getNormalObject(int)
public void setObject(java.lang.Object value, int mode)
@Deprecated public void setObject(java.lang.Object value)
setObject(Object, int)
public java.lang.Object getValue(int mode)
isCurrentAutoValue()
is falseisCurrentAutoValue()
@Deprecated public java.lang.Object getValue()
getValue(int)
public void set(java.lang.String theval, int mode)
If the subclass supports mode type, need to copy this method
public void set(java.lang.String theval)
#setObject(String, int)
public void setUnitValue(java.lang.String theval, int mode)
jet.exception.UnsupportedFunctionException
toUnitString()
public void setUnitValue(java.lang.String theval)
public void setEditorType(int type)
type
- getEditorType()
public int getEditorType()
setEditorType(int)
public final void setChangeByObject(java.lang.Object obj, int mode)
Propertiable#NORMAL_RESOURCE
(Catalog/Report Level resource) setChangeByObject(Object, short)
@Deprecated public final void setChangeByObject(java.lang.Object obj)
setChangeByObject(Object, int)
public final void setChangeByObject(java.lang.Object obj, short chgByResType, int mode)
obj
- '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 #COMPFML_RESOURCE
(Component Level resource)canChangeByOther
,
setCanChangeByOthers(boolean)
,
enableAllChangeBys(boolean)
,
isChangeByOther()
,
getChangeByObject()
,
getChangeByOtherType()
@Deprecated public final void setChangeByObject(java.lang.Object obj, short chgByResType)
setChangeByObject(Object, short, int)
public final void setChangeByFmtt(java.lang.Object obj, int mode)
obj
- 'conditional formatting''s description and null
means clear.canChangeByFmtt
,
setCanChangeByFmtt(boolean)
,
enableAllChangeBys(boolean)
,
isChagneByFmtt()
,
getChangeByFmtt()
@Deprecated public final void setChangeByFmtt(java.lang.Object obj)
setChangeByFmtt(Object, int)
public final void setChangeByBL(java.lang.Object obj, int mode)
Propertiable#NORMAL_RESOURCE
(Catalog/Report Level resource) setChangeByBL(Object, short)
@Deprecated public final void setChangeByBL(java.lang.Object obj)
setChangeByBL(Object, int)
public final void setChangeByBL(java.lang.Object obj, short chgByResType, int mode)
obj
- '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()
@Deprecated public final void setChangeByBL(java.lang.Object obj, short chgByResType)
setChangeByBL(Object, short, int)
public final java.lang.Object getChangeByObject(int mode)
isCurrentAutoValue()
is false AND isChangeByOther()
is true. Must check getChangeByOtherType()
before used return valuenull
means no 'another object'.setChangeByObject(Object, short)
,
isChangeByOther()
,
isCurrentAutoValue()
,
getChangeByOtherType()
@Deprecated public final java.lang.Object getChangeByObject()
getChangeByObject(int)
public final short getChangeByOtherType(int mode)
isCurrentAutoValue()
is false AND isChangeByOther()
is true Propertiable#NORMAL_RESOURCE
(Catalog/Report Level resource) or Propertiable#COMPFML_RESOURCE
(Component Level resource)getChangeByObject()
,
setChangeByBL(Object, short)
,
isChangeByOther()
,
isCurrentAutoValue()
@Deprecated public final short getChangeByOtherType()
getChangeByOtherType(int)
public final java.lang.Object getChangeByFmtt(int mode)
null
means no 'conditional formatting'.setChangeByFmtt(Object)
,
isChagneByFmtt()
,
isCurrentAutoValue()
@Deprecated public final java.lang.Object getChangeByFmtt()
getChangeByFmtt(int)
public final java.lang.Object getChangeByBL(int mode)
isCurrentAutoValue()
is false AND isChangeByBL()
is true. Must check getChangeByBLType()
before used return valuenull
means no 'on the fly formula'.#setChangeByBL(Object,Short)
,
isChangeByBL()
,
isCurrentAutoValue()
,
getChangeByBLType()
public final java.lang.Object getChangeByBL()
getChangeByBL(int)
public final short getChangeByBLType(int mode)
isCurrentAutoValue()
is false AND isChangeByBL()
is truePropertiable#NORMAL_RESOURCE
(Catalog/Report Level resource) or Propertiable#COMPFML_RESOURCE
(Component Level resource)getChangeByBL()
,
setChangeByBL(Object, short)
,
isChangeByBL()
,
isCurrentAutoValue()
public final short getChangeByBLType()
getChangeByBLType(int)
public final java.lang.String getChangeByObjectName(int mode)
getChangeByObject(int)
@Deprecated public final java.lang.String getChangeByObjectName()
getChangeByObjectName(int)
getChangeByObject(int)
public final java.lang.String getChangeByFmttName(int mode)
getChangeByFmtt(int)
@Deprecated public final java.lang.String getChangeByFmttName()
getChangeByFmttName(int)
getChangeByFmtt(int)
public final java.lang.String getChangeByBLName(int mode)
getChangeByBL()
@Deprecated public final java.lang.String getChangeByBLName()
getChangeByBLName(int)
getChangeByBL(int)
public boolean isChangeByOther(int mode)
isCurrentAutoValue()
is falsesetChangeByObject(Object)
,
isCurrentAutoValue()
@Deprecated public boolean isChangeByOther()
isChangeByOther(int)
public boolean isChagneByFmtt(int mode)
isCurrentAutoValue()
is falsesetChangeByFmtt(Object)
,
isCurrentAutoValue()
@Deprecated public boolean isChagneByFmtt()
isChagneByFmtt(int)
public boolean isChangeByBL(int mode)
isCurrentAutoValue()
is falsesetChangeByBL(Object)
,
isEnableAutoValue()
@Deprecated public boolean isChangeByBL()
isChangeByBL(int)
public JetChangeBy getChangeBy()
getChangeByObject()
public JetChangeBy getChangeBy(int mode)
public void setCanChangeByOthers(boolean bSet)
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()
loadFullChangeBy(String)
public java.lang.String saveFullChangeBy(int mode)
public void loadFullChangeBy(java.lang.String changeBy)
changeBy
- it MUST FIT following regular-expression:saveFullChangeBy()
public void loadFullChangeBy(java.lang.String changeBy, int mode)
public void propertyChanged()
public final void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l
- the PropertyChangeListenerpublic final void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l
- the PropertyChangeListenerpublic boolean addToAtomicAction(java.lang.String newValue)
public java.lang.String toUnitString(int mode)
isCurrentAutoValue()
is false; returns the unit value as string, the unit value is (with priority)normal value > default valueObject.toString()
,
isCurrentAutoValue()
@Deprecated public java.lang.String toUnitString()
toUnitString(int)
public java.lang.String getInspValue(int unit, int fraction)
getInspValue()
public java.lang.String getInspValue(int mode)
isCurrentAutoValue()
is false. Only For Designer UI. In most cases, return string based on unitisCurrentAutoValue()
@Deprecated public java.lang.String getInspValue()
getInspValue(int)
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 JetObject getParent()
public int getPropType()
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 final boolean isCurrentAutoValue(int mode)
@Deprecated public final boolean isCurrentAutoValue()
isCurrentAutoValue(int)
public final boolean setAsAutoValue(boolean b, int mode)
isEnableAutoValue()
is true b
- true set as Auto value and false is notisCurrentAutoValue()
,
isEnableAutoValue()
,
setEnableAutoValue(boolean)
@Deprecated public final boolean setAsAutoValue(boolean b)
#setAsAutoValue(int)
public boolean isEnableAutoValue()
public final void setEnableAutoValue(boolean b)
b
- true if enable Auto valueisCurrentAutoValue()
,
setAsAutoValue(boolean)
,
isEnableAutoValue()
public java.lang.Object getRuntimeChangeBy(int mode)
@Deprecated public java.lang.Object getRuntimeChangeBy()
getRuntimeChangeBy(int)
public void setRuntimeChangeBy(java.lang.Object runtimeChgBy, int mode)
@Deprecated public void setRuntimeChangeBy(java.lang.Object runtimeChgBy)
setRuntimeChangeBy(Object, int)
public boolean isSetRuntimeChgBy(int mode)
@Deprecated public boolean isSetRuntimeChgBy()
isSetRuntimeChgBy(int)
public boolean checkValue(java.lang.String value, java.awt.Component comp)
public boolean equal(JetProperty str)
public boolean curValueEqual(JetProperty p, boolean chkAutoVal, boolean chkChgByVal)
public boolean isSetAnyChangeBy()
public boolean isCurrentChangedBy(boolean isIncludeRTChgBy, int mode)
@Deprecated public boolean isCurrentChangedBy(boolean isIncludeRTChgBy)
isCurrentChangedBy(boolean, int)
public java.lang.Object getCurrentChangedBy(boolean isIncludeRTChgBy, int mode)
public java.lang.Object getCurrentChangedBy(boolean isIncludeRTChgBy)
getCurrentChangedBy(boolean, int)
public PropValueInfo getCurrentValue(int mode)
#getCurrentValue(boolean)}
public PropValueInfo getCurrentValue()
getCurrentValue(int)
public PropValueInfo getCurrentValue(boolean isFmttContext, int mode)
isFmttContext
- is 'conditional formatting' used context? if false, will not return 'conditional formatting' settings.public PropValueInfo getCurrentValue(boolean isFmttContext)
getCurrentValue(boolean, int)
public boolean isModeProperty()
public JetProperty getModeProperty(int mode)
mode
- MODE_UNKNOWN,MODE_PAGE,MODE_WEBjet.exception.UnsupportedFunctionException
public JetProperty copy()
jet.exception.UnsupportedFunctionException