Package hec.map

Class ColorContourLegendItem

All Implemented Interfaces:
LegendItem, ImageObserver, MenuContainer, Serializable

public class ColorContourLegendItem extends AbstractLegendItem

Title: Hec Java Development

Description:

Copyright: Copyright (c) 2004

Company: Resource Management Assoc

See Also:
  • Constructor Details

    • ColorContourLegendItem

      public ColorContourLegendItem()
  • Method Details

    • setColorContour

      public void setColorContour(ColorContour cc)
      Sets the color contour that will be used in drawing the legend item to the screen.
      Parameters:
      cc - ColorContour
    • setColorContour

      public void setColorContour(ColorContourRecord ccRecord)
    • draw

      public void draw(Graphics g, MapScale scl)
      Description copied from class: AbstractLegendItem
      This method is the entry point for drawing. All drawing will be done to the graphics context passed in here as a parameter.
      Specified by:
      draw in interface LegendItem
      Specified by:
      draw in class AbstractLegendItem
      Parameters:
      g - Graphics
    • updateLabels

      public void updateLabels()
    • paintScale

      public void paintScale(int width, int height)
    • setTicInterval

      public void setTicInterval(double tic)