org.apache.batik.apps.svgbrowser
public class ThumbnailDialog extends JDialog
Nested Class Summary | |
---|---|
protected class | ThumbnailDialog.AreaOfInterestListener
Used to perform a translation using the area of interest. |
protected class | ThumbnailDialog.AreaOfInterestOverlay
An overlay that represents the current area of interest. |
protected class | ThumbnailDialog.ThumbnailCanvasComponentListener
Used to allow the SVG document being displayed by the thumbnail to be
resized properly when parent resizes. |
protected class | ThumbnailDialog.ThumbnailComponentListener
Used to allow the SVG document being displayed by the thumbnail to be
resized properly. |
protected class | ThumbnailDialog.ThumbnailDocumentListener
Used to determine whether or not the GVT tree of the thumbnail has to be
updated. |
protected class | ThumbnailDialog.ThumbnailGVTListener
Used to update the overlay and/or the GVT tree of the thumbnail. |
protected class | ThumbnailDialog.ThumbnailListener
Used the first time the thumbnail dialog is shown to make visible the
current GVT tree being displayed by the original SVG component. |
Field Summary | |
---|---|
protected ThumbnailDialog.AreaOfInterestListener | aoiListener The overlay used to display the area of interest. |
protected static ResourceBundle | bundle
The resource bundle |
protected boolean | documentChanged A flag bit that indicates a document has been loaded. |
protected boolean | interactionEnabled |
protected ThumbnailDialog.AreaOfInterestOverlay | overlay The overlay used to display the area of interest. |
protected static ResourceManager | resources
The resource manager |
protected static String | RESOURCES
The resource file name |
protected JSVGCanvas | svgCanvas The canvas that owns the SVG document to display. |
protected JGVTComponent | svgThumbnailCanvas The canvas that displays the thumbnail. |
Constructor Summary | |
---|---|
ThumbnailDialog(Frame owner, JSVGCanvas svgCanvas)
Constructs a new ThumbnailDialog for the specified canvas.
|
Method Summary | |
---|---|
protected CanvasGraphicsNode | getCanvasGraphicsNode(GraphicsNode gn) |
boolean | getInteractionEnabled() |
void | setInteractionEnabled(boolean b) |
protected void | updateThumbnailGraphicsNode()
Updates the thumbnail component. |
protected void | updateThumbnailRenderingTransform()
Updates the thumbnail component rendering transform. |
Parameters: owner the owner frame svgCanvas the canvas that owns the SVG document to display