MindFusion.Java Package Programmer's Guide
Overview Members
Constructors Methods
 


The Overview control provides a scaled-down view of Diagram contents and allows scrolling and zooming the diagram with the mouse.

The following tables list the members exposed by the Overview type.

 Public Constructors

  Name Description

Overview

Initializes a new instance of the Overview class.

 Public Methods

  Name Description

getBackgroundColor

Gets the background color of the overview control.

getDiagramView

Gets the DiagramView instance whose contents is displayed in the overview.

getDimColor

Gets a color used to blend with the part of the diagram that is not visible in the Diagram's client rectangle.

getFitAll

Gets a value that specifies whether to fit the whole diagram inside the overview.

getScaleFactor

Gets the fixed scale factor that is used when the FitAll mode is disabled.

getShowScrollbars

Gets a value indicating whether the overview control should display scrollbars.

getTrackingRectPen

Gets the Pen object used to draw the tracking rectangle border.

mouseClicked

 

mouseDragged

 

mouseEntered

 

mouseExited

 

mouseMoved

 

mousePressed

 

mouseReleased

 

overviewToDoc

 

paintComponent

 

resumeRepaint

Resumes repainting the control after a suspendRepaint call.

setBackgroundColor

Sets the background color of the overview control.

setDiagramView

Sets the DiagramView instance whose contents should be displayed in the overview.

setDimColor

Sets a color used to blend with the part of the diagram that is not visible in the Diagram's client rectangle.

setFitAll

Sets a value indicating whether to fit the whole diagram inside the overview.

setScaleFactor

Sets a fixed scale factor that should be used when the FitAll mode is disabled.

setShowScrollbars

Sets a value indicating whether the overview control should display scrollbars.

setTrackingRectPen

Sets the Pen object used to draw the tracking rectangle border.

suspendRepaint

Stops repainting the control. This is useful when using the JDiagram API from JavaScript, where the control would be repainted after each script line executes.

update

Causes the control to recalculate all its internals and repaint its client area.

 See Also

Overview Class
com.mindfusion.diagramming Namespace