Class GridbaseControl

java.lang.Object
PamController.PamControlledUnit
Map.gridbaselayer.GridbaseControl
All Implemented Interfaces:
PamSettings, SettingsNameProvider

public class GridbaseControl extends PamControlledUnit implements PamSettings
  • Field Details

  • Constructor Details

    • GridbaseControl

      public GridbaseControl(String unitName)
      Parameters:
      unitName -
  • Method Details

    • loadMapData

      public void loadMapData()
    • getSettingsReference

      public Serializable getSettingsReference()
      Specified by:
      getSettingsReference in interface PamSettings
      Returns:
      The serialisable object that will be stored
    • getSettingsVersion

      public long getSettingsVersion()
      Specified by:
      getSettingsVersion in interface PamSettings
      Returns:
      An integer version number for the settings
    • restoreSettings

      public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
      Specified by:
      restoreSettings in interface PamSettings
      Returns:
      true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
    • getImage

      public MapRasterImage getImage(double[] latRange, double[] lonRange, boolean forceRecreate)
    • getSwingPainter

      public GridSwingPainter getSwingPainter()
      Returns:
      the swingPainter