|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfable.framework.navigator.controller.SampleController
public class SampleController
Method Summary | |
---|---|
void |
addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
|
void |
addSample(Sample s)
|
void |
fireAddSample()
|
void |
fireCurrentFileHasChanged()
|
void |
fireCurrentSample(int index)
|
void |
fireSampleRemoved(Sample s)
|
void |
fireUpdateFiles()
This event is sent if a sample has new files. |
void |
fireUpdatePlot()
|
static SampleController |
getController()
|
FabioFile |
getCurrentFile()
23 oct. |
int |
getCurrentFileIndex()
|
Sample |
getCurrentsample()
|
int |
getCurrentsampleIndex()
|
void |
getFirstImage()
Send an event to all SampleController listener to do
something with the first image. |
java.lang.String[] |
getKeys()
|
void |
getLastImage()
Send an event to all SampleController listener to do
something with the last image. |
Sample |
getLastSample()
|
void |
getNext(int i)
|
int |
getNumberOfSample()
|
java.util.Vector<Sample> |
getSamples()
|
void |
propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
|
void |
removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
|
void |
removeSample(int index)
|
void |
removeSample(Sample s)
|
void |
setCurrentFileIndex(int index)
23 oct. |
void |
setCurrentSample(Sample s)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String[] getKeys() throws SampleException
SampleException
public static SampleController getController()
public void addSample(Sample s)
public void setCurrentSample(Sample s)
public Sample getCurrentsample()
public int getCurrentsampleIndex()
public int getNumberOfSample()
public Sample getLastSample()
public void removeSample(int index)
public void removeSample(Sample s)
public int getCurrentFileIndex()
public void setCurrentFileIndex(int index)
index
- edf index in samplepublic FabioFile getCurrentFile()
public void addPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
public void removePropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
public void fireCurrentFileHasChanged()
public void fireSampleRemoved(Sample s)
public void fireCurrentSample(int index)
public void fireAddSample()
public void fireUpdatePlot()
public void fireUpdateFiles()
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener
public java.util.Vector<Sample> getSamples()
public void getNext(int i)
i
- 1 to get next image or -1 to get previous imagepublic void getFirstImage()
SampleController
listener to do
something with the first image. See example in PeaksSptView
.
public void getLastImage()
SampleController
listener to do
something with the last image. See example in PeaksSptView
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |