Package hec.gfx2d
Class ViewportToolbarProp
java.lang.Object
hec.gfx2d.ViewportToolbarProp
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
Drawing properties for ViewportToolbar.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorCopy Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getClone()
getFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.void
readProperties
(BufferedReader in, String endTag) void
boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.void
writeProperties
(BufferedWriter writer, String endTag)
-
Field Details
-
defaultButton
public int defaultButtondefault button selection
-
-
Constructor Details
-
ViewportToolbarProp
public ViewportToolbarProp()Default Constructor -
ViewportToolbarProp
Copy Constructor
-
-
Method Details
-
getClone
-
set
-
addButtonProp
-
getButtonCount
public int getButtonCount() -
buttonElements
-
writeProperties
-
readProperties
-
getFieldObject
Description copied from interface:FieldAccessor
This method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObject
in interfaceFieldAccessor
- Parameters:
fld
- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessor
This allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObject
in 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
-