|
Flying Saucer Project Release ${app.version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xhtmlrenderer.swing.SwingReplacedElementFactory
public class SwingReplacedElementFactory
A ReplacedElementFactory where Elements are replaced by Swing components.
| Constructor Summary | |
|---|---|
SwingReplacedElementFactory()
|
|
| Method Summary | |
|---|---|
ReplacedElement |
createReplacedElement(LayoutContext context,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight)
NOTE: Only block equivalent elements can be replaced. |
void |
remove(org.w3c.dom.Element e)
Removes any reference to Element e. |
void |
reset()
Clears out any references to elements or items created by this factory so far. |
void |
setFormSubmissionListener(FormSubmissionListener fsl)
Identifies the FSL which will be used for callbacks when a form submit action is executed; you can use a DefaultFormSubmissionListener if you don't want any action to be taken. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwingReplacedElementFactory()
| Method Detail |
|---|
public ReplacedElement createReplacedElement(LayoutContext context,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight)
createReplacedElement in interface ReplacedElementFactorycssWidth - The CSS width of the element in dots (or -1 if
width is auto)cssHeight - The CSS height of the element in dots (or -1
if the height should be treated as auto)
ReplacedElement or null if no
ReplacedElement appliespublic void reset()
reset in interface ReplacedElementFactorypublic void remove(org.w3c.dom.Element e)
ReplacedElementFactoryElement e.
remove in interface ReplacedElementFactorypublic void setFormSubmissionListener(FormSubmissionListener fsl)
ReplacedElementFactoryDefaultFormSubmissionListener if you don't want any action to be taken.
setFormSubmissionListener in interface ReplacedElementFactoryfsl - the listener instance to receive callbacks on form submission.
|
Flying Saucer Project Release ${app.version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||