Package | Description |
---|---|
org.gephi.preview.api |
API for Preview rendering.
|
org.gephi.preview.spi |
Interfaces for creating new renderers, item builders and render targets.
|
Modifier and Type | Method and Description |
---|---|
PreviewProperties |
PreviewModel.getProperties()
Returns the preview properties attached to this model.
|
Modifier and Type | Method and Description |
---|---|
CanvasSize |
Renderer.getCanvasSize(Item item,
PreviewProperties properties)
Compute the canvas size of the item to render.
|
boolean |
Renderer.isRendererForitem(Item item,
PreviewProperties properties)
Based on
properties , determine whether this renderer is
valid to render Item . |
void |
PreviewMouseListener.mouseClicked(PreviewMouseEvent event,
PreviewProperties properties,
Workspace workspace)
A single click event.
|
void |
PreviewMouseListener.mouseDragged(PreviewMouseEvent event,
PreviewProperties properties,
Workspace workspace)
If your listener needs to receive drag events, you must mark the previous press event as consumed.
|
void |
PreviewMouseListener.mousePressed(PreviewMouseEvent event,
PreviewProperties properties,
Workspace workspace)
A mouse press event.
|
void |
PreviewMouseListener.mouseReleased(PreviewMouseEvent event,
PreviewProperties properties,
Workspace workspace)
If your listener needs to receive release events, you must mark the previous press event as consumed.
|
boolean |
Renderer.needsItemBuilder(ItemBuilder itemBuilder,
PreviewProperties properties)
Based on the
itemBuilder class and the properties ,
determine whether this renderer needs the given itemBuilder to be
executed before rendering. |
void |
Renderer.render(Item item,
RenderTarget target,
PreviewProperties properties)
Render
item to target using the global properties
and item data. |
Copyright © 2007–2017 Gephi Consortium. All rights reserved.