|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.doc.style.css.visual.CSSBoxFactory
public class CSSBoxFactory
Factory for CSS boxes.
| Constructor Summary | |
|---|---|
CSSBoxFactory()
|
|
| Method Summary | |
|---|---|
CSSBox |
create(CSS2ComputedProperties style)
Creates a box of the appropriate type according to CSS box model. |
CSSContainerBox |
createBlockBox(CSS2ComputedProperties style)
|
CSSInlineBox |
createInlineBox(CSS2ComputedProperties style)
|
CSSContainerBox |
createInlineTableBox(CSS2ComputedProperties style)
|
CSSContainerBox |
createListItemBox(CSS2ComputedProperties style)
|
CSSBox |
createRunInBox(CSS2ComputedProperties style)
|
CSSContainerBox |
createTableBox(CSS2ComputedProperties style)
|
CSSTableCellBox |
createTableCellBox(CSS2ComputedProperties style)
|
CSSTableRowBox |
createTableRowBox(CSS2ComputedProperties style)
|
CSSErrorHandler |
getErrorHandler()
Gets the error handler. |
void |
setErrorHandler(CSSErrorHandler errorHandler)
Sets the error handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSSBoxFactory()
| Method Detail |
|---|
public CSSErrorHandler getErrorHandler()
public void setErrorHandler(CSSErrorHandler errorHandler)
errorHandler - the CSS error handler.
public CSSBox create(CSS2ComputedProperties style)
throws CSSStyleException
Note that table sub-elements are not generated here.
style - the computed style that applies to the box.
display: none).
CSSStyleException - if an error occurs generating the box.public CSSInlineBox createInlineBox(CSS2ComputedProperties style)
public CSSContainerBox createBlockBox(CSS2ComputedProperties style)
public CSSContainerBox createListItemBox(CSS2ComputedProperties style)
public CSSBox createRunInBox(CSS2ComputedProperties style)
public CSSContainerBox createTableBox(CSS2ComputedProperties style)
public CSSContainerBox createInlineTableBox(CSS2ComputedProperties style)
public CSSTableRowBox createTableRowBox(CSS2ComputedProperties style)
public CSSTableCellBox createTableCellBox(CSS2ComputedProperties style)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||