Class WarningCountLabel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
com.inductiveautomation.ignition.client.util.gui.WarningCountLabel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class WarningCountLabel extends JLabel
A Label with a warning indicator to the right of some text. For custom text and tooltips override the getText(int) and getTooltip(int) methods.
See Also:
  • Constructor Details

    • WarningCountLabel

      public WarningCountLabel()
  • Method Details

    • setErrorCount

      public void setErrorCount(int errorCount)
    • getText

      protected String getText(int errorCount)
    • getTooltip

      protected String getTooltip(int errorCount)