Package hec.map.aishape
Class ShapeDrawingAttribute
java.lang.Object
hec.map.aishape.ShapeDrawingAttribute
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,AiShapeConst
,Serializable
public class ShapeDrawingAttribute
extends Object
implements AiShapeConst, AsciiSerializable, Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int[]
Fields inherited from interface hec.map.aishape.AiShapeConst
DEBUG, FILE_CODE, HIGHLIGHT_MODIFIER, QUERY_FLASH_LENGTH, SHAPE_TYPE_ARC, SHAPE_TYPE_MULTI_POINT, SHAPE_TYPE_NULL, SHAPE_TYPE_POINT, SHAPE_TYPE_POINT_M, SHAPE_TYPE_POINT_Z, SHAPE_TYPE_POLYGON, SHAPE_TYPE_POLYGON_M, SHAPE_TYPE_POLYGON_Z, SHAPE_TYPE_POLYLINE_M, SHAPE_TYPE_POLYLINE_Z, VERSION, XY_QUERY_TOLERANCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHighlightedIndex
(Integer shapeInt) void
void
clearHighlightedIndex
(Integer shapeInt) float
int
getColor()
getFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.boolean
isHighlighted
(int shapeIdx) boolean
isHighlighted
(Integer shapeInt) void
void
setBrushSize
(float f) void
setCenterPointGraphic
(int type) final void
boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.
-
Field Details
-
CENTER_POINT_GRAPHIC_NONE
public static final int CENTER_POINT_GRAPHIC_NONE- See Also:
-
CENTER_POINT_GRAPHIC_FORWARD_ARROW
public static final int CENTER_POINT_GRAPHIC_FORWARD_ARROW- See Also:
-
CENTER_POINT_GRAPHIC_REVERSE_ARROW
public static final int CENTER_POINT_GRAPHIC_REVERSE_ARROW- See Also:
-
CENTER_POINT_GRAPHIC_TYPES
public static final int[] CENTER_POINT_GRAPHIC_TYPES
-
-
Constructor Details
-
ShapeDrawingAttribute
public ShapeDrawingAttribute() -
ShapeDrawingAttribute
-
-
Method Details
-
setColor
-
getColor
-
isHighlighted
public boolean isHighlighted(int shapeIdx) -
isHighlighted
-
addHighlightedIndex
-
clearHighlightedIndex
-
setCenterPointGraphic
public void setCenterPointGraphic(int type) -
getCenterPointGraphic
public int getCenterPointGraphic() -
setBrushSize
public void setBrushSize(float f) -
getBrushSize
public float getBrushSize() -
addPropertyChangeListener
-
removePropertyChangeListener
-
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
-