|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent org.apache.batik.swing.gvt.AbstractJGVTComponent org.apache.batik.swing.gvt.JGVTComponent org.apache.batik.swing.svg.AbstractJSVGComponent org.apache.batik.swing.svg.JSVGComponent org.apache.batik.swing.JSVGCanvas de.lmu.ifi.dbs.elki.visualization.batikutil.JSVGSynchronizedCanvas
public class JSVGSynchronizedCanvas
An JSVGCanvas that allows easier synchronization of Updates for SVGPlot objects.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.batik.swing.JSVGCanvas |
---|
org.apache.batik.swing.JSVGCanvas.AffineAction, org.apache.batik.swing.JSVGCanvas.CanvasSVGListener, org.apache.batik.swing.JSVGCanvas.CanvasUserAgent, org.apache.batik.swing.JSVGCanvas.LocationListener, org.apache.batik.swing.JSVGCanvas.ResetTransformAction, org.apache.batik.swing.JSVGCanvas.RotateAction, org.apache.batik.swing.JSVGCanvas.ScrollAction, org.apache.batik.swing.JSVGCanvas.ScrollDownAction, org.apache.batik.swing.JSVGCanvas.ScrollLeftAction, org.apache.batik.swing.JSVGCanvas.ScrollRightAction, org.apache.batik.swing.JSVGCanvas.ScrollUpAction, org.apache.batik.swing.JSVGCanvas.ToolTipModifier, org.apache.batik.swing.JSVGCanvas.ToolTipRunnable, org.apache.batik.swing.JSVGCanvas.ZoomAction, org.apache.batik.swing.JSVGCanvas.ZoomInAction, org.apache.batik.swing.JSVGCanvas.ZoomOutAction |
Nested classes/interfaces inherited from class org.apache.batik.swing.svg.JSVGComponent |
---|
org.apache.batik.swing.svg.JSVGComponent.ExtendedSVGListener |
Nested classes/interfaces inherited from class org.apache.batik.swing.svg.AbstractJSVGComponent |
---|
org.apache.batik.swing.svg.AbstractJSVGComponent.BridgeUserAgent, org.apache.batik.swing.svg.AbstractJSVGComponent.BridgeUserAgentWrapper, org.apache.batik.swing.svg.AbstractJSVGComponent.JSVGComponentListener, org.apache.batik.swing.svg.AbstractJSVGComponent.SVGListener |
Nested classes/interfaces inherited from class org.apache.batik.swing.gvt.JGVTComponent |
---|
org.apache.batik.swing.gvt.JGVTComponent.ExtendedListener |
Nested classes/interfaces inherited from class org.apache.batik.swing.gvt.AbstractJGVTComponent |
---|
org.apache.batik.swing.gvt.AbstractJGVTComponent.Listener, org.apache.batik.swing.gvt.AbstractJGVTComponent.UnixTextSelectionListener |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
private SVGPlot |
plot
Current SVG plot. |
private static long |
serialVersionUID
Serial version number. |
private JSVGUpdateSynchronizer |
synchronizer
Synchronizer to use when synchronizing SVG plots |
Fields inherited from class org.apache.batik.swing.JSVGCanvas |
---|
FAST_SCROLL_DOWN_ACTION, FAST_SCROLL_LEFT_ACTION, FAST_SCROLL_RIGHT_ACTION, FAST_SCROLL_UP_ACTION, imageZoomInteractor, lastTarget, lastToolTipEventTarget, lastToolTipEventTimeStamp, locationListener, MAP_TOKEN, panInteractor, pcs, RESET_TRANSFORM_ACTION, resetTransformInteractor, rotateInteractor, SCROLL_DOWN_ACTION, SCROLL_LEFT_ACTION, SCROLL_RIGHT_ACTION, SCROLL_UP_ACTION, toolTipDocs, toolTipListener, toolTipMap, uri, ZOOM_IN_ACTION, ZOOM_OUT_ACTION, zoomInteractor |
Fields inherited from class org.apache.batik.swing.svg.AbstractJSVGComponent |
---|
afterStopRunnable, ALWAYS_DYNAMIC, ALWAYS_INTERACTIVE, ALWAYS_STATIC, animationLimitingAmount, animationLimitingMode, AUTODETECT, bridgeContext, BROKEN_LINK_TITLE, documentLoader, documentState, FEATURES, fragmentIdentifier, gvtTreeBuilder, gvtTreeBuilderListeners, isDynamicDocument, isInteractiveDocument, jsvgComponentListener, linkActivationListeners, loader, nextDocumentLoader, nextGVTTreeBuilder, nextUpdateManager, prevComponentSize, recenterOnResize, SCRIPT_ALERT, SCRIPT_CONFIRM, SCRIPT_PROMPT, selfCallingDisableInteractions, svgDocument, svgDocumentLoaderListeners, svgLoadEventDispatcher, svgLoadEventDispatcherListeners, svgUserAgent, updateManager, updateManagerListeners, updateOverlay, userAgent, userSetDisableInteractions, viewingTransform |
Fields inherited from class org.apache.batik.swing.gvt.AbstractJGVTComponent |
---|
disableInteractions, doubleBufferedRendering, eventDispatcher, eventsEnabled, gvtRoot, gvtTreeRenderer, gvtTreeRendererListeners, image, initialTransform, interactor, interactors, jgvtListeners, listener, needRender, overlays, paintingTransform, progressivePaint, progressivePaintThread, renderer, rendererFactory, renderingTransform, selectableText, suspendInteractions, textSelectionManager, useUnixTextSelection |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
JSVGSynchronizedCanvas()
Constructor |
Method Summary | |
---|---|
protected void |
detachPlot(SVGPlot oldplot)
Execute the detaching event. |
SVGPlot |
getPlot()
Get the currently displayed SVG plot. |
private void |
scheduleDetach(SVGPlot oldplot)
Schedule a detach. |
void |
setDocument(Document doc)
Deprecated. Document cannot be synchronized - use setPlot(de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot) and a
SVGPlot object! |
void |
setPlot(SVGPlot newplot)
Choose a new plot to display. |
void |
setSVGDocument(org.w3c.dom.svg.SVGDocument doc)
Deprecated. Document cannot be synchronized - use setPlot(de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot) and a
SVGPlot object! |
Methods inherited from class org.apache.batik.swing.JSVGCanvas |
---|
addPropertyChangeListener, addPropertyChangeListener, createListener, createUserAgent, getEnableImageZoomInteractor, getEnablePanInteractor, getEnableResetTransformInteractor, getEnableRotateInteractor, getEnableZoomInteractor, getURI, installActions, installKeyboardActions, installSVGDocument, matchLastToolTipEvent, removePropertyChangeListener, removePropertyChangeListener, setDisableInteractions, setEnableImageZoomInteractor, setEnablePanInteractor, setEnableResetTransformInteractor, setEnableRotateInteractor, setEnableZoomInteractor, setLastToolTipEvent, setURI |
Methods inherited from class org.apache.batik.swing.svg.AbstractJSVGComponent |
---|
addGVTTreeBuilderListener, addLinkActivationListener, addSVGDocumentLoaderListener, addSVGLoadEventDispatcherListener, addUpdateManagerListener, calculateViewingTransform, clearUserSetDisableInteractions, computeRenderingTransform, createBridgeContext, createImageRenderer, dispose, flushImageCache, getCanvasGraphicsNode, getCanvasGraphicsNode, getFragmentIdentifier, getRecenterOnResize, getSVGDocument, getSVGDocumentSize, getUpdateManager, getViewBoxTransform, getViewingTransform, handleException, isDynamic, isInteractive, loadSVGDocument, removeGVTTreeBuilderListener, removeLinkActivationListener, removeSVGDocumentLoaderListener, removeSVGLoadEventDispatcherListener, removeUpdateManagerListener, renderGVTTree, resumeProcessing, setAnimationLimitingCPU, setAnimationLimitingFPS, setAnimationLimitingNone, setBridgeContextAnimationLimitingMode, setDocumentState, setFragmentIdentifier, setGraphicsNode, setMySize, setRecenterOnResize, showAlert, showConfirm, showPrompt, showPrompt, startGVTTreeBuilder, startSVGLoadEventDispatcher, stopProcessing, stopThenRun, suspendProcessing, updateRenderingTransform, updateZoomAndPanEnable |
Methods inherited from class org.apache.batik.swing.gvt.JGVTComponent |
---|
addAWTListeners |
Methods inherited from class org.apache.batik.swing.gvt.AbstractJGVTComponent |
---|
addGVTTreeRendererListener, addJGVTComponentListener, createTextSelectionManager, deselectAll, flush, flush, getDisableInteractions, getDoubleBufferedRendering, getGraphicsNode, getInitialTransform, getInteractors, getOffScreen, getOverlays, getPaintingTransform, getProgressivePaint, getRenderingTransform, getRenderRect, getSelectionOverlayColor, getSelectionOverlayStrokeColor, getTextSelectionManager, getUseUnixTextSelection, immediateRepaint, initializeEventHandling, isSelectionOverlayXORMode, paintComponent, releaseRenderingReferences, removeGVTTreeRendererListener, removeJGVTComponentListener, resetRenderingTransform, scheduleGVTRendering, select, setDoubleBufferedRendering, setGraphicsNode, setPaintingTransform, setProgressivePaint, setRenderingTransform, setRenderingTransform, setSelectionOverlayColor, setSelectionOverlayStrokeColor, setSelectionOverlayXORMode, setUseUnixTextSelection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final JSVGUpdateSynchronizer synchronizer
private SVGPlot plot
Constructor Detail |
---|
public JSVGSynchronizedCanvas()
Method Detail |
---|
@Deprecated public void setDocument(Document doc)
setPlot(de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot)
and a
SVGPlot
object!
setPlot(de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot)
instead if you need synchronization!
setDocument
in class org.apache.batik.swing.svg.AbstractJSVGComponent
@Deprecated public void setSVGDocument(org.w3c.dom.svg.SVGDocument doc)
setPlot(de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot)
and a
SVGPlot
object!
setPlot(de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot)
instead if you need synchronization!
setSVGDocument
in class org.apache.batik.swing.svg.AbstractJSVGComponent
public void setPlot(SVGPlot newplot)
newplot
- New plot to display. May be null
!private void scheduleDetach(SVGPlot oldplot)
oldplot
- Plot to detach from.public SVGPlot getPlot()
null
!protected void detachPlot(SVGPlot oldplot)
oldplot
- Plot to detach from.
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |