Class RootFileChart

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.jfree.chart.ChartPanel
be.gaudry.model.file.chart.RootFileChart
All Implemented Interfaces:
ActionListener, MouseListener, MouseMotionListener, ImageObserver, MenuContainer, Printable, Serializable, EventListener, Accessible, org.jfree.chart.event.ChartChangeListener, org.jfree.chart.event.ChartProgressListener, org.jfree.chart.event.OverlayChangeListener

public class RootFileChart extends org.jfree.chart.ChartPanel
Pie Chart with root file occupation(i.e. hard disk)
Since:
1.0 Sep 1, 2009
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • RootFileChart

      public RootFileChart()
  • Method Details

    • display

      public void display(File file, long totalSpace, long usedSpace, long freeSpace)
    • display

      public void display(File file)
    • display

      public void display(long totalSpace, long usedSpace, long freeSpace)
    • setLanguage

      public void setLanguage()
    • getUsedSpaceStr

      public String getUsedSpaceStr()
      Returns:
      the usedSpaceStr
    • getTotalSpaceStr

      public String getTotalSpaceStr()
      Returns:
      the totalSpaceStr
    • getFreeSpaceStr

      public String getFreeSpaceStr()
      Returns:
      the freeSpaceStr
    • getWarningPercentLimit

      public int getWarningPercentLimit()
      Returns:
      the warningPercentLimit
    • setWarningPercentLimit

      public void setWarningPercentLimit(int warningPercentLimit)
      Parameters:
      warningPercentLimit - the warningPercentLimit to set
    • getAlertPercentLimit

      public int getAlertPercentLimit()
      Returns:
      the alertPercentLimit
    • setAlertPercentLimit

      public void setAlertPercentLimit(int alertPercentLimit)
      Parameters:
      alertPercentLimit - the alertPercentLimit to set