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 voidstatic booleangetDefaultBoolean(String fieldName) static ColorgetDefaultColor(String fieldName) static doublegetDefaultDouble(String fieldName) static floatgetDefaultFloat(String fieldName) static float[]getDefaultFloatArray(String fieldName) static FontgetDefaultFont(String fieldName) static InsetsgetDefaultInsets(String fieldName) static intgetDefaultInt(String fieldName) static ObjectgetDefaultObject(String fieldName) protected static Mapstatic StringgetDefaultString(String fieldName) static StringGets the FileName attribute of the PlotProperties classstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanGets the Default attribute of the PlotProperties classstatic booleanGets the Default attribute of the PlotProperties classstatic booleanGets the Default attribute of the PlotProperties classstatic booleanstatic booleanloadDefaults(BufferedReader reader) Method Descriptionstatic voidsetDefault(String fieldName, boolean bool) static voidsetDefault(String fieldName, double dbl) static voidsetDefault(String fieldName, float flt) static voidsetDefault(String fieldName, float[] farray) static voidsetDefault(String fieldName, int i) static voidsetDefault(String fieldName, Color field) static voidsetDefault(String fieldName, Font field) static voidsetDefault(String fieldName, Insets field) protected static voidsetDefault(String fieldName, Object field) static voidsetDefault(String fieldName, String str) static booleansetDefaults(PlotProperties props) Sets the Defaults attribute of the PlotProperties classstatic booleanMethod Descriptionstatic booleanwriteDefaults(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()
-