Package hec.map

Class AttributeInfo

java.lang.Object
hec.map.AttributeInfo
All Implemented Interfaces:
LabelIconObject

public class AttributeInfo extends Object implements LabelIconObject
  • Constructor Details

    • AttributeInfo

      public AttributeInfo()
    • AttributeInfo

      public AttributeInfo(String label, Icon icon)
  • Method Details

    • getIcon

      public Icon getIcon()
      Specified by:
      getIcon in interface LabelIconObject
      Returns:
      the icon
    • setIcon

      public void setIcon(Icon icon)
      Parameters:
      icon - the icon to set
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface LabelIconObject
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Parameters:
      label - the label to set