|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.ui.TextControl
public class TextControl
| Constructor Summary | |
|---|---|
TextControl(ControlName id)
|
|
| Method Summary | |
|---|---|
ControlName |
getControlName()
Returns the ID of this entity at User Interface. |
FieldName |
getFieldname()
Returns the name of the database field associated to this entity. |
Object |
getFormat()
Gets the format that applies to this UI element. |
String[] |
getStringValues()
|
Object |
getValue()
Gets the Object value of the field. |
void |
init(DataField de)
Initializes the value of the field. |
void |
mapDataToUI(DataField de,
Dataset ds,
Map<String,Object> m)
|
void |
setControlName(ControlName id)
|
void |
setFieldname(FieldName name)
Sets the name of the data field associated to this UI field. |
void |
setFormat(Object fmt)
Sets the formatting object for this UI element. |
void |
setValue(Object o)
Sets the value of the field. |
void |
setValue(String s)
|
void |
setValue(String[] sa)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextControl(ControlName id)
| Method Detail |
|---|
public Object getValue()
DataValue
getValue in interface DataValuepublic String[] getStringValues()
public void init(DataField de)
throws DataFieldException
DataControl
init in interface DataControlDataFieldExceptionpublic ControlName getControlName()
DataControl
getControlName in interface DataControlpublic void setControlName(ControlName id)
public FieldName getFieldname()
DataControl
getFieldname in interface DataControlpublic void setFieldname(FieldName name)
DataControl
setFieldname in interface DataControl
public void setValue(String[] sa)
throws DataFieldException
DataFieldException
public void setValue(String s)
throws DataFieldException
DataFieldException
public void setValue(Object o)
throws DataFieldException
DataValueMust NOT perform any data validation (only UI-level validation).
setValue in interface DataValueo - the value to be given to field.
DataFieldExceptionpublic void setFormat(Object fmt)
DataControlIt is allowed to thow an UnsupportedOperationException if the UI Control does not support formatting.
setFormat in interface DataControlfmt - the Formatting objectpublic Object getFormat()
DataControl
getFormat in interface DataControl
public void mapDataToUI(DataField de,
Dataset ds,
Map<String,Object> m)
throws DatasetException
mapDataToUI in interface DataControlDatasetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||