|
||||||||||
| 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.StackedHistogramRenderer
public class StackedHistogramRenderer
| Nested Class Summary | |
|---|---|
static class |
StackedHistogramRenderer.PeaksIndicator
|
protected class |
StackedHistogramRenderer.RebinListener
|
class |
StackedHistogramRenderer.Rebinner
|
| Field Summary |
|---|
| Fields inherited from class org.das2.graph.Renderer |
|---|
ds, lastException, logger, propertyChangeSupport, renderException |
| Constructor Summary | |
|---|---|
StackedHistogramRenderer(DasPlot parent,
DataSetDescriptor dsd,
DasAxis zAxis,
DasLabelAxis yAxis)
|
|
| Method Summary | |
|---|---|
org.w3c.dom.Element |
getDOMElement(org.w3c.dom.Document document)
|
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. |
StackedHistogramRenderer.PeaksIndicator |
getPeaksIndicator()
Getter for property peaksIndicator. |
DasAxis |
getZAxis()
|
protected void |
installRenderer()
|
boolean |
isSliceRebinnedData()
Getter for property sliceRebinnedData. |
static Renderer |
processStackedHistogramElement(org.w3c.dom.Element element,
DasPlot parent,
FormBase form)
|
void |
propertyChange(java.beans.PropertyChangeEvent e)
|
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 |
setPeaksIndicator(StackedHistogramRenderer.PeaksIndicator peaksIndicator)
Setter for property peaksIndicator. |
void |
setSliceRebinnedData(boolean sliceRebinnedData)
Setter for property sliceRebinnedData. |
void |
setYAxis(DasAxis yAxis)
|
void |
setZAxis(DasAxis zAxis)
|
void |
setZTitle(java.lang.String title)
|
protected void |
uninstallRenderer()
|
void |
updatePlotImage(DasAxis xAxis,
DasAxis yAxis_1,
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 |
| Methods inherited from interface org.das2.dataset.DataSetConsumer |
|---|
getConsumedDataSet |
| Constructor Detail |
|---|
public StackedHistogramRenderer(DasPlot parent,
DataSetDescriptor dsd,
DasAxis zAxis,
DasLabelAxis yAxis)
| Method Detail |
|---|
public void render(java.awt.Graphics g,
DasAxis xAxis,
DasAxis yAxis,
ProgressMonitor mon)
Renderer
render in class Rendererprotected void installRenderer()
installRenderer in class Rendererprotected void uninstallRenderer()
uninstallRenderer in class Rendererpublic void setZAxis(DasAxis zAxis)
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenerpublic void setYAxis(DasAxis yAxis)
java.lang.IllegalArgumentException - if the yAxis is not an instanceof DasLabelAxis
public void updatePlotImage(DasAxis xAxis,
DasAxis yAxis_1,
ProgressMonitor monitor)
throws DasException
Renderer
updatePlotImage in class RendererDasExceptionpublic DasAxis getZAxis()
getZAxis in interface TableDataSetConsumerpublic void setZTitle(java.lang.String title)
public StackedHistogramRenderer.PeaksIndicator getPeaksIndicator()
public void setPeaksIndicator(StackedHistogramRenderer.PeaksIndicator peaksIndicator)
peaksIndicator - New value of property peaksIndicator.public boolean isSliceRebinnedData()
public void setSliceRebinnedData(boolean sliceRebinnedData)
sliceRebinnedData - New value of property sliceRebinnedData.public org.w3c.dom.Element getDOMElement(org.w3c.dom.Document document)
getDOMElement in class Renderer
public static Renderer processStackedHistogramElement(org.w3c.dom.Element element,
DasPlot parent,
FormBase form)
throws DasPropertyException,
DasNameException,
java.text.ParseException
DasPropertyException
DasNameException
java.text.ParseExceptionpublic 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 Displayable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||