Class ShapeDrawingAttribute

java.lang.Object
hec.map.aishape.ShapeDrawingAttribute
All Implemented Interfaces:
hec.io.AsciiSerializable, AiShapeConst, Serializable

public class ShapeDrawingAttribute extends Object implements AiShapeConst, hec.io.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)
      Specified by:
      getFieldObject in interface hec.io.AsciiSerializable
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Specified by:
      setFieldObject in interface hec.io.AsciiSerializable