Class PieLegendView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PieLegendView extends JPanel
Copyright (C) 2017 Hydrologic Engineering Center, United States Army Corps of Engineers, All Rights Reserved

HEC-Java NEXGEN

See Also:
  • Constructor Details

  • Method Details

    • getItem

      public PieLegendItemView getItem(RmaDataId sliceId)
    • setSelectedItem

      public void setSelectedItem(RmaDataId itemId)
    • clearSelectedItem

      public void clearSelectedItem()
    • handleKeyUp

      public void handleKeyUp()
    • handleKeyDown

      public void handleKeyDown()
    • paintComponent

      public void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • draw

      protected void draw(Graphics2D g2d, Rectangle area)
    • drawLegendBox

      protected void drawLegendBox(Graphics2D g2d, double legendX, double legendY, double width, double height)
    • drawLegendItems

      protected void drawLegendItems(Graphics2D g2d, double startX, double startY, double width, double height, int cols)
    • getWidestLegendItemWidth

      protected double getWidestLegendItemWidth(Graphics2D g2d)
    • getTallestLegendItemHeight

      protected double getTallestLegendItemHeight(Graphics2D g2d)