Interface OptionDialogFrame<O>

    • Method Detail

      • getOptionContent

        Component getOptionContent()
        Returns:
        The component representing option contents, or null if this frame does not have an option contents component.
      • setOptionContent

        void setOptionContent​(Component newOptionContent)
        Sets the component representing option contents.
        Parameters:
        newOptionContent - The single option contents component, or null if this frame does not have an option contents component.
      • getOptionContainer

        Container getOptionContainer()
        Returns:
        The container containing the options.
      • getOptions

        java.util.List<O> getOptions()
        Returns:
        The read-only list of available options in order.
      • getOptionComponent

        Component getOptionComponent​(O option)
        Returns the component that represents the specified option.
        Parameters:
        option - The option for which a component should be returned.
        Returns:
        The component, such as a button, that represents the given option, or null if there is no component that represents the given option.