| Package | Description |
|---|---|
| org.gephi.preview | |
| 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 | Field and Description |
|---|---|
private PreviewProperties |
PreviewModelImpl.properties |
| Modifier and Type | Method and Description |
|---|---|
PreviewProperties |
PreviewModelImpl.getProperties() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
PreviewControllerImpl.isItemBuilderNeeded(ItemBuilder itemBuilder,
PreviewProperties properties,
Renderer[] renderers) |
| 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,
org.gephi.project.api.Workspace workspace)
A single click event.
|
void |
PreviewMouseListener.mouseDragged(PreviewMouseEvent event,
PreviewProperties properties,
org.gephi.project.api.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,
org.gephi.project.api.Workspace workspace)
A mouse press event.
|
void |
PreviewMouseListener.mouseReleased(PreviewMouseEvent event,
PreviewProperties properties,
org.gephi.project.api.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–2016 Gephi Consortium. All rights reserved.