Package org.xhtmlrenderer.swing
package org.xhtmlrenderer.swing
-
ClassDescriptionA Swing
JPanel
that encloses the Flying Saucer renderer for easy integration into Swing applications.Renders an XML files, formatted with CSS, as an Box.A CursorListener is used to modify the current cursor in response to mouse events over the current document.Default, no-op implementation of an FSMouseListener.An DeferredImageReplacedElement is aReplacedElement
that contains aImage
which by default is simply a transparent image scaled to the size provided to the constructor.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.An FSMouseListener is used to track mouse events on a subclass ofBasicPanel
.A HoverListener is used to respond to a mouse hovering over a Box in aBasicPanel
.Denotes a URI pointing to an image that needs to be loaded.A thread-safe queue containing BackgroundImageLoaderItem, each of which represents one image (identified by a URI) which needs to be loaded.A background thread (daemon, low priority) which reads BackgroundImageLoaderItem from a BackgroundImageQueue and loads the images into memory.An ImageReplacedElement is aReplacedElement
that contains aImage
.Renders an XML files, formatted with CSS, as an image.Renders to a Graphics2D instance.A LinkListener is used to respond to a user clicking Box elements in aBasicPanel
, in particular to handle anchors and navigation.A MouseTracker is used to delegate mouse events to theFSMouseListener
instances associated with aBasicPanel
.An FSImage containing a java.awt.Image which can be replaced at runtime by calling setImage().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.User: pdoubleya Date: Apr 20, 2009ScalableXHTMLPanel extendsXHTMLPanel
to allow zoom on output.ScaleChangeEvent is used to notify interested parties that XHTMLPanel's scale factor has changed.The listener that's notified when the scale in a XHTMLPanel has changedA simple Selection and Highlighter class forXHTMLPanel
.A ReplacedElementFactory where Elements are replaced by Swing components.