Uses of Class
org.xhtmlrenderer.layout.SharedContext
Packages that use SharedContext
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 SharedContext in org.xhtmlrenderer.context
Methods in org.xhtmlrenderer.context with parameters of type SharedContextModifier and TypeMethodDescriptionprotected static FontAWTFontResolver.createFont(SharedContext ctx, Font root_font, float size, IdentValue weight, IdentValue style, IdentValue variant) protected static StringAWTFontResolver.getFontInstanceHashName(SharedContext ctx, String name, float size, IdentValue weight, IdentValue style, IdentValue variant) Gets the fontInstanceHashName attribute of the FontResolverTest objectAWTFontResolver.resolveFont(SharedContext ctx, String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant) protected FontAWTFontResolver.resolveFont(SharedContext ctx, String font, float size, IdentValue weight, IdentValue style, IdentValue variant) AWTFontResolver.resolveFont(SharedContext renderingContext, FontSpecification spec) voidStyleReference.setDocumentContext(SharedContext context, NamespaceHandler nsh, Document doc, UserInterface ui) Sets the documentContext attribute of the StyleReference object -
Uses of SharedContext in org.xhtmlrenderer.extend
Methods in org.xhtmlrenderer.extend with parameters of type SharedContextModifier and TypeMethodDescriptionFontResolver.resolveFont(SharedContext renderingContext, FontSpecification spec) -
Uses of SharedContext in org.xhtmlrenderer.layout
Methods in org.xhtmlrenderer.layout that return SharedContext -
Uses of SharedContext in org.xhtmlrenderer.render
Fields in org.xhtmlrenderer.render declared as SharedContextMethods in org.xhtmlrenderer.render with parameters of type SharedContextConstructors in org.xhtmlrenderer.render with parameters of type SharedContextModifierConstructorDescriptionRenderingContext(SharedContext sharedContext) needs a new instance every run -
Uses of SharedContext in org.xhtmlrenderer.simple
Methods in org.xhtmlrenderer.simple that return SharedContextModifier and TypeMethodDescriptionGraphics2DRenderer.getSharedContext()Gets the SharedContext for layout and rendering.Methods in org.xhtmlrenderer.simple with parameters of type SharedContextModifier and TypeMethodDescriptionvoidGraphics2DRenderer.setSharedContext(SharedContext ctx) Sets the SharedContext for rendering.voidXHTMLPanel.setSharedContext(SharedContext ctx) Sets theRenderingContextattribute of the XHTMLPanel object. -
Uses of SharedContext in org.xhtmlrenderer.swing
Fields in org.xhtmlrenderer.swing declared as SharedContextMethods in org.xhtmlrenderer.swing that return SharedContextModifier and TypeMethodDescriptionBoxRenderer.getSharedContext()Returns the SharedContext to be used by renderer.Java2DRenderer.getSharedContext()Returns the SharedContext to be used by renderer.RootPanel.getSharedContext()Methods in org.xhtmlrenderer.swing with parameters of type SharedContextModifier and TypeMethodDescriptionprotected static FontAWTFontResolver.createFont(SharedContext ctx, Font root_font, float size, IdentValue weight, IdentValue style, IdentValue variant) protected static StringAWTFontResolver.getFontInstanceHashName(SharedContext ctx, String name, float size, IdentValue weight, IdentValue style, IdentValue variant) Gets the fontInstanceHashName attribute of the FontResolverTest objectAWTFontResolver.resolveFont(SharedContext ctx, String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant) protected FontAWTFontResolver.resolveFont(SharedContext ctx, String font, float size, IdentValue weight, IdentValue style, IdentValue variant) AWTFontResolver.resolveFont(SharedContext renderingContext, FontSpecification spec) voidDOMInspector.setForDocument(Document doc, SharedContext context, StyleReference sr) Sets the forDocument attribute of the DOMInspector objectvoidBasicPanel.setSharedContext(SharedContext ctx) Constructors in org.xhtmlrenderer.swing with parameters of type SharedContextModifierConstructorDescriptionDOMInspector(Document doc, SharedContext context, StyleReference sr)