Package hec.map

Class ModelDrawingAttributeSet.SymbolIcon

java.lang.Object
hec.map.ModelDrawingAttributeSet.SymbolIcon
All Implemented Interfaces:
Icon
Enclosing class:
ModelDrawingAttributeSet

protected static class ModelDrawingAttributeSet.SymbolIcon extends Object implements Icon
Class Description
  • Field Details

    • size

      protected float size
    • lineclr

      protected Color lineclr
    • fillclr

      protected Color fillclr
    • symbolType

      protected int symbolType
  • Constructor Details

    • SymbolIcon

      public SymbolIcon(int i)
      Constructor for the SymbolIcon object
      Parameters:
      i - Description
  • Method Details

    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Method Description
      Specified by:
      paintIcon in interface Icon
      Parameters:
      c - Description
      g - Description
      x - Description
      y - Description
    • getIconWidth

      public int getIconWidth()
      Gets the IconWidth attribute of the SymbolIcon object
      Specified by:
      getIconWidth in interface Icon
      Returns:
      The IconWidth value
    • getIconHeight

      public int getIconHeight()
      Gets the IconHeight attribute of the SymbolIcon object
      Specified by:
      getIconHeight in interface Icon
      Returns:
      The IconHeight value