Class AbstractHtmlLabel

All Implemented Interfaces:
GComponent, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, SwingConstants
Direct Known Subclasses:
GDHtmlLabel, GHtmlLabel

public abstract class AbstractHtmlLabel extends JLabel implements GComponent, PropertyChangeListener
Base class for labels that render html using a custom rendering kit.

This implementation uses custom html rendering. This custom rendering allows for basic formatting while eliminating potentially unsafe html tags. If for some reason this custom rendering is deficient, clients can instead use a standard Java JLabel.

Clients do not need to prefix label text with "<html>", as is required for a standard JLabel.

See Also:
  • Constructor Details

    • AbstractHtmlLabel

      protected AbstractHtmlLabel()
    • AbstractHtmlLabel

      protected AbstractHtmlLabel(String text)
  • Method Details