|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This Interface enables calling classes to display and be able to print a html or plain text string. Implementing classes need to display the provided string in an appropriate display panel and provide an option of printing that.
Field Summary | |
static java.lang.String |
DEFAULT_CONTENT_TYPE
constant to describe the default content type of the string to be displayed |
Method Summary | |
void |
display(java.lang.String displayString,
java.lang.String contentType)
method to display a user-provided String and provide an option to print it. |
void |
print(java.lang.String displayString,
java.lang.String contentType)
method to just print a user-provided String. |
Field Detail |
public static final java.lang.String DEFAULT_CONTENT_TYPE
Method Detail |
public void display(java.lang.String displayString, java.lang.String contentType)
displayString
- the string to be displayed (html or plain text string)contentType
- the contentType of the display string
("text/html" or "text/plain")public void print(java.lang.String displayString, java.lang.String contentType)
displayString
- the string to be printed (html or plain text string)contentType
- the contentType of the print string
("text/html" or "text/plain")
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |