Interface PdoContextMenuFactory

All Known Implementing Classes:
DefaultPdoContextMenuFactory

public interface PdoContextMenuFactory
A factory for PDO context menus.
The context menus are used as popups.
Author:
harald
  • Method Details

    • getInstance

      static PdoContextMenuFactory getInstance()
      The singleton.
      Returns:
      the singleton
    • create

      <T extends PersistentDomainObject<T>> javafx.scene.control.ContextMenu create(PdoTreeCell<T> cell)
      Creates a context menu for a tree cell.
      Type Parameters:
      T - the PDO's class
      Parameters:
      cell - the tree cell
      Returns:
      the context menu, null if no menu items
    • create

      <S, T extends PersistentDomainObject<T>> javafx.scene.control.ContextMenu create(PdoTableCell<S,T> cell)
      Creates a context menu for a table cell.
      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

      <S, T extends PersistentDomainObject<T>> javafx.scene.control.ContextMenu create(PdoTreeTableCell<S,T> cell)
      Creates a context menu for a tree table cell.
      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