ibm_ilog.diagram.overview.Overview (version 1.1-SNAPSHOT)
Draws the overview as a GFX group. architecture: The overview is a mini-diagram with no zooming or panning options that always shows the entire diagram, like a map. An Overview object draws a map-like representation of the contents of a viewport. It can be used through the OverviewWidget or directly (for example for using it to draw a component of the Viewport HUD). An Overview relies on an OverviewRenderer which encapsulates the algorithm for generating the overview image. Different algorithms provide different representation. view rectangle: The Overview also represents the current location of the Viewport with a GFX Rectangle. Whenever the viewport is repositioned or zoomed, the Viewport object will notify the event, to which the Overview will react updating a rectangle shape. navigation: See pointers on how the user could interact with the Overview, see the subclasses of OverviewInteractor and how the Overview widget uses them.
Method Summary
- clientToContent()
- constructor(viewport, content, renderer, output, size) Constructs an Overview for observing the given viewport, whose contents will be drawn in an area of the given size using the given renderer, and places it at the output gfx Group.
- contentToClient()
- geViewport()
- generateContent()
- getContent()
- getEventSource()
- getInteractorManager(interactorManager)
- getRefreshContentsInverval()
- getRenderer() Returns the current renderer object used at the receiver.
- getSize()
- getViewport()
- getWaitForInteractions()
- getZoom()
- gfxConnector(src, evt, object, handler)
- gfxDisconnector(handle, src)
- isEnabled()
- setContent(content)
- setEnabled(enabled)
- setInteractorManager(interactorManager)
- setRefreshContentsInverval(msInterval)
- setRenderer(renderer)
- setSize(sz)
- setViewRectFill(fill)
- setViewRectStroke(stroke)
- setViewport(viewport)
- setWaitForInteractions(bool)
Event Summary
Attached Objects
Methods
Parameter | Type | Description |
---|---|---|
viewport | ibm_ilog.diagram.widget.Viewport | |
content | Object | |
renderer | ibm_ilog.diagram.overview.OverviewRenderer | |
output | dojox.gfx.Group | |
size | Size |