Package hec.gfx2d
Class G2dGlyphDrawProp
java.lang.Object
hec.gfx2d.G2dGlyphDrawProp
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable
Drawing properties for glyphs.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionFont FamilyintintFont Styleintintstatic final intstatic final intstatic final intintLine Spacingint -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy Constructor -
Method Summary
Modifier and TypeMethodDescriptionclone()intgetFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.intintvoidreadProperties(BufferedReader in, String endTag) voidset(G2dGlyphDrawProp dp) voidsetDrawingMode(int mode) booleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.voidsetLabelInterval(int interval) voidsetMajorMinorInterval(int interval) voidsetShowAllCurvesOnLegend(boolean b) voidsetShowLegendItems(boolean b) booleanbooleanvoidwriteProperties(BufferedWriter writer, String endTag)
-
Field Details
-
PLOT_USING_DEFAULT_LINE_STYLES
public static final int PLOT_USING_DEFAULT_LINE_STYLES- See Also:
-
PLOT_USING_MAJOR_MINOR_STYLES
public static final int PLOT_USING_MAJOR_MINOR_STYLES- See Also:
-
PLOT_USING_LABEL_INTERVALS
public static final int PLOT_USING_LABEL_INTERVALS- See Also:
-
fontSize
public int fontSize -
tinyFontSize
public int tinyFontSize -
minFontSize
public int minFontSize -
maxFontSize
public int maxFontSize -
fontStyle
public int fontStyleFont Style -
fontFamily
Font Family -
space
public int spaceLine Spacing -
lineProperties
-
polygonProperties
-
-
Constructor Details
-
G2dGlyphDrawProp
public G2dGlyphDrawProp()Default Constructor -
G2dGlyphDrawProp
Copy Constructor
-
-
Method Details
-
setDrawingMode
public void setDrawingMode(int mode) -
getDrawingMode
public int getDrawingMode() -
showLegendItems
public boolean showLegendItems() -
setShowLegendItems
public void setShowLegendItems(boolean b) -
showAllCurvesOnLegend
public boolean showAllCurvesOnLegend() -
setShowAllCurvesOnLegend
public void setShowAllCurvesOnLegend(boolean b) -
getMajorMinorInterval
public int getMajorMinorInterval() -
getLabelInterval
public int getLabelInterval() -
setMajorMinorInterval
public void setMajorMinorInterval(int interval) -
setLabelInterval
public void setLabelInterval(int interval) -
writeProperties
-
readProperties
-
clone
-
set
-
getFieldObject
Description copied from interface:FieldAccessorThis method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObjectin interfaceFieldAccessor- Parameters:
fld- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessorThis allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObjectin interfaceFieldAccessor- Parameters:
fld- The java field object representing the member field to be setfobj- The data to set in that field- Returns:
- returns true if successful
-