Uses of Interface
org.xhtmlrenderer.extend.UserAgentCallback
Packages that use UserAgentCallback
Package
Description
Includes those classes you need to render XHTML documents
quickly, right out of the box, and with no special setup needed; start here! All the classes
in this package are oriented towards ease-of-use.
-
Uses of UserAgentCallback in org.xhtmlrenderer.context
Fields in org.xhtmlrenderer.context declared as UserAgentCallbackModifier and TypeFieldDescriptionprivate UserAgentCallback
StyleReference._uac
private UserAgentCallback
StylesheetFactoryImpl._userAgentCallback
the UserAgentCallback to resolve urisprivate final UserAgentCallback
StandardAttributeResolver.uac
Methods in org.xhtmlrenderer.context with parameters of type UserAgentCallbackModifier and TypeMethodDescriptionvoid
StyleReference.setUserAgentCallback
(UserAgentCallback userAgentCallback) (package private) void
StylesheetFactoryImpl.setUserAgentCallback
(UserAgentCallback userAgent) Constructors in org.xhtmlrenderer.context with parameters of type UserAgentCallbackModifierConstructorDescriptionStyleReference
(UserAgentCallback userAgent) StylesheetFactoryImpl
(UserAgentCallback userAgentCallback) -
Uses of UserAgentCallback in org.xhtmlrenderer.demo.browser
Classes in org.xhtmlrenderer.demo.browser that implement UserAgentCallbackModifier and TypeClassDescriptionclass
PanelManager is a UserAgentCallback responsible for the Browser's resource (XML, image, CSS) lookup. -
Uses of UserAgentCallback in org.xhtmlrenderer.extend
Methods in org.xhtmlrenderer.extend with parameters of type UserAgentCallbackModifier and TypeMethodDescription@Nullable ReplacedElement
ReplacedElementFactory.createReplacedElement
(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) NOTE: Only block equivalent elements can be replaced. -
Uses of UserAgentCallback in org.xhtmlrenderer.layout
Fields in org.xhtmlrenderer.layout declared as UserAgentCallbackMethods in org.xhtmlrenderer.layout that return UserAgentCallbackModifier and TypeMethodDescriptionLayoutContext.getUac()
SharedContext.getUac()
Gets the uac attribute of the RenderingContext objectSharedContext.getUserAgentCallback()
Methods in org.xhtmlrenderer.layout with parameters of type UserAgentCallbackModifier and TypeMethodDescriptionvoid
SharedContext.setUserAgentCallback
(UserAgentCallback userAgentCallback) Constructors in org.xhtmlrenderer.layout with parameters of type UserAgentCallbackModifierConstructorDescriptionSharedContext
(UserAgentCallback uac, float dpi, int pixelsPerDot) SharedContext
(UserAgentCallback uac, FontResolver fr, ReplacedElementFactory ref, TextRenderer tr, float dpi) SharedContext
(UserAgentCallback userAgent, FontResolver fontResolver, ReplacedElementFactory replacedElementFactory, TextRenderer textRenderer, float dpi, int dotsPerPixel) -
Uses of UserAgentCallback in org.xhtmlrenderer.pdf
Classes in org.xhtmlrenderer.pdf that implement UserAgentCallbackMethods in org.xhtmlrenderer.pdf with parameters of type UserAgentCallbackModifier and TypeMethodDescription@Nullable ReplacedElement
ITextReplacedElementFactory.createReplacedElement
(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) private void
ITextFontResolver.importFontFace
(FontFaceRule rule, UserAgentCallback userAgentCallback) void
ITextFontResolver.importFontFaces
(List<FontFaceRule> fontFaces, UserAgentCallback userAgentCallback) -
Uses of UserAgentCallback in org.xhtmlrenderer.render
Methods in org.xhtmlrenderer.render that return UserAgentCallback -
Uses of UserAgentCallback in org.xhtmlrenderer.simple
Constructors in org.xhtmlrenderer.simple with parameters of type UserAgentCallbackModifierConstructorDescriptionInstantiates a panel with a customUserAgentCallback
implementation. -
Uses of UserAgentCallback in org.xhtmlrenderer.simple.extend
Fields in org.xhtmlrenderer.simple.extend declared as UserAgentCallbackMethods in org.xhtmlrenderer.simple.extend that return UserAgentCallbackConstructors in org.xhtmlrenderer.simple.extend with parameters of type UserAgentCallbackModifierConstructorDescriptionXhtmlForm
(UserAgentCallback uac, @Nullable Element e, FormSubmissionListener fsListener) XhtmlForm
(UserAgentCallback uac, Element e) -
Uses of UserAgentCallback in org.xhtmlrenderer.simple.extend.form
Methods in org.xhtmlrenderer.simple.extend.form that return UserAgentCallback -
Uses of UserAgentCallback in org.xhtmlrenderer.swing
Classes in org.xhtmlrenderer.swing that implement UserAgentCallbackModifier and TypeClassDescriptionclass
NaiveUserAgent is a simple implementation ofUserAgentCallback
which places no restrictions on what XML, CSS or images are loaded, and reports visited links without any filtering.class
NaiveUserAgent is a simple implementation ofUserAgentCallback
which places no restrictions on what XML, CSS or images are loaded, and reports visited links without any filtering.Methods in org.xhtmlrenderer.swing with parameters of type UserAgentCallbackModifier and TypeMethodDescription@Nullable ReplacedElement
SwingReplacedElementFactory.createReplacedElement
(LayoutContext context, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) protected @Nullable ReplacedElement
SwingReplacedElementFactory.replaceImage
(UserAgentCallback uac, LayoutContext context, Element elem, int cssWidth, int cssHeight) Handles replacement of image elements in the document.Constructors in org.xhtmlrenderer.swing with parameters of type UserAgentCallbackModifierConstructorDescriptionprotected
Instantiates a panel with a customUserAgentCallback
implementation. -
Uses of UserAgentCallback in org.xhtmlrenderer.swt
Classes in org.xhtmlrenderer.swt that implement UserAgentCallbackModifier and TypeClassDescriptionclass
Naive user agent, copy of org.xhtmlrenderer.swing.NaiveUserAgent (but modified for SWT, of course).Fields in org.xhtmlrenderer.swt declared as UserAgentCallbackMethods in org.xhtmlrenderer.swt with parameters of type UserAgentCallbackModifier and TypeMethodDescription@Nullable ReplacedElement
SWTReplacedElementFactory.createReplacedElement
(LayoutContext c, BlockBox box, UserAgentCallback uac, int cssWidth, int cssHeight) protected @Nullable ReplacedElement
SWTReplacedElementFactory.replaceImage
(UserAgentCallback uac, LayoutContext context, Element elem, int cssWidth, int cssHeight) Handles replacement of image elements in the document.Constructors in org.xhtmlrenderer.swt with parameters of type UserAgentCallbackModifierConstructorDescriptionBasicRenderer
(org.eclipse.swt.widgets.Composite parent, int style, UserAgentCallback uac) PrinterRenderer
(org.eclipse.swt.printing.Printer printer, UserAgentCallback uac) SWTFSImage
(@Nullable org.eclipse.swt.graphics.Image image, @Nullable UserAgentCallback uac, @Nullable String uri) private
SWTFSImage
(@Nullable org.eclipse.swt.graphics.Image image, @Nullable UserAgentCallback uac, @Nullable String uri, int width, int height)