Class DefaultRdcFactory

    • Constructor Detail

      • DefaultRdcFactory

        public DefaultRdcFactory()
    • Method Detail

      • createPdoCrud

        public <T extends PersistentDomainObject<T>> PdoCrud<T> createPdoCrud​(T pdo,
                                                                              boolean editable,
                                                                              boolean modal)
        Description copied from interface: RdcFactory
        Creates a CRUD controller for a pdo.
        Specified by:
        createPdoCrud in interface RdcFactory
        Type Parameters:
        T - the pdo type
        Parameters:
        pdo - the pdo
        editable - true if edit pdo, false to view only
        modal - true if modal mode
        Returns:
        the crud controller
      • createPdoSearch

        public <T extends PersistentDomainObject<T>> PdoSearch<T> createPdoSearch​(T pdo)
        Description copied from interface: RdcFactory
        Creates a search controller for a pdo.
        Specified by:
        createPdoSearch in interface RdcFactory
        Type Parameters:
        T - the pdo type
        Parameters:
        pdo - the pdo
        Returns:
        the search controller
      • createTreeCell

        public <T extends PersistentDomainObject<T>> PdoTreeCell<T> createTreeCell​(javafx.scene.control.TreeView<T> treeView)
        Description copied from interface: RdcFactory
        Creates a tree cell for a pdo type.
        Specified by:
        createTreeCell in interface RdcFactory
        Type Parameters:
        T - the pdo type
        Parameters:
        treeView - the tree view
        Returns:
        the tree cell
      • createTablePopup

        public <S> TablePopup<S> createTablePopup​(FxTableView<S> table,
                                                  String preferencesSuffix,
                                                  String title)
        Description copied from interface: RdcFactory
        Creates a table popup for a table view.
        Specified by:
        createTablePopup in interface RdcFactory
        Type Parameters:
        S - the row type
        Parameters:
        table - the table
        preferencesSuffix - the optional preferences suffix to load/save table preferences
        title - the optional title of the printed table
        Returns:
        the popup
      • createTablePopup

        public <S> TablePopup<S> createTablePopup​(FxTreeTableView<S> treeTable,
                                                  String preferencesSuffix,
                                                  String title)
        Description copied from interface: RdcFactory
        Creates a table popup for a tree table view.
        Specified by:
        createTablePopup in interface RdcFactory
        Type Parameters:
        S - the row type
        Parameters:
        treeTable - the treetable
        preferencesSuffix - the optional preferences suffix to load/save table preferences
        title - the optional title of the printed table
        Returns:
        the popup