Package hec.gfx2d
Class G2dPlotProp
java.lang.Object
hec.gfx2d.G2dPlotProp
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable,Cloneable
Drawing properties for gfx2d labels.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintplot column position in paneldoubleplot column weightintsets the number of columns that a plot usesbooleanflag indicating that plot contains x1 axisbooleanflag indicating that plot contains x1 axis labelbooleanflag indicating that plot contains x1 axis ticsbooleanflag indicating that plot contains x2 axisbooleanflag indicating that plot contains x2 axis labelbooleanflag indicating that plot contains x2 axis ticsbooleanflag indicating that plot contains x scrollbarbooleanflag indicating that plot contains y1 axisbooleanflag indicating that plot contains y1 axis labelbooleanflag indicating that plot contains y1 axis ticsbooleanflag indicating that plot contains y1 axisbooleanflag indicating that plot contains y2 axis labelbooleanflag indicating that plot contains y2 axis ticsbooleanflag indicating that plot contains y scrollbarintplot row position in panelintsets the number of rows that a plot usesdoubleplot row weightaxis property object defining x1 axisx1 axis label properties objectx1 axis tic properties objectaxis property object defining x2 axisx2 axis label properties objectx2 axis tic properties objectaxis property object defining y1 axisy1 axis label properties objecty1 axis tic properties objectaxis property object defining y2 axisy2 axis label properties objecty2 axis tic properties object -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetClone()getFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.voidreadProperties(BufferedReader in, String endTag) voidset(G2dPlotProp dp) booleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.voidwriteProperties(BufferedWriter writer, String endTag)
-
Field Details
-
col
public int colplot column position in panel -
row
public int rowplot row position in panel -
colweight
public double colweightplot column weight -
rowweight
public double rowweightplot row weight -
rowheight
public int rowheightsets the number of rows that a plot uses -
colwidth
public int colwidthsets the number of columns that a plot uses -
hasX1Axis
public boolean hasX1Axisflag indicating that plot contains x1 axis -
x1AxisProp
axis property object defining x1 axis -
hasX1Label
public boolean hasX1Labelflag indicating that plot contains x1 axis label -
x1LabelProp
x1 axis label properties object -
hasX1Tics
public boolean hasX1Ticsflag indicating that plot contains x1 axis tics -
x1TicsProp
x1 axis tic properties object -
hasX2Axis
public boolean hasX2Axisflag indicating that plot contains x2 axis -
x2AxisProp
axis property object defining x2 axis -
hasX2Label
public boolean hasX2Labelflag indicating that plot contains x2 axis label -
x2LabelProp
x2 axis label properties object -
hasX2Tics
public boolean hasX2Ticsflag indicating that plot contains x2 axis tics -
x2TicsProp
x2 axis tic properties object -
hasXScroll
public boolean hasXScrollflag indicating that plot contains x scrollbar -
hasY1Axis
public boolean hasY1Axisflag indicating that plot contains y1 axis -
y1AxisProp
axis property object defining y1 axis -
hasY1Label
public boolean hasY1Labelflag indicating that plot contains y1 axis label -
y1LabelProp
y1 axis label properties object -
hasY1Tics
public boolean hasY1Ticsflag indicating that plot contains y1 axis tics -
y1TicsProp
y1 axis tic properties object -
hasY2Axis
public boolean hasY2Axisflag indicating that plot contains y1 axis -
y2AxisProp
axis property object defining y2 axis -
hasY2Label
public boolean hasY2Labelflag indicating that plot contains y2 axis label -
y2LabelProp
y2 axis label properties object -
hasY2Tics
public boolean hasY2Ticsflag indicating that plot contains y2 axis tics -
y2TicsProp
y2 axis tic properties object -
hasYScroll
public boolean hasYScrollflag indicating that plot contains y scrollbar -
viewportDrawProp
-
-
Constructor Details
-
G2dPlotProp
public G2dPlotProp()Default Constructor -
G2dPlotProp
Copy Constructor
-
-
Method Details
-
writeProperties
-
readProperties
-
getClone
-
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
-