Interface IChooseValueDialog<T>

  • All Known Implementing Classes:
    ColorDialog, FontDialog, FormatStringDialog

    public interface IChooseValueDialog<T>
    This is a base class for dialogs that serve for choosing a new value for some field of an edited object(s). It has a single method getValue() that each descendant may implement its own way.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T getValue()
      Returns a value that user chose in the dialog.
      int open()
      Opens this window, creating it first if it has not yet been created.
    • Method Detail

      • getValue

        T getValue()
        Returns a value that user chose in the dialog. This method is supposed to be called after the dialog is closed.
      • open

        int open()
        Opens this window, creating it first if it has not yet been created.

        See Window.open()

        Returns:
        the return code