-
- All Known Implementing Classes:
DefaultRdcFactory
public interface RdcFactoryA factory for FX-RDC-related stuff.- Author:
- harald
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends org.tentackle.pdo.PersistentDomainObject<T>>
PdoCrud<T>createPdoCrud(T pdo, boolean editable, boolean modal)Creates a CRUD controller for a pdo.<T extends org.tentackle.pdo.PersistentDomainObject<T>>
PdoSearch<T>createPdoSearch(T pdo)Creates a search controller for a pdo.<S,T extends org.tentackle.pdo.PersistentDomainObject<T>>
PdoTableCell<S,T>createTableCell()Creates a table cell for a pdo type.<S> TablePopup<S>createTablePopup(org.tentackle.fx.component.FxTableView<S> table, java.lang.String preferencesSuffix, boolean noViewSize, java.lang.String title)Creates a table popup.<T extends org.tentackle.pdo.PersistentDomainObject<T>>
PdoTreeCell<T>createTreeCell()Creates a tree cell for a pdo type.static RdcFactorygetInstance()The singleton.
-
-
-
Method Detail
-
getInstance
static RdcFactory getInstance()
The singleton.- Returns:
- the singleton
-
createPdoCrud
<T extends org.tentackle.pdo.PersistentDomainObject<T>> PdoCrud<T> createPdoCrud(T pdo, boolean editable, boolean modal)
Creates a CRUD controller for a pdo.- Type Parameters:
T- the pdo type- Parameters:
pdo- the pdoeditable- true if edit pdo, false to view onlymodal- true if modal mode- Returns:
- the crud controller
-
createPdoSearch
<T extends org.tentackle.pdo.PersistentDomainObject<T>> PdoSearch<T> createPdoSearch(T pdo)
Creates a search controller for a pdo.- Type Parameters:
T- the pdo type- Parameters:
pdo- the pdo- Returns:
- the search controller
-
createTreeCell
<T extends org.tentackle.pdo.PersistentDomainObject<T>> PdoTreeCell<T> createTreeCell()
Creates a tree cell for a pdo type.- Type Parameters:
T- the pdo type- Returns:
- the tree cell
-
createTableCell
<S,T extends org.tentackle.pdo.PersistentDomainObject<T>> PdoTableCell<S,T> createTableCell()
Creates a table cell for a pdo type.- Type Parameters:
S- the table row's typeT- the table cell's pdo type- Returns:
- the table cell
-
createTablePopup
<S> TablePopup<S> createTablePopup(org.tentackle.fx.component.FxTableView<S> table, java.lang.String preferencesSuffix, boolean noViewSize, java.lang.String title)
Creates a table popup.- Type Parameters:
S- the row type- Parameters:
table- the tablepreferencesSuffix- the preferences suffix to load/save table preferencesnoViewSize- true if don't set the table view's sizetitle- the title of the printed table- Returns:
- the popup
-
-