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 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

      public ShapeDrawingAttribute(Color c)
  • Method Details

    • setColor

      public final void setColor(Color c)
    • getColor

      public Color getColor()
    • isHighlighted

      public boolean isHighlighted(int shapeIdx)
    • isHighlighted

      public boolean isHighlighted(Integer shapeInt)
    • addHighlightedIndex

      public void addHighlightedIndex(Integer shapeInt)
    • clearHighlightedIndex

      public void clearHighlightedIndex(Integer shapeInt)
    • setCenterPointGraphic

      public void setCenterPointGraphic(int type)
    • getCenterPointGraphic

      public int getCenterPointGraphic()
    • setBrushSize

      public void setBrushSize(float f)
    • getBrushSize

      public float getBrushSize()
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener listener)
    • getFieldObject

      public Object getFieldObject(Field fld)
      Description copied from interface: FieldAccessor
      This method allows access to java.lang.reflect.Field objects within the implementing class.
      Specified by:
      getFieldObject in interface FieldAccessor
      Parameters:
      fld - The field to get.
      Returns:
      The data object that is stored in the given field
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Description copied from interface: FieldAccessor
      This allows access to fields withing the implementing object to set there data.
      Specified by:
      setFieldObject in interface FieldAccessor
      Parameters:
      fld - The java field object representing the member field to be set
      fobj - The data to set in that field
      Returns:
      returns true if successful