Class MarkObserversPanel

java.lang.Object
PamView.paneloverlay.overlaymark.MarkObserversPanel
All Implemented Interfaces:
PamDialogPanel

public class MarkObserversPanel extends Object implements 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 Details

    • MarkObserversPanel

      public MarkObserversPanel(OverlayMarker[] overlayMarkers)
      Construct a really simple swing panel to display a list of checkboxes for all mark observers.
      Parameters:
      overlayMarker -
  • Method Details

    • getDialogComponent

      public JComponent getDialogComponent()
      Description copied from interface: PamDialogPanel
      Get the awt component which will be incorporated into a larger display panel / component.
      Specified by:
      getDialogComponent in interface PamDialogPanel
      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 interface PamDialogPanel
    • getParams

      public boolean getParams()
      Specified by:
      getParams in interface PamDialogPanel
      Returns:
      true if parameters all have acceptable values and the dialog can close.
    • setOverlayMarkers

      public void setOverlayMarkers(OverlayMarker[] overlayMarkers)