|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLayout.DisplayPanel
IshmaelLocator.IshLocGraphics.IshDisplayPanel
class IshLocGraphics.IshDisplayPanel
| Field Summary | |
|---|---|
(package private) IshLocGraphics |
ishLocGraphics
|
(package private) PamDataBlock |
ishmaelDataHy
|
(package private) PamDataBlock |
ishmaelDataPr
|
(package private) int |
lastX
|
(package private) int |
lastY
|
(package private) float |
sampleRate
|
| Fields inherited from class Layout.DisplayPanel |
|---|
displayPanelContainer, displayPanelProvider, plotBackground |
| Constructor Summary | |
|---|---|
IshLocGraphics.IshDisplayPanel(DisplayPanelProvider displayPanelProvider,
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)
|
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 dataUnit1)
Informs the PamObserver that new data have been added to the Observable class |
| Methods inherited from class Layout.DisplayPanel |
|---|
clearImage, clearImage, clearImage, createPopupMenu, getDisplayImage, getDisplayPanelContainer, getDisplayPanelProvider, getEastAxis, getInnerHeight, getInnerPanel, getInnerWidth, getNorthAxis, getPanel, getPanelBorder, getSouthAxis, getWestAxis, repaint, repaint, setPanelBorder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
IshLocGraphics ishLocGraphics
PamDataBlock ishmaelDataPr
PamDataBlock ishmaelDataHy
float sampleRate
int lastX
int lastY
| Constructor Detail |
|---|
public IshLocGraphics.IshDisplayPanel(DisplayPanelProvider displayPanelProvider,
DisplayPanelContainer displayPanelContainer)
| Method Detail |
|---|
public PamObserver getObserverObject()
getObserverObject in interface PamObserver
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 DisplayPanelpublic 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 masterClockUpdate(long milliSeconds,
long sampleNumber)
masterClockUpdate 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 update(PamObservable o,
PamDataUnit dataUnit1)
PamObserver
update in interface PamObservero - Reference to the Observable (a PamDataBlock)dataUnit1 - Reference to the new PamDataUnit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||