- All Known Implementing Classes:
DefaultPdoContextMenuFactory
public interface PdoContextMenuFactory
A factory for PDO context menus.
The context menus are used as popups.
The context menus are used as popups.
- Author:
- harald
-
Method Summary
Modifier and TypeMethodDescription<S,T extends PersistentDomainObject<T>>
javafx.scene.control.ContextMenucreate(PdoTableCell<S, T> cell) Creates a context menu for a table cell.<T extends PersistentDomainObject<T>>
javafx.scene.control.ContextMenucreate(PdoTreeCell<T> cell) Creates a context menu for a tree cell.<S,T extends PersistentDomainObject<T>>
javafx.scene.control.ContextMenucreate(PdoTreeTableCell<S, T> cell) Creates a context menu for a tree table cell.static PdoContextMenuFactoryThe singleton.
-
Method Details
-
getInstance
The singleton.- Returns:
- the singleton
-
create
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 typeT- 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 typeT- the table cell's pdo type- Parameters:
cell- the table cell- Returns:
- the context menu, null if no menu items
-