|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.das2.graph.Renderer
org.das2.graph.SymbolLineRenderer
public class SymbolLineRenderer
Field Summary |
---|
Fields inherited from class org.das2.graph.Renderer |
---|
ds, lastException, logger, propertyChangeSupport, renderException |
Constructor Summary | |
---|---|
SymbolLineRenderer()
|
|
SymbolLineRenderer(DataSet ds)
Deprecated. use SymbolLineRenderer() and setDataSet() instead. Note that behavior may be slightly different since a DataLoader is created. |
|
SymbolLineRenderer(DataSetDescriptor dsd)
Deprecated. use SymbolLineRenderer() and setDataSetDescriptor() instead. |
Method Summary | |
---|---|
boolean |
acceptContext(int x,
int y)
Returns true if the render thinks it can provide the context for a point. |
java.awt.Color |
getColor()
Getter for property color. |
org.w3c.dom.Element |
getDOMElement(org.w3c.dom.Document document)
|
float |
getLineWidth()
|
javax.swing.Icon |
getListIcon()
An icon can be provided that will be shown in a list along with the textual description of the element. |
java.lang.String |
getListLabel()
return a String that will help the user
identify this item when choosing from a list. |
Psym |
getPsym()
Getter for property psym. |
PsymConnector |
getPsymConnector()
|
double |
getSymSize()
Getter for property symsize. |
protected void |
installRenderer()
|
boolean |
isAntiAliased()
Getter for property antiAliased. |
boolean |
isHistogram()
|
static SymbolLineRenderer |
processLinePlotElement(org.w3c.dom.Element element,
DasPlot parent,
FormBase form)
|
void |
render(java.awt.Graphics g,
DasAxis xAxis,
DasAxis yAxis,
ProgressMonitor mon)
Render is called whenever the image needs to be refreshed or the content has changed. |
void |
setAntiAliased(boolean antiAliased)
Setter for property antiAliased. |
void |
setColor(java.awt.Color color)
Setter for property color. |
void |
setHistogram(boolean b)
|
void |
setLineWidth(float f)
|
void |
setPsym(Psym psym)
Setter for property psym. |
void |
setPsymConnector(PsymConnector p)
|
void |
setSymSize(double symSize)
Setter for property symsize. |
protected void |
uninstallRenderer()
|
void |
updatePlotImage(DasAxis xAxis,
DasAxis yAxis,
ProgressMonitor monitor)
updatePlotImage is called once the expensive operation of loading the data is completed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SymbolLineRenderer()
public SymbolLineRenderer(DataSet ds)
public SymbolLineRenderer(DataSetDescriptor dsd)
Method Detail |
---|
public void render(java.awt.Graphics g, DasAxis xAxis, DasAxis yAxis, ProgressMonitor mon)
Renderer
render
in class Renderer
public void updatePlotImage(DasAxis xAxis, DasAxis yAxis, ProgressMonitor monitor)
Renderer
updatePlotImage
in class Renderer
public PsymConnector getPsymConnector()
public void setPsymConnector(PsymConnector p)
public Psym getPsym()
public void setPsym(Psym psym)
psym
- New value of property psym.public double getSymSize()
public void setSymSize(double symSize)
symSize
- New value of property symsize.public java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- New value of property color.public float getLineWidth()
public void setLineWidth(float f)
protected void installRenderer()
installRenderer
in class Renderer
protected void uninstallRenderer()
uninstallRenderer
in class Renderer
public static SymbolLineRenderer processLinePlotElement(org.w3c.dom.Element element, DasPlot parent, FormBase form)
public org.w3c.dom.Element getDOMElement(org.w3c.dom.Document document)
getDOMElement
in class Renderer
public boolean isAntiAliased()
public void setAntiAliased(boolean antiAliased)
antiAliased
- New value of property antiAliased.public boolean isHistogram()
public void setHistogram(boolean b)
public java.lang.String getListLabel()
Displayable
String
that will help the user
identify this item when choosing from a list.
getListLabel
in interface Displayable
public javax.swing.Icon getListIcon()
Displayable
null
if there
is no icon available.
getListIcon
in interface Displayable
public boolean acceptContext(int x, int y)
Renderer
acceptContext
in class Renderer
x
- the x coordinate in the canvas coordinate system.y
- the y coordinate in the canvas coordinate system.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |