Package hec.gfx2d

Class DefaultPlotDefaults

java.lang.Object
hec.gfx2d.AbstractPlotDefaults
hec.gfx2d.DefaultPlotDefaults
All Implemented Interfaces:
PlotDefaults, PreferencesConstants

public class DefaultPlotDefaults extends AbstractPlotDefaults implements PreferencesConstants
Title: General CWMS Project Description: Copyright: Copyright (c) 2000 Company: RMA
  • Constructor Details

    • DefaultPlotDefaults

      public DefaultPlotDefaults()
  • Method Details

    • loadPlotComponentDefaults

      public boolean loadPlotComponentDefaults(Class plotCompClass)
      Loads the plot defaults for a particular component. The properties are loaded from a local file in the directory specified by the "user.home" property.
      Specified by:
      loadPlotComponentDefaults in interface PlotDefaults
      Parameters:
      plotCompClass - the class to load defaults for
      Returns:
      true if the load was successful.
    • getBufferedWriter

      public BufferedWriter getBufferedWriter(Class plotCompClass)
      Specified by:
      getBufferedWriter in interface PlotDefaults