|
||||||||||
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.SpectrogramRenderer
public class SpectrogramRenderer
Nested Class Summary | |
---|---|
protected class |
SpectrogramRenderer.RebinListener
|
static class |
SpectrogramRenderer.RebinnerEnum
|
Field Summary |
---|
Fields inherited from class org.das2.graph.Renderer |
---|
ds, lastException, propertyChangeSupport, renderException |
Constructor Summary | |
---|---|
SpectrogramRenderer(DasPlot parent,
DataSetDescriptor dsd,
DasColorBar colorBar)
Deprecated. use {link #SpectrogramRenderer(org.das2.dataset.DataSetDescriptor, org.das2.graph.DasColorBar)} |
|
SpectrogramRenderer(DataSetDescriptor dsd,
DasColorBar colorBar)
|
Method Summary | |
---|---|
boolean |
acceptContext(int x,
int y)
Returns true if the render thinks it can provide the context for a point. |
DasColorBar |
getColorBar()
|
DataSet |
getConsumedDataSet()
return the data for DataSetConsumer, which might be rebinned. |
org.w3c.dom.Element |
getDOMElement(org.w3c.dom.Document document)
|
java.awt.Color |
getFillColor()
Getter for property fillColor. |
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. |
SpectrogramRenderer.RebinnerEnum |
getRebinner()
Getter for property rebinner. |
DasAxis |
getZAxis()
|
protected void |
installRenderer()
|
boolean |
isPrint300dpi()
Getter for property draw300dpi. |
boolean |
isSliceRebinnedData()
Getter for property sliceRebinnedData. |
static SpectrogramRenderer |
processSpectrogramElement(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 |
setColorBar(DasColorBar cb)
|
void |
setDataSet(DataSet ds)
|
void |
setFillColor(java.awt.Color fillColor)
Setter for property fillColor. |
void |
setPrint300dpi(boolean print300dpi)
Setter for property draw300dpi. |
void |
setRebinner(SpectrogramRenderer.RebinnerEnum rebinnerEnum)
Setter for property rebinner. |
void |
setSliceRebinnedData(boolean sliceRebinnedData)
Setter for property sliceRebinnedData. |
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 SpectrogramRenderer(DataSetDescriptor dsd, DasColorBar colorBar)
public SpectrogramRenderer(DasPlot parent, DataSetDescriptor dsd, DasColorBar colorBar)
Method Detail |
---|
public DasAxis getZAxis()
getZAxis
in interface TableDataSetConsumer
public DasColorBar getColorBar()
public void setColorBar(DasColorBar cb)
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) throws DasException
Renderer
updatePlotImage
in class Renderer
DasException
protected void installRenderer()
installRenderer
in class Renderer
protected void uninstallRenderer()
uninstallRenderer
in class Renderer
public static SpectrogramRenderer processSpectrogramElement(org.w3c.dom.Element element, DasPlot parent, FormBase form) throws DasPropertyException, DasNameException, java.text.ParseException
DasPropertyException
DasNameException
java.text.ParseException
public org.w3c.dom.Element getDOMElement(org.w3c.dom.Document document)
getDOMElement
in class Renderer
public SpectrogramRenderer.RebinnerEnum getRebinner()
public void setRebinner(SpectrogramRenderer.RebinnerEnum rebinnerEnum)
rebinnerEnum
- New value of property rebinner.public boolean isSliceRebinnedData()
public void setSliceRebinnedData(boolean sliceRebinnedData)
sliceRebinnedData
- New value of property sliceRebinnedData.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 DataSet getConsumedDataSet()
Renderer
getConsumedDataSet
in interface DataSetConsumer
getConsumedDataSet
in class Renderer
public void setDataSet(DataSet ds)
setDataSet
in class Renderer
public boolean isPrint300dpi()
public void setPrint300dpi(boolean print300dpi)
print300dpi
- New value of property draw300dpi.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.public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color fillColor)
fillColor
- New value of property fillColor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |