jet.controls
Class JetString

java.lang.Object
  extended by jet.controls.JetProperty
      extended by jet.controls.JetString
Direct Known Subclasses:
JetImgProperty, JetStringList

public class JetString
extends JetProperty

Color property, for saving/retriving a String value. If the value is null, means transparent.


Field Summary
 
Fields inherited from class jet.controls.JetProperty
CHART_BACKGROUND_EDITOR, CHART_FILLPATTERN_EDITOR, CHART_FILTER_EDITOR, CHART_FILTER_EDITOR_NO_DATE, CHART_ICON_STYLE, CHART_PATTERN_LIST_EDITOR, CHART_PENSTYLE_EDITOR, CHART_TEXTSTYLE_EDITOR, CHOICE_EDITOR, COLOR_EDITOR, COMBO_EDITOR, COMMAND_EDITOR, CONTROL_SELECT_ITEMS, DATASOURCE_EDITOR, DBCOL_EDITOR, DETAIL_REPORT_EDITOR, EDIT_FORBIDDEN, EDIT_FORBIDDEN_INIT, EDITABLE_ALLTIME, INTERNAL, LINK_EDITOR, MULSEL_EDITOR, PARAMCOL_EDITOR, QUERY_EDITOR, RECORDDB_EDITOR, SECURITY_EDITOR, TEXT_EDITOR
 
Constructor Summary
JetString()
           
JetString(JetObject parent, java.lang.String name)
          Constructor.
JetString(JetObject parent, java.lang.String name, java.lang.String defval)
          Constructor.
 
Method Summary
 java.lang.String get()
          Returns the value of this string.
 int[] getMatchingSqlType()
          Get Matching SQL Type of this property
 java.util.Vector getPropertyChoice()
           
 void set(DbValue thevalue)
          Sets the value to this property via a DbValue.
 void set(java.lang.String value)
          Sets the value to this property via a String.
 void setPropertyChoice(java.util.Vector propertyChoice)
           
 java.lang.String toString()
          Returns the value as a String.
 
Methods inherited from class jet.controls.JetProperty
canChangeByBL, canChangeByFmtt, canChangeByOthers, getChangeBy, getChangeByBL, getChangeByBLName, getChangeByFmtt, getChangeByFmttName, getChangeByObject, getChangeByObjectName, getEditFlag, getEditorType, getInspValue, getInspValue, getName, getNormalObject, getObject, getParent, getPropType, getUnifiedObject, getValue, isChagneByFmtt, isChangeByBL, isChangeByOther, isNull, isTransient, loadFullChangeBy, propertyChanged, saveFullChangeBy, setCanChangeByBL, setCanChangeByFmtt, setCanChangeByOthers, setChangeByBL, setChangeByFmtt, setChangeByObject, setEditFlag, setEditorType, setObject, setTransient, setUnitValue, toUnitString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JetString

public JetString()

JetString

public JetString(JetObject parent,
                 java.lang.String name)
Constructor.

Parameters:
parent - the owner of the property.
name - the property name

JetString

public JetString(JetObject parent,
                 java.lang.String name,
                 java.lang.String defval)
Constructor.

Parameters:
parent - the owner of the property.
name - the property name
thedef - the default value.
Method Detail

set

public void set(java.lang.String value)
Sets the value to this property via a String.

Overrides:
set in class JetProperty
Parameters:
value - the String value

set

public void set(DbValue thevalue)
Sets the value to this property via a DbValue.

Parameters:
value - the DbValue value

get

public java.lang.String get()
Returns the value of this string.

See Also:
setValue(java.lang.String), set(java.lang.String)

toString

public java.lang.String toString()
Returns the value as a String.

Overrides:
toString in class java.lang.Object

getMatchingSqlType

public int[] getMatchingSqlType()
Description copied from class: JetProperty
Get Matching SQL Type of this property

Overrides:
getMatchingSqlType in class JetProperty
Returns:
SQL_OTHER means can not changed by other object.

getPropertyChoice

public java.util.Vector getPropertyChoice()
Overrides:
getPropertyChoice in class JetProperty

setPropertyChoice

public void setPropertyChoice(java.util.Vector propertyChoice)