|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.ds.fw.types.FwSimpleObject
|
+--com.ds.fw.dv.params.FwDVParams
This class represents the edit table options parameters.
All parameters are grouped in hashtables by their meanning.
These internal tables are:
0 - contains the params addressed to the edit table, which it has to proccess;
1 - contains the params addressed from the edit table.
Here the default value "id" for example is send from the list
to the view when you select an item from the list to be displayed in the view.
2 - contains optional parameters for future usage;
3 - empty for now, it is for future usage.
| Constructor Summary | |
FwDVParams()
Constructor. |
|
| Method Summary | |
com.ds.fw.dv.params.FwDVValue |
get(int i,
java.lang.String key)
This method returns the parameter's data for a parameter from table i with name key. |
com.ds.fw.dv.params.FwDVValue |
get(java.lang.String key)
This method returns the parameter's data for a parameter from default(0) table with name key. |
java.lang.Object |
get1(int i,
java.lang.String key)
This method returns the value of the parameter key from table i. |
java.util.Hashtable |
getHData(int i)
This methods returns a handle to one of the internal hashtables. |
java.lang.String |
param()
This method returns a String with URL parameters. |
java.lang.String |
param(int i)
This method returns a String with URL parameters. |
java.lang.String |
param(int i,
java.lang.String sKey,
java.lang.Object oValue)
This method returns a String with URL parameters. |
java.lang.String |
param(int i,
java.lang.String sKey,
java.lang.Object oValue,
java.lang.String sKey1,
java.lang.Object oValue1)
This method returns a String with URL parameters. |
java.lang.String |
param(int im,
java.lang.String sKey,
java.lang.Object oValue,
java.lang.String sKey1,
java.lang.Object oValue1,
java.lang.String sKey2,
java.lang.Object oValue2)
This method returns a String with URL parameters. |
java.lang.String |
param1(int i)
This method returns a String with HTML code, which represents the parameters of an internal table as hidden fields in a HTML form. |
java.lang.String |
param1(int im,
java.lang.String sKey,
java.lang.Object oValue,
java.lang.String sKey1,
java.lang.Object oValue1,
java.lang.String sKey2,
java.lang.Object oValue2)
This method returns a String with HTML code, which represents the parameters of an internal table as hidden fields in a HTML form. |
void |
set(int i,
java.lang.String key,
com.ds.fw.dv.params.FwDVValue data)
This method sets parameter's data for a parameter from table i with name key. |
void |
set(java.lang.String key,
com.ds.fw.dv.params.FwDVValue data)
This method sets parameter's data for a parameter from default(0)table with name key. |
void |
set1(int i,
java.lang.String key,
java.lang.Object data)
This method sets the value of the parameter key from table i. |
| Methods inherited from class com.ds.fw.types.FwSimpleObject |
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, printStackTrace, toString, toStringValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FwDVParams()
| Method Detail |
public java.util.Hashtable getHData(int i)
i - the zero-based index of the table to be returnedpublic com.ds.fw.dv.params.FwDVValue get(java.lang.String key)
key - the parameter name
get(int,String)
public com.ds.fw.dv.params.FwDVValue get(int i,
java.lang.String key)
i - index of the table with parameterskey - the parameter name
public void set(java.lang.String key,
com.ds.fw.dv.params.FwDVValue data)
key - the parameter namedata - data to be set
public void set(int i,
java.lang.String key,
com.ds.fw.dv.params.FwDVValue data)
i - index of the table with parameterskey - the parameter namedata - data to be set
public java.lang.Object get1(int i,
java.lang.String key)
i - index of the table with parameterskey - the parameter name
public void set1(int i,
java.lang.String key,
java.lang.Object data)
i - index of the table with parameterskey - the parameter namedata - value to be setpublic java.lang.String param1(int i)
i - index of the table with parametersparam1(int,String,Object,String,Object,String,Object)public java.lang.String param()
param(int,String,Object,String,Object,String,Object)public java.lang.String param(int i)
i - index of the table with parametersparam(int,String,Object,String,Object,String,Object)
public java.lang.String param(int i,
java.lang.String sKey,
java.lang.Object oValue)
i - index of the table with parameterssKey - first parameter to be replacedoValue - param(int,String,Object,String,Object,String,Object)
public java.lang.String param(int i,
java.lang.String sKey,
java.lang.Object oValue,
java.lang.String sKey1,
java.lang.Object oValue1)
i - index of the table with parameterssKey - first parameter to be replacedoValue - value to be set to parameter sKeysKey1 - second parameter to be replacedoValue1 - param(int,String,Object,String,Object,String,Object)
public java.lang.String param(int im,
java.lang.String sKey,
java.lang.Object oValue,
java.lang.String sKey1,
java.lang.Object oValue1,
java.lang.String sKey2,
java.lang.Object oValue2)
im - index of the table with parameterssKey - first parameter to be replacedoValue - value to be set to parameter sKeysKey1 - second parameter to be replacedoValue1 - value to be set to parameter sKey1sKey2 - third parameter to be replacedoValue2 - value to be set to parameter sKey2
public java.lang.String param1(int im,
java.lang.String sKey,
java.lang.Object oValue,
java.lang.String sKey1,
java.lang.Object oValue1,
java.lang.String sKey2,
java.lang.Object oValue2)
im - index of the table with parameterssKey - first parameter to be replacedoValue - value to be set to parameter sKeysKey1 - second parameter to be replacedoValue1 - value to be set to parameter sKey1sKey2 - third parameter to be replacedoValue2 - value to be set to parameter sKey2
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||