|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--objectivehtml.oms.OMSObject
|
+--objectivehtml.htmlwidget.HtmlElement
|
+--objectivehtml.htmlwidget.HtmlTableCaption
This class represents the caption of a html table. i.e.
<caption ...>
The object can only exist within the context of a HtmlTable object.
If auto-escape is turned on (default) then the value and option text are escaped before being written out (using HtmlUtils.htmlSpecialChars(String)).
HtmlUtils.htmlSpecialChars(String)| Fields inherited from class objectivehtml.htmlwidget.HtmlElement |
m_hmAttributes, m_sEndTag, m_sQuoteType, m_sStartTag |
| Constructor Summary | |
protected |
HtmlTableCaption(HtmlTable objParent)
Constructs an instance of HtmlTableCaption. |
| Method Summary | |
java.lang.String |
getCaptionText()
Returns the caption text. |
HtmlTable |
getHtmlTable()
Returns a reference to the table this table caption object is contained in. |
boolean |
isAutoEscape()
Returns whether the auto-escape feature is on or not. |
void |
printHtml(javax.servlet.jsp.JspWriter objWriter,
int nOutputType)
Prints the html that represents this object to the output stream. |
void |
printHtml(java.io.PrintWriter objWriter,
int nOutputType)
Prints the html that represents this object to the output stream. |
void |
setAutoEscape(boolean bAutoEscape)
Sets the auto-escape feature to be either on (default) or off. |
void |
setCaptionText(java.lang.String sCaptionText)
Sets the caption text. |
| Methods inherited from class objectivehtml.htmlwidget.HtmlElement |
genEndTag, genStartTag, genStartTag, getAttribute, getAttributes, getBooleanAttribute, getQuoteType, printHtml, printHtml, printHtml, printHtml, printHtml, printHtml, setAttribute, setBooleanAttribute, setQuoteType, toString, toString |
| Methods inherited from class objectivehtml.oms.OMSObject |
compareClasses, connect, disconnect, emit, isAlive, setAlive, signal, slot, slot |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected HtmlTableCaption(HtmlTable objParent)
throws InvalidParentElementException
objParent - the parent of this elementInvalidParentElementException - if the specified parent element is not valid| Method Detail |
public HtmlTable getHtmlTable()
public void setAutoEscape(boolean bAutoEscape)
bAutoEscape - true if you want auto-escape on (default), false otherwiseHtmlUtils.htmlSpecialChars(String),
isAutoEscape()public boolean isAutoEscape()
setAutoEscape(boolean)public java.lang.String getCaptionText()
setCaptionText(String)public void setCaptionText(java.lang.String sCaptionText)
Sets the caption text.
If null is specified the caption text is cleared.
sCaptionText - the value for this elementgetCaptionText()
public void printHtml(java.io.PrintWriter objWriter,
int nOutputType)
throws java.io.IOException
printHtml in class HtmlElementobjWriter - the output stream for a Servlet objectnOutputType - the output typejava.io.IOException - if it cannot write the output
public void printHtml(javax.servlet.jsp.JspWriter objWriter,
int nOutputType)
throws java.io.IOException
printHtml in class HtmlElementobjWriter - the output stream for a Jsp pagenOutputType - the output typejava.io.IOException - if it cannot write the output
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||