|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.lang.SerializableObject
|
+--com.jdc.app.mvc.View
|
+--com.jdc.http.mvc.HttpView
|
+--com.jdc.http.jsp.JspView
JspView encapsulates the basic information, i.e. the JspView in a Model-View-Controller (MVC) framework, to be displayed to the user. For this class,, the view to be displayed to the user is a JavaServer Page (JSP).
FormField,
Property,
Serialized Form| Nested Class Summary |
| Nested classes inherited from class com.jdc.http.mvc.HttpView |
HttpView.Status |
| Field Summary | |
protected static String |
FORM_NAME_SEPARATOR
The default form name separator character. |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
JspView()
Constructs a JspView object. |
|
| Method Summary | |
void |
addColumns()
Add HTML column tags to all display view input fields. |
void |
addComment(String text)
Add comment (usually for debugging); |
void |
addRows()
Add HTML row tags to all display view input fields. |
protected String |
checkFieldValue(String currentValue,
String newValue)
Check the input field value and set the appropriate display view status flags. |
String |
getAlertMessage()
Returns the alert message, if one exists, to display to the user. |
String |
getComments()
Get HTML comments. |
String |
getCopyright()
Returns the copyright to display to the user. |
JspDocument |
getDocument()
Returns the document to display to the user. |
String |
getErrorMessage()
Returns the first view error message. |
Form |
getForm()
Returns the Form object for this HTML page. |
String |
getIcon()
Returns the icon link URL. |
String |
getJavaScript()
Returns the JavaScript functions required for this HTML page. |
String |
getStyle()
Returns the style definitions required for this HTML page. |
String |
getStyleSheet()
Returns the style sheet required for this HTML page. |
Title |
getTitle()
Returns the Title object for this HTML page. |
boolean |
isErrors()
Returns true if the display view has input field errors. |
boolean |
isNoErrors()
Returns true if the display view has no input field errors. |
void |
reset()
Reset the display view, i.e. |
void |
setComment(String text)
Set comment (usually for debugging); |
void |
setCopyright(String copyright)
Sets the copyright to display to the user. |
void |
setIcon(String iconURL)
Sets the icon URL. |
void |
setJavaScript(String javascript)
Sets the JavaScript functions required for this HTML page. |
void |
setStyle(String pageStyle)
Sets the style definitions required for this HTML page. |
void |
setStyleSheet(String stylesheet)
Sets the style sheet required for this HTML page. |
void |
setTitle(String title)
Sets the title for this HTML page. |
| Methods inherited from class com.jdc.http.mvc.HttpView |
getStatus, getURL, setURL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final String FORM_NAME_SEPARATOR
| Constructor Detail |
public JspView()
| Method Detail |
public void addColumns()
public void addComment(String text)
public void addRows()
protected String checkFieldValue(String currentValue,
String newValue)
public String getAlertMessage()
public String getComments()
public String getCopyright()
public JspDocument getDocument()
public String getErrorMessage()
public Form getForm()
Form object for this HTML page.
Form object for this HTML page.public String getIcon()
public String getJavaScript()
public String getStyle()
public String getStyleSheet()
public Title getTitle()
Title object for this HTML page.
Title object for this HTML page.public boolean isErrors()
public boolean isNoErrors()
public void reset()
public void setComment(String text)
public void setCopyright(String copyright)
public void setIcon(String iconURL)
iconURL - The icon URL.public void setJavaScript(String javascript)
public void setStyle(String pageStyle)
public void setStyleSheet(String stylesheet)
public void setTitle(String title)
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||