objectivehtml.htmlwidget
Class HtmlSpan
java.lang.Object
|
+--objectivehtml.oms.OMSObject
|
+--objectivehtml.htmlwidget.HtmlElement
|
+--objectivehtml.htmlwidget.HtmlWidget
|
+--objectivehtml.htmlwidget.HtmlText
|
+--objectivehtml.htmlwidget.HtmlSpan
- public class HtmlSpan
- extends HtmlText
This class represents a html span element.
i.e.
<span ... >
The widget offers a generic way to add html structural directives to some plain text.
The widget has no visual presentation.
Method Summary |
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. |
Methods inherited from class objectivehtml.htmlwidget.HtmlWidget |
changeParent, changeParent, getClassAttribute, getHtmlForm, getID, getOnClick, getOnDblClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getParent, getStyle, isDestroyed, isVisible, setClassAttribute, setID, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStyle |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HtmlSpan
public HtmlSpan(HtmlContainerWidget objParent)
throws InvalidParentWidgetException,
InvalidChildWidgetException
- The constructs an instance of HtmlSpan with parent objParent.
- Parameters:
objParent
- the parent object of this table- Throws:
InvalidParentWidgetException
- if the specified parent widget is not validInvalidChildWidgetException
- if the parent widget does not accept this widget as a child
printHtml
public void printHtml(java.io.PrintWriter objWriter,
int nOutputType)
throws java.io.IOException
- Prints the html that represents this object to the output stream.
- Overrides:
printHtml
in class HtmlText
- Parameters:
objWriter
- the output stream for a Servlet objectnOutputType
- the output type- Throws:
java.io.IOException
- if it cannot write the output- See Also:
HtmlElement.printHtml(PrintWriter)
printHtml
public void printHtml(javax.servlet.jsp.JspWriter objWriter,
int nOutputType)
throws java.io.IOException
- Prints the html that represents this object to the output stream.
- Overrides:
printHtml
in class HtmlText
- Parameters:
objWriter
- the output stream for a Jsp pagenOutputType
- the output type- Throws:
java.io.IOException
- if it cannot write the output- See Also:
HtmlElement.printHtml(JspWriter)