Package org.gephi.preview.api
API for Preview rendering.
This API hosts preview properties, items and renderers to control preview displays. Preview is using the current Graph to build a set of visual items. Items have a generic data container and are built within Item Builders implementations. Renderers are stateless singletons which renders items to a render target and have a list of fixed properties. RenderTarget is the graphic container: Java2D, PDF or SVG.
The Preview is highly customizable and allows any plug-in to implement or override existing renderers or item builders. Consult the SPI package for more details.
-
Interface Summary Interface Description G2DTarget Rendering target to Java2d.Item An item is a visual element built by anItemBuilder
and later used by aRenderer
to be displayed.PDFTarget Rendering target to PDF format.PreviewController Controller that maintain the preview models, one per workspace.PreviewModel The Preview Model contains all items and all preview properties.RenderTarget RenderTarget is the graphic container the renderers draw into.SVGTarget Rendering target to SVG format. -
Class Summary Class Description CanvasSize A canvas size, with a top left coordinate, a width and an heigth.ManagedRenderer Small class that contains aRenderer
and its enabled state.PreviewMouseEvent Mouse event for preview.PreviewPreset Read only set ofPreviewProperty
values.PreviewProperties Container forPreviewProperty
attached to aPreviewModel
.PreviewProperty Define a (key, value) pair property attached to aPreviewProperties
instance.Vector -
Enum Summary Enum Description PreviewMouseEvent.Button PreviewMouseEvent.Type