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 intstatic final intstatic final intstatic 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 TypeMethodDescriptionvoidaddHighlightedIndex(Integer shapeInt) voidvoidclearHighlightedIndex(Integer shapeInt) floatintgetColor()getFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.booleanisHighlighted(int shapeIdx) booleanisHighlighted(Integer shapeInt) voidvoidsetBrushSize(float f) voidsetCenterPointGraphic(int type) final voidbooleansetFieldObject(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: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
-