|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.ui.DefaultDataViewConfig
public abstract class DefaultDataViewConfig
DefaultDataViewConfig: a defaults-based DataViewConfig abstract class
| Constructor Summary | |
|---|---|
DefaultDataViewConfig()
|
|
| Method Summary | |
|---|---|
void |
addMetadataName(String mdname)
|
DataView |
createDataView(String viewname)
Creates an instance of the DataView associated to this ViewConfig. |
String |
getControlClass(ControlName ui_name)
Gets the class name that represents the UI element identified by ui_name |
Map<String,Object> |
getControlDefaults()
Get the defaults of the fields, as specified in the View configuration. |
ControlName |
getControlName(FieldName field_name)
Gets the name that the given field_name would have in this User Interface. |
abstract Iterator<ControlName> |
getControlNames()
Gets the names of the UI entity fields associated to UI items. |
FieldName |
getFieldName(ControlName ui_name)
Gets the field name associated to the given User Interface object name. |
LocalLabels |
getLocalLabels()
Gets the localized labels for the current view locale. |
String |
getViewClass()
Gets the name of the DataView class associated to this ViewConfig. |
boolean |
isMetadataName(String name)
Checks whether the given name is one of the datasource metadata names associated to the view. |
String |
pickMetadataName()
|
void |
setDefaultUIClass(String classname)
|
void |
setLocalLabels(LocalLabels labels)
Sets the localized labels for the current view locale. |
void |
setViewClass(String classname)
Sets the name of the class used to produce the DataView |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDataViewConfig()
| Method Detail |
|---|
public ControlName getControlName(FieldName field_name)
DataViewConfigIf there are more than one, returns any of them. If there is none, should return null (some basic implementations may always return a valid control name).
getControlName in interface DataViewConfigfield_name - the (data) field name.
public FieldName getFieldName(ControlName ui_name)
DataViewConfig
getFieldName in interface DataViewConfigpublic void setDefaultUIClass(String classname)
public String getControlClass(ControlName ui_name)
DataViewConfig
getControlClass in interface DataViewConfigpublic void setViewClass(String classname)
DataViewConfig
setViewClass in interface DataViewConfigclassname - Name of the DataView-inherited class associated to this
ViewConfig.public String getViewClass()
DataViewConfig
getViewClass in interface DataViewConfig
public DataView createDataView(String viewname)
throws DataViewException
DataViewConfig
createDataView in interface DataViewConfigviewname - the name of the view.
DataViewExceptionpublic void setLocalLabels(LocalLabels labels)
DataViewConfig
setLocalLabels in interface DataViewConfiglabels - the local labels.public LocalLabels getLocalLabels()
DataViewConfig
getLocalLabels in interface DataViewConfigpublic Map<String,Object> getControlDefaults()
DataViewConfig
getControlDefaults in interface DataViewConfigpublic abstract Iterator<ControlName> getControlNames()
DataViewConfig
getControlNames in interface DataViewConfigpublic void addMetadataName(String mdname)
addMetadataName in interface DataViewConfigpublic boolean isMetadataName(String name)
DataViewConfig
isMetadataName in interface DataViewConfigpublic String pickMetadataName()
pickMetadataName in interface DataViewConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||