Interface ModalFrame<R>

Type Parameters:
R - The type of modal result this modal frame produces.
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:
AbstractModalFrame, DefaultModalFrame

public interface ModalFrame<R> extends Frame
A frame that supports modal interaction.
Author:
Garret Wilson
  • Field Details

    • RESULT_PROPERTY

      static final String RESULT_PROPERTY
      The result bound property.
  • Method Details

    • getResult

      R getResult()
      Returns:
      The result of this frame's modal interaction, or null if no result is given.
    • setResult

      void setResult(R newResult)
      Sets the modal result. This is a bound property that only fires a change event when the new value is different via the equals() method.
      Parameters:
      newResult - The new result of this frame's modal interaction, or null if no result is given.
      See Also: