Package PamView.paneloverlay.overlaymark
Class MarkProvidersPanel
java.lang.Object
PamView.paneloverlay.overlaymark.MarkProvidersPanel
- All Implemented Interfaces:
PamDialogPanel
standard panel that can select mark providers
of particular types. Very undecorated to include in
other more complex dialogs. This will need to know the
name of the observed thing so that it can get data
from the centralised MarkRelationships.
- Author:
- dg50
-
Constructor Summary
ConstructorDescriptionMarkProvidersPanel
(OverlayMarkObserver markObserver, GeneralProjector.ParameterType[] parameterTypes) -
Method Summary
Modifier and TypeMethodDescriptionGet the awt component which will be incorporated into a larger display panel / component.boolean
void
Set the initial parameter values in the panel.
-
Constructor Details
-
MarkProvidersPanel
public MarkProvidersPanel(OverlayMarkObserver markObserver, GeneralProjector.ParameterType[] parameterTypes) - Parameters:
parameterTypes
-
-
-
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.
-