|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- source data object to be visualized. For now we have only one
implementation for CyNetwork
, but it
can be anything, including CyTable
.public interface RenderingEngine<T>
RenderingEngine is an interface for all visualizers which renders. For a given view-model it renders actual view on display, documents, etc.
Method Summary | ||
---|---|---|
|
createIcon(VisualProperty<V> vp,
V value,
int width,
int height)
Create Icon object for the given VisualProperty value. |
|
Image |
createImage(int width,
int height)
Render an Image object from current visualization. |
|
Printable |
createPrintable()
For export image function. |
|
Properties |
getProperties()
Get property values for the rendering engine, like LOD. |
|
View<T> |
getViewModel()
Returns View being rendered. |
|
VisualLexicon |
getVisualLexicon()
Provide all compatible Visual Properties as a VisualLexicon. |
|
void |
printCanvas(Graphics printCanvas)
Render presentation on the given Java 2D Canvas. |
Method Detail |
---|
View<T> getViewModel()
VisualLexicon getVisualLexicon()
Properties getProperties()
Printable createPrintable()
Image createImage(int width, int height)
width
- width of the imageheight
- height of the image
<V> Icon createIcon(VisualProperty<V> vp, V value, int width, int height)
Icon
object for the given VisualProperty value.
V
- Data type, such as Color, String, Double, etc.vp
- VisualProperty to be rendered as Icon.value
- Value for the Icon. For example, if V is shape, this can be rectangle, triangle, and so on.width
- width of the iconheight
- height of the icon
void printCanvas(Graphics printCanvas)
printCanvas
- Graphics object provided by vector
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |