Interface ModalNavigationPanel<R>

Type Parameters:
R - The type of modal result this modal navigation panel produces.
All Superinterfaces:
Box, Component, CompositeComponent, Container, DepictedObject, Displayable, InfoModel, Iterable<Component>, LabelModel, LayoutComponent, Model, Panel, PresentationModel, com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable
All Known Implementing Classes:
AbstractModalNavigationPanel, DefaultModalNavigationPanel

public interface ModalNavigationPanel<R> extends Panel
A panel that supports modal navigation.
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 navigation panel'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 navigation panel's modal interaction, or null if no result is given.
      See Also: