com.ds.fw.dv.view
Class FwDVView
java.lang.Object
|
+--com.ds.fw.types.FwSimpleObject
|
+--com.ds.fw.dv.FwDV
|
+--com.ds.fw.dv.view.FwDVView
- All Implemented Interfaces:
- java.lang.Cloneable, FwCopyableIF, FwDisplayableIF, FwSimpleObjectIF, java.io.Serializable
- public class FwDVView
- extends FwDV
- See Also:
- Serialized Form
|
Field Summary |
com.ds.fw.dv.view.FwDVViewData |
data
|
|
Constructor Summary |
FwDVView()
The constructor |
|
Method Summary |
java.lang.String |
display()
Generating the html code for displaying the information from a database in a html table |
java.lang.String |
displayField(int k)
Generate an html code for displaying a field |
java.lang.String |
displayFields()
Generate an html code for displaying the fields in a html table |
java.lang.String |
displayHeader()
Generate html code for displaying headers (the names of the columns in the html table) |
com.ds.fw.dv.view.FwDVViewData |
getData()
|
com.ds.fw.dv.view.FwDVViewProperties |
getP()
|
void |
init()
Initsialize with default values. |
void |
setData(com.ds.fw.dv.view.FwDVViewData n)
|
| 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 |
data
public com.ds.fw.dv.view.FwDVViewData data
FwDVView
public FwDVView()
- The constructor
init
public void init()
- Initsialize with default values. Called by the constructor.
- Overrides:
init in class FwDV
getP
public com.ds.fw.dv.view.FwDVViewProperties getP()
setData
public void setData(com.ds.fw.dv.view.FwDVViewData n)
getData
public com.ds.fw.dv.view.FwDVViewData getData()
displayField
public java.lang.String displayField(int k)
- Generate an html code for displaying a field
- Parameters:
k -
- Returns:
- the generated html code as string
displayFields
public java.lang.String displayFields()
- Generate an html code for displaying the fields in a html table
- Returns:
- the generated html code as string
displayHeader
public java.lang.String displayHeader()
- Generate html code for displaying headers (the names of the columns in the html table)
- Returns:
- the html code as string
display
public java.lang.String display()
- Generating the html code for displaying the information from a database in a html table
- Returns:
- the html code as string