|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.controls.JetProperty jet.controls.JetString
public class JetString
JetString, for saving/retrieving a String.
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 | |
---|---|
JetString()
|
|
JetString(jet.controls.JetObject parent,
java.lang.String name)
Create a JetString instance with default valueand normal value are empty-string. |
|
JetString(jet.controls.JetObject parent,
java.lang.String name,
java.lang.String defval)
Create a JetString instance with specified value. |
Method Summary | |
---|---|
java.lang.String |
get()
Effective if JetProperty.isCurrentAutoValue() is false, according to the following priority return : normal value > default value |
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.util.Vector |
getPropertyChoice()
Only For Designer UI |
void |
set(DbValue thevalue)
Sets normal value via String.ValueOf(thevalue). |
void |
set(java.lang.String value)
Sets normal value via a String. |
void |
setPropertyChoice(java.util.Vector propertyChoice)
set property choice |
java.lang.String |
toString()
Effective if JetProperty.isCurrentAutoValue() is false,according to the following priority return : normal value > default value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jet.convert.PropInfo |
---|
getChangeByObjectName, getInspValue, getName, getValue, isChangeByOther, isNull, toUnitString |
Constructor Detail |
---|
public JetString()
public JetString(jet.controls.JetObject parent, java.lang.String name)
parent
- ownername
- namepublic JetString(jet.controls.JetObject parent, java.lang.String name, java.lang.String defval)
parent
- ownername
- namedefval
- value set to default value and normal valueMethod Detail |
---|
public void set(java.lang.String value)
set
in interface jet.util.Propertiable
set
in class JetProperty
value
- the String value, null
means default valuesetValue(String)
,
toString()
,
get()
public void set(DbValue thevalue)
thevalue
- the DbValue value, null
means default valuesetValue(DbValue)
,
toString()
,
get()
public java.lang.String get()
JetProperty.isCurrentAutoValue()
is false, according to the following priority return : normal value > default value
get
in interface jet.convert.StringInfo
set(String)
,
set(DbValue)
,
toString()
,
JetProperty.isCurrentAutoValue()
public java.lang.String toString()
JetProperty.isCurrentAutoValue()
is false,according to the following priority return : normal value > default value
toString
in interface jet.convert.PropInfo
toString
in class java.lang.Object
set(String)
,
set(DbValue)
,
JetProperty.isCurrentAutoValue()
,
get()
public int[] getMatchingSqlType()
JetProperty
getMatchingSqlType
in class JetProperty
Db
public java.util.Vector getPropertyChoice()
JetProperty
getPropertyChoice
in class JetProperty
public void setPropertyChoice(java.util.Vector propertyChoice)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |