Class AbstractLabel

All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, Component, LabelComponent, Displayable, InfoModel, LabelModel, Model, PresentationModel, DepictedObject
Direct Known Subclasses:
Heading, Label

public abstract class AbstractLabel extends AbstractComponent implements LabelComponent
A abstract component the label of which comprises the main content of the component. This component installs a default export strategy supporting export of the following content types:
  • The label content type.
Author:
Garret Wilson
  • Field Details

    • DEFAULT_EXPORT_STRATEGY

      protected static final ExportStrategy<LabelComponent> DEFAULT_EXPORT_STRATEGY
      The default export strategy for this component type.
  • Constructor Details

    • AbstractLabel

      public AbstractLabel()
      Default constructor with a default info model.
    • AbstractLabel

      public AbstractLabel(InfoModel infoModel)
      Info model constructor.
      Parameters:
      infoModel - The component info model.
      Throws:
      NullPointerException - if the given label or model is null.