|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.builder.w3c.html.tags.XHtmlTagHandler
net.xoetrope.builder.w3c.html.tags.Div
public class Div
Processing for the html P element
Copyright (c) Xoetrope Ltd., 2002-2006
$Revision: 1.2 $
License: see License.txt
| Field Summary | |
|---|---|
protected java.lang.String |
endStyle
|
protected java.lang.String |
startStyle
|
protected java.lang.String |
style
|
protected javax.swing.text.html.HTML.Tag |
tag
|
| Fields inherited from class net.xoetrope.builder.w3c.html.tags.XHtmlTagHandler |
|---|
attribSet, builder, children, comp, content, parent, parentComponent |
| Constructor Summary | |
|---|---|
Div(javax.swing.text.html.HTML.Tag t)
Creates a new instance of Div |
|
| Method Summary | |
|---|---|
boolean |
breaksFlow()
Does this tag break the flow? |
void |
endProcessing(XComponentFactory cf)
The closing tag has been parsed and now the element can calulate its complete setup should it be dependant on its children for any information. |
XHtmlTagHandler |
newInstance(XHtmlBuilder builder,
XHtmlTagHandler parent)
Create a new instance of this object |
void |
processText(XComponentFactory cf,
java.lang.String text)
Process the element text |
void |
startProcessing(XHtmlBuilder builder,
XComponentFactory cf,
javax.swing.text.MutableAttributeSet as)
Process the opening html P tag/element |
| Methods inherited from class net.xoetrope.builder.w3c.html.tags.XHtmlTagHandler |
|---|
addChild, addElement, applyAlignment, applyStyle, decorateAttribute, getAttribute, getChildren, getComponent, getComponentName, getContent, getHeight, getHeight, getLength, getParent, getTextStyleAttributes, getWidth, getWidth, processComment, processCommonAttributes, setBuilder, setComponent, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String style
protected java.lang.String startStyle
protected java.lang.String endStyle
protected javax.swing.text.html.HTML.Tag tag
| Constructor Detail |
|---|
public Div(javax.swing.text.html.HTML.Tag t)
t - the actual tag being handler| Method Detail |
|---|
public XHtmlTagHandler newInstance(XHtmlBuilder builder,
XHtmlTagHandler parent)
newInstance in class XHtmlTagHandlerbuilder - the html builder and processor for the documentparent - the parent handler
public void processText(XComponentFactory cf,
java.lang.String text)
processText in class XHtmlTagHandlercf - the component factory to use for the creation of individual componentstext - the content
public void startProcessing(XHtmlBuilder builder,
XComponentFactory cf,
javax.swing.text.MutableAttributeSet as)
startProcessing in class XHtmlTagHandlerbuilder - the xui builder instance that is processing the html filecf - the component factory to use for the creation of individual componentsas - the attributes of this html tag.public void endProcessing(XComponentFactory cf)
endProcessing in class XHtmlTagHandlercf - the component factory to use for the creation of individual componentspublic boolean breaksFlow()
breaksFlow in class XHtmlTagHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||