Package PamView.paneloverlay.overlaymark
Class MarkObserversPanel
java.lang.Object
PamView.paneloverlay.overlaymark.MarkObserversPanel
- All Implemented Interfaces:
PamDialogPanel
Simple panel of checkboxes which can be used by an overlay marker
(i.e. something that makes marks) to create a list of mark observers
which want to subscribe to and use those marks.
- Author:
- dg50
-
Constructor Summary
ConstructorDescriptionMarkObserversPanel
(OverlayMarker[] overlayMarkers) Construct a really simple swing panel to display a list of checkboxes for all mark observers. -
Method Summary
Modifier and TypeMethodDescriptionGet the awt component which will be incorporated into a larger display panel / component.boolean
void
setOverlayMarkers
(OverlayMarker[] overlayMarkers) void
Set the initial parameter values in the panel.
-
Constructor Details
-
MarkObserversPanel
Construct a really simple swing panel to display a list of checkboxes for all mark observers.- Parameters:
overlayMarker
-
-
-
Method Details
-
getDialogComponent
Description copied from interface:PamDialogPanel
Get the awt component which will be incorporated into a larger display panel / component.- Specified by:
getDialogComponent
in interfacePamDialogPanel
- Returns:
- an awt component.
-
setParams
public void setParams()Description copied from interface:PamDialogPanel
Set the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.- Specified by:
setParams
in interfacePamDialogPanel
-
getParams
public boolean getParams()- Specified by:
getParams
in interfacePamDialogPanel
- Returns:
- true if parameters all have acceptable values and the dialog can close.
-
setOverlayMarkers
-