Package warnings

Class WarningLabel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, ColorManaged

public class WarningLabel extends PamLabel
See Also:
  • Constructor Details

    • WarningLabel

      public WarningLabel(Icon image, int horizontalAlignment)
    • WarningLabel

      public WarningLabel(String text, Icon icon, int horizontalAlignment)
    • WarningLabel

      public WarningLabel()
    • WarningLabel

      public WarningLabel(Icon image)
    • WarningLabel

      public WarningLabel(String text, int horizontalAlignment)
    • WarningLabel

      public WarningLabel(String text)
  • Method Details

    • setBackground

      public void setBackground(Color bg)
      Overrides:
      setBackground in class PamLabel
    • getWarningLevel

      public int getWarningLevel()
      Returns:
      the warningLevel
    • setWarningLevel

      public void setWarningLevel(int warningLevel)
      Parameters:
      warningLevel - the warningLevel to set