Class NotesFactory.Dialog<T extends AbstractContainer>

    • Constructor Detail

      • Dialog

        public Dialog​(Dialog owner,
                      Dialog.ModalityType modality)
        Initializes the dialog.
        Parameters:
        owner - the component that controls the dialog
        modality - the type of modality
      • Dialog

        public Dialog​(Frame owner,
                      boolean modal)
        Initializes the dialog.
        Parameters:
        owner - the component that controls the dialog
        modal - if true then the dialog will be modal
    • Method Detail

      • initialize

        protected void initialize()
        For initializing members.
        Overrides:
        initialize in class BaseDialog
      • initGUI

        protected void initGUI()
        Initializes the components.
        Overrides:
        initGUI in class BaseDialog
      • adjustSize

        protected void adjustSize()
        Adjusts the size of the dialog.
      • setData

        public void setData​(List<T> value)
        Sets the data to display.
        Parameters:
        value - the underlying containers
      • getData

        public List<T> getData()
        Returns the underlying data.
        Returns:
        the containers