|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLayout.DisplayPanel
seismicVeto.VetoPluginPanelProvider.VetoPluginPanel
public class VetoPluginPanelProvider.VetoPluginPanel
The class that actually does the display work.
| Field Summary | |
|---|---|
(package private) int[] |
lastPlottedValues
|
(package private) int[] |
lastXValue
|
(package private) double |
maxValue
|
(package private) double |
minValue
|
private VetoPluginPanelProvider |
vetoPluginPanelProvider
|
private VetoProcess |
vetoProcess
|
(package private) PamAxis |
westAxis
|
| Fields inherited from class Layout.DisplayPanel |
|---|
displayPanelContainer, displayPanelProvider, plotBackground |
| Constructor Summary | |
|---|---|
VetoPluginPanelProvider.VetoPluginPanel(VetoPluginPanelProvider vetoPluginPanelProvider,
DisplayPanelContainer displayPanelContainer)
|
|
| Method Summary | |
|---|---|
void |
containerNotification(DisplayPanelContainer displayContainer,
int noteType)
Called by the DisplayPanelContainer whenever the scales change - e.g. |
void |
destroyPanel()
The displayPanelContainer should call destroyPanel when the panel is no longer required so that the displayPanel can unsubscribe to any data it was observing. |
java.lang.String |
getObserverName()
|
PamObserver |
getObserverObject()
|
long |
getRequiredDataHistory(PamObservable o,
java.lang.Object arg)
|
PamAxis |
getWestAxis()
|
(package private) int |
getYPixel(double value)
|
void |
masterClockUpdate(long milliSeconds,
long sampleNumber)
|
void |
noteNewSettings()
|
void |
removeObservable(PamObservable o)
called when an Observable (PamDataBlock) is removed from the system |
void |
setSampleRate(float sampleRate,
boolean notify)
New sample rate |
void |
update(PamObservable o,
PamDataUnit arg)
new data have arrived - work out what channel it's from and plot it. |
| Methods inherited from class Layout.DisplayPanel |
|---|
clearImage, clearImage, clearImage, createPopupMenu, getDisplayImage, getDisplayPanelContainer, getDisplayPanelProvider, getEastAxis, getInnerHeight, getInnerPanel, getInnerWidth, getNorthAxis, getPanel, getPanelBorder, getSouthAxis, repaint, repaint, setPanelBorder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private VetoPluginPanelProvider vetoPluginPanelProvider
private VetoProcess vetoProcess
PamAxis westAxis
double minValue
double maxValue
int[] lastPlottedValues
int[] lastXValue
| Constructor Detail |
|---|
public VetoPluginPanelProvider.VetoPluginPanel(VetoPluginPanelProvider vetoPluginPanelProvider,
DisplayPanelContainer displayPanelContainer)
| Method Detail |
|---|
public PamObserver getObserverObject()
getObserverObject in interface PamObserverpublic PamAxis getWestAxis()
getWestAxis in class DisplayPanel
public void containerNotification(DisplayPanelContainer displayContainer,
int noteType)
DisplayPanelThe display panel can use this information in two ways:
Firstly, it should clear the region of the display just ahead of the current spectrogram x coordinate. Secondly, it may draw additional data on the display.
containerNotification in class DisplayPanelint getYPixel(double value)
public void destroyPanel()
DisplayPanel
destroyPanel in class DisplayPanelpublic java.lang.String getObserverName()
getObserverName in interface PamObserver
public long getRequiredDataHistory(PamObservable o,
java.lang.Object arg)
getRequiredDataHistory in interface PamObservero - PamObservable class requiring the dataarg - optional argument from PamObservable
public void noteNewSettings()
noteNewSettings in interface PamObserverpublic void removeObservable(PamObservable o)
PamObserver
removeObservable in interface PamObserver
public void setSampleRate(float sampleRate,
boolean notify)
PamObserver
setSampleRate in interface PamObservernotify - Notify other PamObservers and PamObservables in the chain.
public void masterClockUpdate(long milliSeconds,
long sampleNumber)
masterClockUpdate in interface PamObserver
public void update(PamObservable o,
PamDataUnit arg)
update in interface PamObservero - Reference to the Observable (a PamDataBlock)arg - Reference to the new PamDataUnit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||