Package org.xhtmlrenderer.swing
package org.xhtmlrenderer.swing
-
ClassDescriptionA Swing
JPanelthat 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 aReplacedElementthat contains aImagewhich by default is simply a transparent image scaled to the size provided to the constructor.NaiveUserAgent is a simple implementation ofUserAgentCallbackwhich 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.An ImageReplacedElement is aReplacedElementthat 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 theFSMouseListenerinstances associated with aBasicPanel.An FSImage containing a java.awt.Image which can be replaced at runtime by calling setImage().NaiveUserAgent is a simple implementation ofUserAgentCallbackwhich places no restrictions on what XML, CSS or images are loaded, and reports visited links without any filtering.User: pdoubleya Date: Apr 20, 2009ScalableXHTMLPanel extendsXHTMLPanelto 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.