Class SelectFieldDialog

    • Constructor Detail

      • SelectFieldDialog

        public SelectFieldDialog​(Dialog owner)
        Creates a modal dialog.
        Parameters:
        owner - the owning dialog
      • SelectFieldDialog

        public SelectFieldDialog​(Dialog owner,
                                 String title)
        Creates a modal dialog.
        Parameters:
        owner - the owning dialog
        title - the title of the dialog
      • SelectFieldDialog

        public SelectFieldDialog​(Frame owner)
        Creates a modal dialog.
        Parameters:
        owner - the owning frame
      • SelectFieldDialog

        public SelectFieldDialog​(Frame owner,
                                 String title)
        Creates a modal dialog.
        Parameters:
        owner - the owning frame
        title - the title of the dialog
    • Method Detail

      • initGUI

        protected void initGUI()
        initializes the GUI elements.
        Overrides:
        initGUI in class ApprovalDialog
      • newPanel

        protected SelectFieldPanel newPanel()
        Returns a new instance of the panel to use in the GUI.
        Returns:
        the panel to use
      • setFieldType

        public void setFieldType​(FieldType value)
        Sets the field type.
        Parameters:
        value - the new field type
      • getFieldType

        public FieldType getFieldType()
        Returns the field type.
        Returns:
        the current field type
      • setItem

        public void setItem​(AbstractField value)
        Sets the initially selected set name.
        Parameters:
        value - the set name
      • getItem

        public AbstractField getItem()
        Returns the set name to load, null if none chosen or dialog canceled.
        Returns:
        the set name of the data to load
      • setItems

        public void setItems​(AbstractField[] value)
        Sets the initially selected set names.
        Parameters:
        value - the set names
      • getItems

        public AbstractField[] getItems()
        Returns the selected set names to load, null if none chosen or dialog canceled.
        Returns:
        the set names of the data to load