Package hec.gfx2d
Class AxisTicsDrawProp
java.lang.Object
hec.gfx2d.PlotProperties
hec.gfx2d.AxisTicsDrawProp
- All Implemented Interfaces:
AxisProperties,Cloneable
Drawing properties for gfx2d AxisTics.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanbooleanFont FamilyFont StyleintintintintintintFont FamilyFont StyleintintintintintintbooleanMajor Tic font informationbooleanMinor Tic font information -
Constructor Summary
ConstructorsModifierConstructorDescriptionDefault ConstructorCopy ConstructorprotectedAxisTicsDrawProp(String cls) -
Method Summary
Modifier and TypeMethodDescriptionGets the axisTicColor attribute of the AxisTicsDrawProp objectgetClone()Gets the clone attribute of the AxisTicsDrawProp objectgetFieldObject(Field fld) Gets the fieldObject attribute of the AxisTicsDrawProp objectstatic StringGets the fileName attribute of the AxisTicsDrawProp classintintintintintintintintintintstatic voidinit()booleanbooleanbooleanbooleanstatic booleanDescription of the Methodprotected static booleanloadDefaults(BufferedReader in, String endTag, String cls) voidreadProperties(BufferedReader in, String endTag) Description of the Methodvoidset(AxisTicsDrawProp dp) Description of the Methodvoidstatic voidsetDefaults(AxisTicsDrawProp defaultProps) Sets the defaults attribute of the AxisTicsDrawProp classvoidsetDrawMajorTicLabels(boolean drawMajorTicLabels) voidsetDrawMajorTics(boolean drawMajorTics) voidsetDrawMinorTicLabels(boolean drawMinorTicLabels) voidsetDrawMinorTics(boolean drawMinorTics) booleansetFieldObject(Field fld, Object fobj) Sets the fieldObject attribute of the AxisTicsDrawProp objectvoidvoidsetMajorTicFontFamily(String majorTicFontFamily) voidsetMajorTicFontSize(int fontSize) voidsetMajorTicFontStyle(int majorTicFontStyle) voidsetMajorTicLength(int i) voidsetMajorTicMaxFontSize(int majorTicMaxFontSize) voidsetMajorTicMinFontSize(int majorTicMinFontSize) voidsetMajorTicTinyFontSize(int fontSize) voidvoidsetMinorTicFontFamily(String minorTicFontFamily) voidsetMinorTicFontScaling(boolean minorTicFontScaling) voidsetMinorTicFontSize(int minorTicFontSize) voidsetMinorTicFontStyle(int minorTicFontStyle) voidsetMinorTicLength(int i) voidsetMinorTicMaxFontSize(int minorTicMaxFontSize) voidsetMinorTicMinFontSize(int minorTicMinFontSize) voidsetMinorTicTinyFontSize(int minorTicTinyFontSize) voidsetShowMajorTicLabels(boolean b) voidsetShowMajorTics(boolean b) voidsetShowMinorTicLabels(boolean b) voidsetShowMinorTics(boolean b) voidsetUseMajorTicFontScaling(boolean useMajorTicFontScaling) voidsetUseMinorTicFontScaling(boolean useMinorTicFontScaling) booleanbooleanDescription of the MethodbooleanbooleanDescription of the MethodbooleanDescription of the Methodbooleanbooleanstatic booleanDescription of the Methodstatic booleanwriteDefaults(BufferedWriter writer) protected static booleanwriteDefaults(String cls, BufferedWriter writer) voidwriteProperties(BufferedWriter writer, String endTag) Description of the MethodMethods inherited from class hec.gfx2d.PlotProperties
dumpDefaults, getDefaultBoolean, getDefaultColor, getDefaultDouble, getDefaultFloat, getDefaultFloatArray, getDefaultFont, getDefaultInsets, getDefaultInt, getDefaultObject, getDefaults, getDefaultString, isDefault, isDefault, isDefault, isDefault, isDefault, isDefault, isDefault, isDefault, isDefault, setDefault, setDefault, setDefault, setDefault, setDefault, setDefault, setDefault, setDefault, setDefault, setDefault, setDefaults
-
Field Details
-
drawMajorTics
public boolean drawMajorTics -
drawMajorTicLabels
public boolean drawMajorTicLabels -
drawMinorTics
public boolean drawMinorTics -
drawMinorTicLabels
public boolean drawMinorTicLabels -
minorTicLabelColor
-
majorTicLength
public int majorTicLength -
minorTicLength
public int minorTicLength -
axisTicColor
-
useMajorTicFontScaling
public boolean useMajorTicFontScalingMajor Tic font information -
majorTicFontSize
public int majorTicFontSize -
majorTicTinyFontSize
public int majorTicTinyFontSize -
majorTicMinFontSize
public int majorTicMinFontSize -
majorTicMaxFontSize
public int majorTicMaxFontSize -
majorTicFontStyle
public int majorTicFontStyle -
majorTicFontFamily
Font Style -
majorTicFont
Font Family -
useMinorTicFontScaling
public boolean useMinorTicFontScalingMinor Tic font information -
minorTicFontSize
public int minorTicFontSize -
minorTicTinyFontSize
public int minorTicTinyFontSize -
minorTicMinFontSize
public int minorTicMinFontSize -
minorTicMaxFontSize
public int minorTicMaxFontSize -
minorTicFontStyle
public int minorTicFontStyle -
minorTicFontFamily
Font Style -
minorTicFont
Font Family
-
-
Constructor Details
-
AxisTicsDrawProp
public AxisTicsDrawProp()Default Constructor -
AxisTicsDrawProp
-
AxisTicsDrawProp
Copy Constructor- Parameters:
dp- Description of Parameter
-
-
Method Details
-
init
public static void init() -
setShowMajorTics
public void setShowMajorTics(boolean b) - Specified by:
setShowMajorTicsin interfaceAxisProperties- Parameters:
b- True to show major axis tics, false otherwise
-
showMajorTicLabels
public boolean showMajorTicLabels()- Specified by:
showMajorTicLabelsin interfaceAxisProperties
-
setShowMajorTicLabels
public void setShowMajorTicLabels(boolean b) - Specified by:
setShowMajorTicLabelsin interfaceAxisProperties
-
setShowMinorTics
public void setShowMinorTics(boolean b) - Specified by:
setShowMinorTicsin interfaceAxisProperties
-
setShowMinorTicLabels
public void setShowMinorTicLabels(boolean b) - Specified by:
setShowMinorTicLabelsin interfaceAxisProperties
-
setMajorTicLength
public void setMajorTicLength(int i) -
setMinorTicLength
public void setMinorTicLength(int i) -
setAxisTicColor
- Specified by:
setAxisTicColorin interfaceAxisProperties
-
set
Description of the Method- Parameters:
dp- Description of Parameter
-
setFieldObject
Sets the fieldObject attribute of the AxisTicsDrawProp object- Parameters:
fld- The new fieldObject valuefobj- The new fieldObject value- Returns:
- Description of the Returned Value
-
getAxisTicColor
Gets the axisTicColor attribute of the AxisTicsDrawProp object- Specified by:
getAxisTicColorin interfaceAxisProperties- Returns:
- The axisTicColor value
-
getClone
Gets the clone attribute of the AxisTicsDrawProp object- Returns:
- The clone value
-
getFieldObject
Gets the fieldObject attribute of the AxisTicsDrawProp object- Parameters:
fld- Description of Parameter- Returns:
- The fieldObject value
-
showMajorTics
public boolean showMajorTics()Description of the Method- Specified by:
showMajorTicsin interfaceAxisProperties- Returns:
- Description of the Returned Value
-
showMinorTics
public boolean showMinorTics()Description of the Method- Specified by:
showMinorTicsin interfaceAxisProperties- Returns:
- Description of the Returned Value
-
showTicLabels
public boolean showTicLabels()Description of the Method- Returns:
- Description of the Returned Value
-
showMinorTicLabels
public boolean showMinorTicLabels()- Specified by:
showMinorTicLabelsin interfaceAxisProperties
-
writeProperties
Description of the Method- Parameters:
writer- Description of ParameterendTag- Description of Parameter
-
readProperties
Description of the Method- Parameters:
in- Description of ParameterendTag- Description of Parameter
-
setDefaults
Sets the defaults attribute of the AxisTicsDrawProp class- Parameters:
defaultProps- The new defaults value
-
getFileName
Gets the fileName attribute of the AxisTicsDrawProp class- Returns:
- The fileName value
-
writeDefaults
public static boolean writeDefaults()Description of the Method- Returns:
- Description of the Returned Value
-
writeDefaults
-
writeDefaults
-
loadDefaults
Description of the Method- Parameters:
in- Description of Parameter- Returns:
- Description of the Returned Value
-
loadDefaults
-
setMajorTicFontSize
public void setMajorTicFontSize(int fontSize) -
getMajorTicFontSize
public int getMajorTicFontSize() -
setMajorTicTinyFontSize
public void setMajorTicTinyFontSize(int fontSize) -
getMajorTicTinyFontSize
public int getMajorTicTinyFontSize() -
getMajorTicFontFamily
-
setMajorTicFontFamily
-
getMajorTicFontStyle
public int getMajorTicFontStyle() -
setMajorTicFontStyle
public void setMajorTicFontStyle(int majorTicFontStyle) -
getMajorTicMaxFontSize
public int getMajorTicMaxFontSize() -
setMajorTicMaxFontSize
public void setMajorTicMaxFontSize(int majorTicMaxFontSize) -
getMajorTicMinFontSize
public int getMajorTicMinFontSize() -
setMajorTicMinFontSize
public void setMajorTicMinFontSize(int majorTicMinFontSize) -
getMinorTicFontFamily
-
setMinorTicFontFamily
-
getMinorTicFontSize
public int getMinorTicFontSize() -
setMinorTicFontSize
public void setMinorTicFontSize(int minorTicFontSize) -
getMinorTicFontStyle
public int getMinorTicFontStyle() -
setMinorTicFontStyle
public void setMinorTicFontStyle(int minorTicFontStyle) -
getMinorTicMaxFontSize
public int getMinorTicMaxFontSize() -
setMinorTicMaxFontSize
public void setMinorTicMaxFontSize(int minorTicMaxFontSize) -
getMinorTicMinFontSize
public int getMinorTicMinFontSize() -
setMinorTicMinFontSize
public void setMinorTicMinFontSize(int minorTicMinFontSize) -
getMinorTicTinyFontSize
public int getMinorTicTinyFontSize() -
setMinorTicTinyFontSize
public void setMinorTicTinyFontSize(int minorTicTinyFontSize) -
isDrawMajorTicLabels
public boolean isDrawMajorTicLabels() -
setDrawMajorTicLabels
public void setDrawMajorTicLabels(boolean drawMajorTicLabels) -
isDrawMajorTics
public boolean isDrawMajorTics() -
setDrawMajorTics
public void setDrawMajorTics(boolean drawMajorTics) -
isDrawMinorTicLabels
public boolean isDrawMinorTicLabels() -
setDrawMinorTicLabels
public void setDrawMinorTicLabels(boolean drawMinorTicLabels) -
isDrawMinorTics
public boolean isDrawMinorTics() -
setDrawMinorTics
public void setDrawMinorTics(boolean drawMinorTics) -
useMinorTicFontScaling
public boolean useMinorTicFontScaling() -
setMinorTicFontScaling
public void setMinorTicFontScaling(boolean minorTicFontScaling) -
useMajorTicFontScaling
public boolean useMajorTicFontScaling() -
setUseMajorTicFontScaling
public void setUseMajorTicFontScaling(boolean useMajorTicFontScaling) -
setUseMinorTicFontScaling
public void setUseMinorTicFontScaling(boolean useMinorTicFontScaling) -
getMajorTicFont
-
setMajorTicFont
-
getMinorTicFont
-
setMinorTicFont
-