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.void
readProperties
(BufferedReader in, String endTag) void
set
(ToolbarButtonProp dp) 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
-
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: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
-