The Overview control provides a scaled-down view of Diagram contents and allows scrolling and zooming the diagram with the mouse.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public class Overview extends JComponent implements MouseListener, MouseMotionListener |
To specify which DiagramView instance is shown in the overview, call the setDiagramView method.
The scale in which the overview control paints items is specified by the setScaleFactor and setFitAll methods. If the FitAll mode is enabled, the whole diagram fits into the overview window.
To display scrollbars, call the setShowScrollbars method.
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
com.mindfusion.diagramming.Overview