|
SL-GMS Enterprise RTView Customization | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.sl.gmsjrtview.GmsRtViewDataObject
com.sl.gmsjrtviewds.GmsRtViewDsOptions
public class GmsRtViewDsOptions
The GmsRtViewDsOptions class contains information which controls or modifies the behavior of a datasource.
To customize this class for a given application, add named fields to the Exemplar to hold the information needed. DsOptions objects, with their custom fields, are edited via the Application Options dialog.
| Field Summary |
|---|
| Fields inherited from class com.sl.gmsjrtview.GmsRtViewDataObject |
|---|
name |
| Constructor Summary | |
|---|---|
GmsRtViewDsOptions(GmsRtViewDs owner)
Create a ds options object with the specified parameters. |
|
| Method Summary | |
|---|---|
boolean |
addField(java.lang.String name)
Add a new field to the object. |
boolean |
addField(java.lang.String name,
java.lang.String dialogFieldType)
Add a new field to the object and specifies the user interface element that will be used to represent the field in a dialog. |
boolean |
addScrambledField(java.lang.String name)
Add a new scrambled field to the object. |
boolean |
addScrambledField(java.lang.String name,
java.lang.String dialogFieldType)
Add a new scrambled field to the object and specifies the user interface element that will be used to represent the field in a dialog. |
protected static java.util.LinkedHashMap |
copyFieldAttrs(java.util.LinkedHashMap exemplarFieldAttrs)
Copy field attrs |
boolean |
equals(java.lang.Object o)
Compares this DsOptions object to the specified object. |
java.lang.String |
getDataField(java.lang.String fieldName)
Return a String containing the value of the named field. |
java.util.List |
getFieldChoices(java.lang.String fieldName)
Return a List of possible values for the named field when displayed in a dialog. |
java.util.List |
getFieldNames()
Return a List containing the names of all defined fields. |
java.lang.String |
getFieldSubstitutionValue(java.lang.String fieldName)
Return the value of the named field with available substitutions applied. |
DialogFieldState |
getFieldUIState(java.lang.String fieldName)
Return a DialogFieldState value representing the user interface state of the named field when displayed in a dialog. |
DataFieldValidity |
getFieldValidity(java.lang.String fieldName)
Return a DataFieldValidity value representing the validity of the value in the named field. |
java.lang.String |
getFieldValue(java.lang.String fieldName)
Return a String containing the value of the named field. |
int |
hashCode()
Returns a hash code for this DsOptions object. |
boolean |
isScrambledField(java.lang.String name)
Test if the named field a scrambled field. |
void |
setFieldChoices(java.lang.String fieldName,
java.util.Set choices)
Set the possible values for the named field when displayed in a dialog. |
void |
setFieldUIState(java.lang.String fieldName,
DialogFieldState state)
Set the user interface state of the named field when displayed in a dialog. |
void |
setFieldValidity(java.lang.String fieldName,
DataFieldValidity validity)
Set the validity of the value in the named field. |
boolean |
setFieldValue(java.lang.String fieldName,
java.lang.String fieldValue)
Set the value of the named field. |
void |
setUpdatePeriod(int updatePeriod)
Set the update period (in seconds). |
| Methods inherited from class com.sl.gmsjrtview.GmsRtViewDataObject |
|---|
addListener, applyDataToListener, applyDataToListeners, getColumnNames, getColumnNames, getData, getDataField, getListeners, getName, getVarNames, isEmpty, removeListener, removeListener, toString, updateDataField |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GmsRtViewDsOptions(GmsRtViewDs owner)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to compare this DsOptions object against.
public int hashCode()
hashCode in class java.lang.Object
public boolean setFieldValue(java.lang.String fieldName,
java.lang.String fieldValue)
fieldName - the name of the fieldfieldValue - the value of the field
public void setUpdatePeriod(int updatePeriod)
updatePeriod - public boolean addField(java.lang.String name)
name - the name of the field
public boolean addField(java.lang.String name,
java.lang.String dialogFieldType)
name - the name of the field.dialogFieldType - how the field will be displayed in a dialog.
public boolean addScrambledField(java.lang.String name)
name - The name of the field to add.
public boolean addScrambledField(java.lang.String name,
java.lang.String dialogFieldType)
name - The name of the fielddialogFieldType - how the field will be displayed in a dialog.
protected static java.util.LinkedHashMap copyFieldAttrs(java.util.LinkedHashMap exemplarFieldAttrs)
exemplarFieldAttrs -
public java.lang.String getDataField(java.lang.String fieldName)
getDataField in interface com.sl.gmsjrt.GmsDataObjectTypegetDataField in class com.sl.gmsjrtview.GmsRtViewDataObjectfieldName - the name of the field
public java.util.List getFieldChoices(java.lang.String fieldName)
fieldName - the name of the field to return
public java.util.List getFieldNames()
public java.lang.String getFieldSubstitutionValue(java.lang.String fieldName)
fieldName - the name of the field to return
public DialogFieldState getFieldUIState(java.lang.String fieldName)
fieldName - the name of the field to return
public DataFieldValidity getFieldValidity(java.lang.String fieldName)
fieldName - the name of the field to return
public java.lang.String getFieldValue(java.lang.String fieldName)
fieldName - the name of the field
public boolean isScrambledField(java.lang.String name)
name - The name of the field
public void setFieldChoices(java.lang.String fieldName,
java.util.Set choices)
fieldName - the name of the field to returnchoices - a List of possible values for the named field
public void setFieldUIState(java.lang.String fieldName,
DialogFieldState state)
fieldName - the name of the field to returnstate - a DialogFieldState value representing the user interface state
of the named field:
public void setFieldValidity(java.lang.String fieldName,
DataFieldValidity validity)
fieldName - the name of the field to returnvalidity - a DataFieldValidity value representing the validity
of the value of the named field:
|
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||