public class SWTXhtmlReplacedElementFactory extends SWTReplacedElementFactory
| Constructor and Description |
|---|
SWTXhtmlReplacedElementFactory(BasicRenderer parent) |
| Modifier and Type | Method and Description |
|---|---|
ReplacedElement |
createReplacedElement(LayoutContext c,
BlockBox box,
UserAgentCallback uac,
int cssWidth,
int cssHeight) |
XhtmlForm |
getForm(Element e) |
protected Element |
getParentForm(Element e,
LayoutContext context) |
void |
remove(Element e) |
void |
reset() |
clean, lookupImageReplacedElement, replaceImage, setFormSubmissionListener, storeImageReplacedElementpublic SWTXhtmlReplacedElementFactory(BasicRenderer parent)
public XhtmlForm getForm(Element e)
e - e or
null if nonepublic ReplacedElement createReplacedElement(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight)
createReplacedElement in interface ReplacedElementFactorycreateReplacedElement in class SWTReplacedElementFactorypublic void remove(Element e)
remove in interface ReplacedElementFactoryremove in class SWTReplacedElementFactorypublic void reset()
reset in interface ReplacedElementFactoryreset in class SWTReplacedElementFactoryprotected Element getParentForm(Element e, LayoutContext context)
e - Copyright © 2019. All rights reserved.