Class DefaultPdoContextMenuFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <S,​T extends org.tentackle.pdo.PersistentDomainObject<T>>
      javafx.scene.control.ContextMenu
      create​(PdoTableCell<S,​T> cell)
      Creates a context menu for a table cell.
      <T extends org.tentackle.pdo.PersistentDomainObject<T>>
      javafx.scene.control.ContextMenu
      create​(PdoTreeCell<T> cell)
      Creates a context menu for a tree cell.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultPdoContextMenuFactory

        public DefaultPdoContextMenuFactory()
        Creates the factory.
    • Method Detail

      • create

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

        public <S,​T extends org.tentackle.pdo.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