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

public class HeaderLabel extends JLabel
Just a JLabel that uses BOLD, 11pt font
See Also:
  • Field Details

    • FONT

      public static final Font FONT
  • Constructor Details

    • HeaderLabel

      public HeaderLabel(String text)
      Creates a new header label with the given text. Please use forKey(String) and use a resource key
  • Method Details

    • forKey

      public static HeaderLabel forKey(String bundleKey)
      Creates a header label using the text found through the BundleUtil for the given key. Also, tries to assign a tooltip using the key bundleKey + ".Tooltip"
    • setHeaderFor

      public void setHeaderFor(JComponent comp)
      Binds the label's enabled to the comp's enabled