-
- All Known Implementing Classes:
DefaultPdoContextMenuFactory
public interface PdoContextMenuFactoryA factory for PDO context menus.
The context menus are used as popups.- Author:
- harald
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <S,T extends org.tentackle.pdo.PersistentDomainObject<T>>
javafx.scene.control.ContextMenucreate(PdoTableCell<S,T> cell)Creates a context menu for a table cell.<T extends org.tentackle.pdo.PersistentDomainObject<T>>
javafx.scene.control.ContextMenucreate(PdoTreeCell<T> cell)Creates a context menu for a tree cell.static PdoContextMenuFactorygetInstance()The singleton.
-
-
-
Method Detail
-
getInstance
static PdoContextMenuFactory getInstance()
The singleton.- Returns:
- the singleton
-
create
<T extends org.tentackle.pdo.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 org.tentackle.pdo.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
-
-