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 TypeMethodDescriptionvoidintgetClone()getFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.voidreadProperties(BufferedReader in, String endTag) voidbooleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.voidwriteProperties(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: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
-