Class ThumbnailDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ThumbnailDialog extends JDialog
This class represents a Dialog that displays a Thumbnail of the current SVG document.
See Also:
  • Field Details

    • RESOURCES

      protected static final String RESOURCES
      The resource file name
      See Also:
    • bundle

      protected static ResourceBundle bundle
      The resource bundle
    • resources

      protected static ResourceManager resources
      The resource manager
    • svgCanvas

      protected JSVGCanvas svgCanvas
      The canvas that owns the SVG document to display.
    • svgThumbnailCanvas

      protected JGVTComponent svgThumbnailCanvas
      The canvas that displays the thumbnail.
    • documentChanged

      protected boolean documentChanged
      A flag bit that indicates a document has been loaded.
    • overlay

      The overlay used to display the area of interest.
    • aoiListener

      The overlay used to display the area of interest.
    • interactionEnabled

      protected boolean interactionEnabled
  • Constructor Details

    • ThumbnailDialog

      public ThumbnailDialog(Frame owner, JSVGCanvas svgCanvas)
      Constructs a new ThumbnailDialog for the specified canvas.
      Parameters:
      owner - the owner frame
      svgCanvas - the canvas that owns the SVG document to display
  • Method Details

    • setInteractionEnabled

      public void setInteractionEnabled(boolean b)
    • getInteractionEnabled

      public boolean getInteractionEnabled()
    • updateThumbnailGraphicsNode

      protected void updateThumbnailGraphicsNode()
      Updates the thumbnail component.
    • getCanvasGraphicsNode

      protected CanvasGraphicsNode getCanvasGraphicsNode(GraphicsNode gn)
    • updateThumbnailRenderingTransform

      protected void updateThumbnailRenderingTransform()
      Updates the thumbnail component rendering transform.