Package hec.gfx2d
Class DefaultPlotDefaults
java.lang.Object
hec.gfx2d.AbstractPlotDefaults
hec.gfx2d.DefaultPlotDefaults
- All Implemented Interfaces:
PlotDefaults,PreferencesConstants
Title: General CWMS Project
Description:
Copyright: Copyright (c) 2000
Company: RMA
-
Field Summary
Fields inherited from class hec.gfx2d.AbstractPlotDefaults
emptyClsArgs, emptyObjArgs, loadDefaultsClsArgs, m_plotDefaultsTable, PROGRAM_DEFAULTSFields inherited from interface hec.lang.PreferencesConstants
CWMS_ALL, CWMS_WATERSHED, NO_LOCATION, USER_ALL, USER_WATERSHED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBufferedWriter(Class plotCompClass) booleanloadPlotComponentDefaults(Class plotCompClass) Loads the plot defaults for a particular component.Methods inherited from class hec.gfx2d.AbstractPlotDefaults
getDefaultsTable, loadDefaults
-
Constructor Details
-
DefaultPlotDefaults
public DefaultPlotDefaults()
-
-
Method Details
-
loadPlotComponentDefaults
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:
loadPlotComponentDefaultsin interfacePlotDefaults- Parameters:
plotCompClass- the class to load defaults for- Returns:
- true if the load was successful.
-
getBufferedWriter
- Specified by:
getBufferedWriterin interfacePlotDefaults
-