public class VectorGraphicsRenderer extends java.lang.Object implements Plotter.Plottable
| Constructor and Description |
|---|
VectorGraphicsRenderer(java.util.List<? extends ViewManager> viewManagers,
int columns)
Create a new vector graphics renderer for the view manager.
|
VectorGraphicsRenderer(ViewManager viewManager)
Instantiates a new vector graphics renderer.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color[] |
getColours()
Get the colours
|
java.awt.Color |
getLabelBG()
Get the LabelBG property.
|
java.lang.String |
getLabelHtml()
Get the LabelHtml property.
|
java.lang.String |
getLabelPos()
Get the LabelPos property.
|
int |
getLabelWidth()
Get the LabelWidth property.
|
boolean |
getPreview()
Get the Preview property.
|
int[] |
getSize()
Get the size
|
void |
plot(java.awt.Graphics2D graphics)
Plot to the graphics.
|
void |
renderTo(java.lang.String filename)
Render to the file
|
void |
setLabelBG(java.awt.Color value)
Set the LabelBG property.
|
void |
setLabelHtml(java.lang.String value)
Set the LabelHtml property.
|
void |
setLabelPos(java.lang.String value)
Set the LabelPos property.
|
void |
setLabelWidth(int value)
Set the LabelWidth property.
|
void |
setPreview(boolean value)
Set the Preview property.
|
boolean |
showConfigDialog()
Show the configuration dialog
|
public VectorGraphicsRenderer(ViewManager viewManager)
viewManager - the view managerpublic VectorGraphicsRenderer(java.util.List<? extends ViewManager> viewManagers, int columns)
viewManagers - the view managerscolumns - the number of columns when there are multiple imagespublic void renderTo(java.lang.String filename)
throws java.lang.Exception
filename - the filenamejava.lang.Exception - problem writing to the filepublic boolean showConfigDialog()
public void plot(java.awt.Graphics2D graphics)
plot in interface Plotter.Plottablegraphics - the graphics to plot topublic java.awt.Color[] getColours()
getColours in interface Plotter.Plottablepublic int[] getSize()
getSize in interface Plotter.Plottablepublic void setLabelHtml(java.lang.String value)
value - The new value for LabelHtmlpublic java.lang.String getLabelHtml()
public void setLabelPos(java.lang.String value)
value - The new value for LabelPospublic java.lang.String getLabelPos()
public void setLabelBG(java.awt.Color value)
value - The new value for LabelBGpublic java.awt.Color getLabelBG()
public void setLabelWidth(int value)
value - The new value for LabelWidthpublic int getLabelWidth()
public void setPreview(boolean value)
value - The new value for Previewpublic boolean getPreview()