Class OverlaySwingPanel

java.lang.Object
PamView.paneloverlay.OverlaySwingPanel
All Implemented Interfaces:
PamDialogPanel
Direct Known Subclasses:
OverlayMarkSwingPanel

public class OverlaySwingPanel extends Object implements PamDialogPanel
Standard swing panel for selecting overlay mark information. This includes a column of check boxes for selecting data and where they have a data selector, additional buttons for fine scale data selection.
Author:
dg50
  • Constructor Details

    • OverlaySwingPanel

      public OverlaySwingPanel(OverlayDataManager overlayDataManager, Window parentWindow)
      Parameters:
      overlayDataManager -
  • Method Details

    • getFirstFreeColumn

      public int getFirstFreeColumn()
      Returns:
      the index of the first free column in the gridbag layout.
    • getSwingPanel

      public JPanel getSwingPanel()
      Returns:
      the main panel components are added to.
    • 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
    • enableControls

      public void enableControls()
      Enable all the settings buttons based on checkbox state.
    • getParams

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