Interface ApplicationFrame

All Superinterfaces:
Component, CompositeComponent, ContentComponent, DepictedObject, Displayable, Frame, InfoModel, InputFocusableComponent, InputFocusGroupComponent, LabelModel, ModalComponent<Frame.Mode>, Model, PresentationModel, com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable
All Known Implementing Classes:
AbstractApplicationFrame, DefaultApplicationFrame

public interface ApplicationFrame extends Frame
The root frame of an application.
Author:
Garret Wilson
  • Method Details

    • getChildFrames

      Iterable<Frame> getChildFrames()
      Returns:
      An iterable to all child frames.
    • addChildFrame

      void addChildFrame(Frame frame)
      Adds a frame to the list of child frames. This method should usually only be called by the frames themselves.
      Parameters:
      frame - The frame to add.
      Throws:
      NullPointerException - if the given frame is null.
      IllegalArgumentException - if the given frame is this frame.
    • removeChildFrame

      void removeChildFrame(Frame frame)
      Removes a frame from the list of child frames. This method should usually only be called by the frames themselves.
      Parameters:
      frame - The frame to remove.
      Throws:
      NullPointerException - if the given frame is null.
      IllegalArgumentException - if the given frame is this frame.