Package hec.gfx2d
Class ToolbarButtonProp
java.lang.Object
hec.gfx2d.ToolbarButtonProp
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable,Cloneable
Drawing properties for ViewportToolbar buttons.
- See Also:
-
Field Summary
Fields -
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(ToolbarButtonProp 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
-
up
-
down
-
over
-
on
-
adapter
-
toolTipText
-
cursorType
public int cursorType
-
-
Constructor Details
-
ToolbarButtonProp
public ToolbarButtonProp()Default Constructor -
ToolbarButtonProp
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
-