Package hec.gfx2d
Class PlotProperties
java.lang.Object
hec.gfx2d.PlotProperties
- Direct Known Subclasses:
AxisTicsDrawProp
,G2dLabelDrawProp
,G2dLineProperties
,G2dMarkerPointProperties
,G2dMarkerProperties
,G2dPanelProp
,LegendPanelProp
,ViewportDrawProp
Title: General CWMS Project Description: Copyright: Copyright (c) 2000
Company: RMA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static boolean
getDefaultBoolean
(String fieldName) static Color
getDefaultColor
(String fieldName) static double
getDefaultDouble
(String fieldName) static float
getDefaultFloat
(String fieldName) static float[]
getDefaultFloatArray
(String fieldName) static Font
getDefaultFont
(String fieldName) static Insets
getDefaultInsets
(String fieldName) static int
getDefaultInt
(String fieldName) static Object
getDefaultObject
(String fieldName) protected static Map
static String
getDefaultString
(String fieldName) static String
Gets the FileName attribute of the PlotProperties classstatic boolean
static boolean
static boolean
static boolean
static boolean
static boolean
Gets the Default attribute of the PlotProperties classstatic boolean
Gets the Default attribute of the PlotProperties classstatic boolean
Gets the Default attribute of the PlotProperties classstatic boolean
static boolean
loadDefaults
(BufferedReader reader) Method Descriptionstatic void
setDefault
(String fieldName, boolean bool) static void
setDefault
(String fieldName, double dbl) static void
setDefault
(String fieldName, float flt) static void
setDefault
(String fieldName, float[] farray) static void
setDefault
(String fieldName, int i) static void
setDefault
(String fieldName, Color field) static void
setDefault
(String fieldName, Font field) static void
setDefault
(String fieldName, Insets field) protected static void
setDefault
(String fieldName, Object field) static void
setDefault
(String fieldName, String str) static boolean
setDefaults
(PlotProperties props) Sets the Defaults attribute of the PlotProperties classstatic boolean
Method Descriptionstatic boolean
writeDefaults
(BufferedWriter writer)
-
Constructor Details
-
PlotProperties
public PlotProperties()
-
-
Method Details
-
getFileName
Gets the FileName attribute of the PlotProperties class- Returns:
- The FileName value
-
loadDefaults
Method Description- Parameters:
reader
- Description- Returns:
- Description
-
setDefaults
Sets the Defaults attribute of the PlotProperties class- Parameters:
props
- The new Defaults value- Returns:
- Description
-
writeDefaults
public static boolean writeDefaults()Method Description- Returns:
- Description
-
writeDefaults
-
isDefault
Gets the Default attribute of the PlotProperties class- Parameters:
fieldName
- Description- Returns:
- The Default value
-
isDefault
Gets the Default attribute of the PlotProperties class- Parameters:
fieldName
- Description- Returns:
- The Default value
-
isDefault
- Parameters:
fieldName
- Description- Returns:
- The Default value
-
isDefault
- Parameters:
fieldName
- Description- Returns:
- The Default value
-
isDefault
- Parameters:
fieldName
- Description- Returns:
- The Default value
-
isDefault
- Parameters:
fieldName
- Description- Returns:
- The Default value
-
isDefault
- Parameters:
fieldName
- Description- Returns:
- The Default value
-
isDefault
- Parameters:
fieldName
- Description- Returns:
- The Default value
-
isDefault
Gets the Default attribute of the PlotProperties class- Parameters:
fieldName
- Description- Returns:
- The Default value
-
setDefault
- Parameters:
fieldName
- The new Default value
-
setDefault
- Parameters:
fieldName
- The new Default value
-
setDefault
- Parameters:
fieldName
- The new Default value
-
setDefault
- Parameters:
fieldName
- The new Default value
-
setDefault
- Parameters:
fieldName
- The new Default valuefield
- The new Default value
-
setDefault
- Parameters:
fieldName
- The new Default valuefield
- The new Default value
-
setDefault
-
setDefault
- Parameters:
fieldName
- The new Default valuefield
- The new Default value
-
setDefault
- Parameters:
fieldName
- The new Default value
-
setDefault
- Parameters:
fieldName
- The new Default value
-
getDefaultInt
- Parameters:
fieldName
- Description- Returns:
- The DefaultInt value
-
getDefaultDouble
- Parameters:
fieldName
- Description- Returns:
- The DefaultInt value
-
getDefaultFloat
- Parameters:
fieldName
- Description- Returns:
- The DefaultInt value
-
getDefaultObject
-
getDefaultString
- Parameters:
fieldName
- Description- Returns:
- The DefaultInt value
-
getDefaultBoolean
- Parameters:
fieldName
- Description- Returns:
- The DefaultInt value
-
getDefaultFloatArray
- Parameters:
fieldName
- Description- Returns:
- The DefaultInt value
-
getDefaultColor
- Parameters:
fieldName
- Description- Returns:
- The DefaultInt value
-
getDefaultFont
- Parameters:
fieldName
- Description- Returns:
- The DefaultFont value
-
getDefaultInsets
- Parameters:
fieldName
- Description- Returns:
- The DefaultInt value
-
getDefaults
- Returns:
- The Defaults value
-
dumpDefaults
public static void dumpDefaults()
-