|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfable.framework.ui.views.ColFileXYPlot
public class ColFileXYPlot
Field Summary | |
---|---|
org.eclipse.swt.widgets.Button |
updateButton
|
Constructor Summary | |
---|---|
ColFileXYPlot(org.eclipse.swt.widgets.Composite parent,
java.lang.String name,
java.lang.String xLabel,
java.lang.String yLabel)
ColFileXYPlot constructor |
Method Summary | |
---|---|
void |
addColumnFile(ColumnFile col)
Add a new columnFile object in the plot if it doesn't exist. |
void |
addDataView(fr.esrf.tangoatk.widget.util.chart.JLDataView dtV)
|
void |
clearAllPlots()
Clear all plots |
java.lang.String[] |
clickOnChart(fr.esrf.tangoatk.widget.util.chart.JLChartEvent e)
This function customize the value popup (request July 2008) Seen in JLchart snippet |
void |
createChart()
Create the JLChart and initialize it with default settings e.g. |
void |
dispose()
Dispose method, even though this is not a SWT Control. |
fr.esrf.tangoatk.widget.util.chart.JLChart |
getChart()
|
javax.swing.JApplet |
getChartContainer()
|
fr.esrf.tangoatk.widget.util.chart.JLDataView |
getCurrentDataView()
|
boolean |
getOptionsShowing()
|
java.util.Vector<fr.esrf.tangoatk.widget.util.chart.JLDataView> |
getVectordataview()
|
int[] |
markSelectedRows(double[] id,
java.lang.String name)
This method returns indices of the spot identified by its id and adds a new JLDatView to display theses spots in a different color |
void |
plotData(java.lang.String[] xyLabel)
|
void |
populateListsKeys(ColumnFile col)
Initialise x and y keys combo box with values to plot |
void |
removeDataView(fr.esrf.tangoatk.widget.util.chart.JLDataView dv)
|
void |
repaint()
|
void |
setOptionsShowing(boolean optionsShowing)
Set whether plot options are showing or not. |
void |
setSxAxisLabel(java.lang.String sxAxisLabel)
Set x axis label |
void |
setSyAxisLabel(java.lang.String syAxisLabel)
Set y axis label |
void |
updateChart()
Update the plot with the data from the currently selected ColumnFile and the currently selected indices. |
fr.esrf.tangoatk.widget.util.chart.JLDataView |
updateChart(double[] x,
double[] y)
Add a new data set with x and y values |
void |
updateColumnFile(ColumnFile col)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public org.eclipse.swt.widgets.Button updateButton
Constructor Detail |
---|
public ColFileXYPlot(org.eclipse.swt.widgets.Composite parent, java.lang.String name, java.lang.String xLabel, java.lang.String yLabel)
parent
- - compositename
- -chart nameyLabel
- - y label namexLabel
- - x label nameMethod Detail |
---|
public void setSyAxisLabel(java.lang.String syAxisLabel)
syAxisLabel
- public void setSxAxisLabel(java.lang.String sxAxisLabel)
sxAxisLabel
- public void populateListsKeys(ColumnFile col)
colandValues
- public void clearAllPlots()
public void createChart()
public java.lang.String[] clickOnChart(fr.esrf.tangoatk.widget.util.chart.JLChartEvent e)
clickOnChart
in interface fr.esrf.tangoatk.widget.util.chart.IJLChartListener
public int[] markSelectedRows(double[] id, java.lang.String name)
a
- list of spot idname
- the name of the id
public void updateChart()
public fr.esrf.tangoatk.widget.util.chart.JLDataView updateChart(double[] x, double[] y)
public void updateColumnFile(ColumnFile col)
public void addColumnFile(ColumnFile col)
col
- public void addDataView(fr.esrf.tangoatk.widget.util.chart.JLDataView dtV)
public void removeDataView(fr.esrf.tangoatk.widget.util.chart.JLDataView dv)
public void repaint()
public fr.esrf.tangoatk.widget.util.chart.JLChart getChart()
public javax.swing.JApplet getChartContainer()
public java.util.Vector<fr.esrf.tangoatk.widget.util.chart.JLDataView> getVectordataview()
public fr.esrf.tangoatk.widget.util.chart.JLDataView getCurrentDataView()
public void plotData(java.lang.String[] xyLabel)
xyLabel
- public void dispose()
public boolean getOptionsShowing()
public void setOptionsShowing(boolean optionsShowing)
optionsShowing
- Whether to show plot options.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |