|
||||||||||
| 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 TableDataSetConsumerpublic 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 RendererDasExceptionprotected void installRenderer()
installRenderer in class Rendererprotected 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.ParseExceptionpublic org.w3c.dom.Element getDOMElement(org.w3c.dom.Document document)
getDOMElement in class Rendererpublic 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()
DisplayableString that will help the user
identify this item when choosing from a list.
getListLabel in interface Displayablepublic javax.swing.Icon getListIcon()
Displayablenull if there
is no icon available.
getListIcon in interface Displayablepublic DataSet getConsumedDataSet()
Renderer
getConsumedDataSet in interface DataSetConsumergetConsumedDataSet in class Rendererpublic void setDataSet(DataSet ds)
setDataSet in class Rendererpublic boolean isPrint300dpi()
public void setPrint300dpi(boolean print300dpi)
print300dpi - New value of property draw300dpi.
public boolean acceptContext(int x,
int y)
Renderer
acceptContext in class Rendererx - 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 | |||||||||