|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.base.DataElement | +--com.ibm.dse.appl.ej.base.ConverterDefinition | +--com.ibm.dse.appl.ej.base.FloatConverterDefinition
FloatConverterDefintion is the class for all elements that externally define CBTF FloatConverters components as DataElements. The value of these definitions is an instance of the com.ibm.dse.gui.FloatConverter class.
Field Summary | |
protected int |
decimals
|
protected java.lang.String |
DECIMALS
|
protected java.lang.String |
decSep
|
protected java.lang.String |
DECSEP
|
protected static int |
DEFAULT_DECIMALS
|
protected static java.lang.String |
DEFAULT_DECSEP
|
protected static java.lang.String |
DEFAULT_ERROR
|
protected static boolean |
DEFAULT_ISCONVERTIBLE
|
protected static java.lang.String |
DEFAULT_SEPARATOR
|
protected java.lang.String |
ERROR
|
protected java.lang.String |
errorMessage
|
protected java.lang.String |
FALSE
|
protected boolean |
isConvertible
|
protected java.lang.String |
ISCONVERTIBLE
|
protected java.lang.String |
separator
|
protected java.lang.String |
SEPARATOR
|
protected java.lang.String |
TRUE
|
Fields inherited from class com.ibm.dse.appl.ej.base.ConverterDefinition |
value |
Fields inherited from class com.ibm.dse.base.DataElement |
description,
name,
state |
Constructor Summary | |
FloatConverterDefinition()
This constructor creates a FloatConverterDefintion object. |
Method Summary | |
java.lang.Object |
clone()
Required because of superclass. |
int |
getDecimals()
Returns the value of the decimals property. |
java.lang.String |
getDecimalSeparator()
Returns the value of the decimalSeparator property. |
java.lang.String |
getErrorMessage()
Returns the value of the errorMessage property. |
java.lang.String |
getSeparator()
Returns the value of the separator property. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes a FloatConverterDefinition object with the aTag attributes. |
boolean |
isIsConvertible()
Returns the value of the isConvertible property. |
void |
setDecimals(int newDecimals)
Sets the value of the decimals property. |
void |
setDecimalSeparator(java.lang.String newDecimalSeparator)
Sets the value of the decimalSeparator property. |
void |
setErrorMessage(java.lang.String newErrorMessage)
Sets the value of the errorMessage property. |
void |
setIsConvertible(boolean newIsConvertible)
Sets the value of the isConvertible property. |
void |
setSeparator(java.lang.String newSeparator)
Sets the value of the separator property. |
void |
setValue(java.lang.Object newValue)
If newValue is an instance of FloatConverter, sets the value of the value property. |
java.lang.String |
toString()
Returns an SGML representation of this FloatConverterDefinition Object. |
java.lang.Object |
validate(java.lang.Object anObject)
Required by the superclass |
Methods inherited from class com.ibm.dse.appl.ej.base.ConverterDefinition |
getValue,
nestedElements,
nestedElements,
nestedFields |
Methods inherited from class com.ibm.dse.base.DataElement |
externalizer,
getDescription,
getDescriptor,
getElementAt,
getErrorInfo,
getExternalizer,
getKey,
getName,
getState,
getTagName,
readExternal,
readExternal,
readObject,
removeElementAt,
removeExternal,
setDescription,
setDescriptor,
setErrorInfo,
setExternalizer,
setName,
setState,
toStrings,
toTags,
writeExternal,
writeExternal |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.lang.String errorMessage
protected java.lang.String decSep
protected int decimals
protected java.lang.String separator
protected boolean isConvertible
protected final java.lang.String ERROR
protected final java.lang.String DECSEP
protected final java.lang.String DECIMALS
protected final java.lang.String SEPARATOR
protected final java.lang.String ISCONVERTIBLE
protected final java.lang.String TRUE
protected final java.lang.String FALSE
protected static final java.lang.String DEFAULT_ERROR
protected static final java.lang.String DEFAULT_DECSEP
protected static final int DEFAULT_DECIMALS
protected static final java.lang.String DEFAULT_SEPARATOR
protected static final boolean DEFAULT_ISCONVERTIBLE
Constructor Detail |
public FloatConverterDefinition()
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public int getDecimals()
public java.lang.String getDecimalSeparator()
public java.lang.String getErrorMessage()
public java.lang.String getSeparator()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException
aTag
- com.ibm.dse.base.Tag Contains the name and attributes of the object to be created.public boolean isIsConvertible()
public void setDecimals(int newDecimals)
newDecimals
- int The new value of the property.public void setDecimalSeparator(java.lang.String newDecimalSeparator)
newDecimalSeparator
- java.lang.String The new value of the property.public void setErrorMessage(java.lang.String newErrorMessage)
newErrorMessage
- java.lang.String The new value of the property.public void setIsConvertible(boolean newIsConvertible)
newIsConvertible
- boolean The new value of the property.public void setSeparator(java.lang.String newSeparator)
newSeparator
- java.lang.String The new value of the property.public void setValue(java.lang.Object newValue) throws DSEInvalidArgumentException
newValue
- java.lang.Object The new value of the property.public java.lang.String toString()
public java.lang.Object validate(java.lang.Object anObject) throws DSETypeException
anObject
- java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |