Class PieChartView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

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

HEC-Java NEXGEN

See Also:
  • Method Details

    • getSlice

      public PieSliceView getSlice(RmaDataId sliceId)
    • setSelectedSlice

      public void setSelectedSlice(RmaDataId sliceId)
    • clearSelectedSlice

      public void clearSelectedSlice()
    • 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)
    • areSliceLabelsVisible

      protected boolean areSliceLabelsVisible()
    • drawSlicesAndLabels

      protected void drawSlicesAndLabels(Graphics g, Point2D center, double maxRadius, Rectangle area)
    • drawSliceThresholds

      protected void drawSliceThresholds(Graphics2D g2d, Point2D center, double maxRadius)
    • drawSliceValues

      protected void drawSliceValues(Graphics2D g2d, Point2D center, double maxRadius)
    • drawBoundaries

      protected void drawBoundaries(Graphics2D g2d, Point2D center, double maxRadius)
    • drawThresholdsAndLabels

      protected void drawThresholdsAndLabels(Graphics2D g2d, Point2D center, double maxRadius)
    • drawRadialSum

      protected void drawRadialSum(Graphics2D g2d, Point2D center, double maxRadius, Rectangle2D rect)
    • drawSelection

      protected void drawSelection(Graphics2D g2d, Point2D center, double maxRadius)
    • drawThreshold

      protected void drawThreshold(Graphics2D g2d, Threshold threshold, Point2D center, double maxRadius, Ellipse2D markCircle)