Class DefaultPdoContextMenuFactory

    • Constructor Detail

      • DefaultPdoContextMenuFactory

        public DefaultPdoContextMenuFactory()
        Creates the factory.
    • Method Detail

      • create

        public <S,​T extends PersistentDomainObject<T>> javafx.scene.control.ContextMenu create​(PdoTableCell<S,​T> cell)
        Description copied from interface: PdoContextMenuFactory
        Creates a context menu for a table cell.
        Specified by:
        create in interface PdoContextMenuFactory
        Type Parameters:
        S - the table row's type
        T - the table cell's pdo type
        Parameters:
        cell - the table cell
        Returns:
        the context menu, null if no menu items
      • create

        public <S,​T extends PersistentDomainObject<T>> javafx.scene.control.ContextMenu create​(PdoTreeTableCell<S,​T> cell)
        Description copied from interface: PdoContextMenuFactory
        Creates a context menu for a tree table cell.
        Specified by:
        create in interface PdoContextMenuFactory
        Type Parameters:
        S - the table row's type
        T - the table cell's pdo type
        Parameters:
        cell - the table cell
        Returns:
        the context menu, null if no menu items