Class ResourceStatus

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
fr.ifremer.isisfish.ui.widget.status.ResourceStatus
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener
Direct Known Subclasses:
DiskStatus, MemoryStatus

public abstract class ResourceStatus extends JComponent implements ActionListener
Inspired by https://github.com/rapidminer/rapidminer-studio/blob/master/src/main/java/com/rapidminer/gui/tools/SystemMonitor.java
See Also:
  • Field Details

    • COLOR_MAX_RED

      public static final Color COLOR_MAX_RED
    • COLOR_MIN_BLUE

      public static final Color COLOR_MIN_BLUE
    • frc

      protected FontRenderContext frc
    • lm

      protected LineMetrics lm
    • timer

      protected Timer timer
    • max

      protected long max
    • current

      protected long current
    • formatString

      protected String formatString
  • Constructor Details

    • ResourceStatus

      protected ResourceStatus()
  • Method Details