Interface ContentComponent

All Superinterfaces:
Component, CompositeComponent, DepictedObject, Displayable, InfoModel, LabelModel, Model, PresentationModel, com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable
All Known Subinterfaces:
ApplicationFrame, DialogFrame<V>, FlyoverFrame, Frame, ModalFrame<R>, OptionDialogFrame<O>
All Known Implementing Classes:
AbstractApplicationFrame, AbstractDialogFrame, AbstractFlyoverFrame, AbstractFrame, AbstractModalFrame, AbstractOptionDialogFrame, CalendarDialogFrame, DefaultApplicationFrame, DefaultDialogFrame, DefaultFlyoverFrame, DefaultFrame, DefaultModalFrame, MessageOptionDialogFrame, NotificationOptionDialogFrame, ScrollControl

public interface ContentComponent extends CompositeComponent
A composite component that holds a child content component. The component's content is specified using setContent(Component).
Author:
Garret Wilson
  • Field Details

    • CONTENT_PROPERTY

      static final String CONTENT_PROPERTY
      The content bound property.
  • Method Details

    • getContent

      Component getContent()
      Returns:
      The content child component, or null if this component does not have a content child component.
    • setContent

      void setContent(Component newContent)
      Sets the content child component. This is a bound property
      Parameters:
      newContent - The content child component, or null if this component does not have a content child component.
      See Also: