public class Rdc extends Object
| Modifier and Type | Method and Description |
|---|---|
static FormTable<?> |
createFormTable()
Creates a formtable.
|
static FormTable<?> |
createFormTable(TableModel model)
Creates a formtable for a given data model.
|
static <T extends PersistentDomainObject<T>> |
createGuiProvider(T pdo)
Creates a GUI-service object for a given PDO.
|
static <T extends PersistentDomainObject<T>> |
createPdoEditDialog(Window owner,
T pdo,
boolean modal)
Creates a PDO edit dialog.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationDialog(List<T> list,
SelectionFilter selectionFilter)
Creates a navigation dialog for a list of objects.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationDialog(List<T> list,
SelectionFilter selectionFilter,
boolean showTable)
Creates a navigation dialog for a list of objects.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationDialog(T obj,
SelectionFilter selectionFilter)
Creates a navigation dialog for a single object.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationDialog(T obj,
SelectionFilter selectionFilter,
boolean showTable)
Creates a navigation dialog for a single object.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationDialog(Window owner,
List<T> list,
SelectionFilter selectionFilter)
Creates a navigation dialog for a list of objects.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationDialog(Window owner,
List<T> list,
SelectionFilter selectionFilter,
int buttonMode,
boolean showTable)
Creates a navigation dialog for a list of objects.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationDialog(Window owner,
T obj,
SelectionFilter selectionFilter)
Creates a navigation dialog for a single object.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationDialog(Window owner,
T obj,
SelectionFilter selectionFilter,
int buttonMode,
boolean showTable)
Creates a navigation dialog for a single object.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationPanel(List<T> list)
Creates a navigation panel.
The preferences table name is determined by the first object. |
static <T extends PersistentDomainObject<T>> |
createPdoNavigationPanel(List<T> list,
SelectionFilter selectionFilter)
Creates a navigation panel.
The preferences table name is determined by the first object. |
static <T extends PersistentDomainObject<T>> |
createPdoNavigationPanel(List<T> list,
SelectionFilter selectionFilter,
int buttonMode,
boolean showTable)
Creates a navigation panel.
The preferences table name is determined by the first object. |
static <T extends PersistentDomainObject<T>> |
createPdoNavigationPanel(List<T> list,
SelectionFilter selectionFilter,
int buttonMode,
boolean showTable,
String tableName)
Creates a navigation panel.
|
static <T extends PersistentDomainObject<T>> |
createPdoNavigationPanel(T obj)
Creates a navigation panel for a single object.
The preferences table name is determined by the object. |
static <T extends PersistentDomainObject<T>> |
createPdoNavigationPanel(T obj,
SelectionFilter selectionFilter)
Creates a navigation panel for a single object.
The preferences table name is determined by the object. |
static <T extends PersistentDomainObject<T>> |
createPdoNavigationPanel(T obj,
SelectionFilter selectionFilter,
int buttonMode,
boolean showTable)
Creates a navigation panel for a single object.
The preferences table name is determined by the object. |
static <T extends PersistentDomainObject<T>> |
createPdoNavigationPanel(T obj,
SelectionFilter selectionFilter,
int buttonMode,
boolean showTable,
String tableName)
Creates a navigation panel for a single object.
|
static <T extends PersistentDomainObject<T>> |
createPdoSearchDialog(Component comp,
DomainContext context,
Class<T> searchClass,
SelectionFilter selectionFilter,
boolean allowCreate,
boolean modal)
Creates a search dialog.
|
static <T extends PersistentDomainObject<T>> |
createPdoSearchDialog(Component comp,
PdoSearch<T> pdoSearch,
SelectionFilter selectionFilter,
boolean allowCreate,
boolean modal)
Creates a search dialog.
|
static <T extends PersistentDomainObject<T>> |
createPdoSearchDialog(DomainContext context,
Class<T> searchClass,
SelectionFilter selectionFilter,
boolean allowCreate,
boolean modal)
Creates a search dialog.
|
static PdoTree |
createPdoTree()
Creates an empty tree.
|
static PdoTree |
createPdoTree(Collection<?> objects)
Creates a tree.
If the given object is a Collection the objects of the collection
will be shown in the tree. |
static PdoTree |
createPdoTree(Object object)
Creates a tree.
If the given object is a Collection the objects of the collection
will be shown in the tree. |
static FormTableUtilityPopup |
createPopup()
Creates a popup.
|
public static <T extends PersistentDomainObject<T>> GuiProvider<T> createGuiProvider(T pdo)
T - the PDO classpdo - the PDOpublic static <T extends PersistentDomainObject<T>> PdoEditDialog<T> createPdoEditDialog(Window owner, T pdo, boolean modal)
T - the PDO's classowner - the owner window, null if no ownerpdo - is the database objectmodal - is true if modal, else falsepublic static <T extends PersistentDomainObject<T>> PdoNavigationDialog<T> createPdoNavigationDialog(Window owner, List<T> list, SelectionFilter selectionFilter, int buttonMode, boolean showTable)
T - the pdo typeowner - the owner window of this dialog, null if nonelist - the list of objectsselectionFilter - filter selectable objects, null if nothing selectablebuttonMode - the visibility of buttons, one of PdoNavigationPanel.SHOW_...showTable - true if initially show the table view, false = tree viewpublic static <T extends PersistentDomainObject<T>> PdoNavigationDialog<T> createPdoNavigationDialog(Window owner, List<T> list, SelectionFilter selectionFilter)
T - the pdo typeowner - the owner window of this dialog, null if nonelist - the list of objectsselectionFilter - filter selectable objects, null if nothing selectablepublic static <T extends PersistentDomainObject<T>> PdoNavigationDialog<T> createPdoNavigationDialog(List<T> list, SelectionFilter selectionFilter, boolean showTable)
T - the pdo typelist - the list of objectsselectionFilter - filter selectable objects, null if nothing selectableshowTable - true if initially show the table view, false = tree viewpublic static <T extends PersistentDomainObject<T>> PdoNavigationDialog<T> createPdoNavigationDialog(List<T> list, SelectionFilter selectionFilter)
T - the pdo typelist - the list of objectsselectionFilter - filter selectable objects, null if nothing selectablepublic static <T extends PersistentDomainObject<T>> PdoNavigationDialog<T> createPdoNavigationDialog(Window owner, T obj, SelectionFilter selectionFilter, int buttonMode, boolean showTable)
T - the pdo typeowner - the owner window of this dialog, null if noneobj - the database objectselectionFilter - filter selectable objects, null if nothing selectablebuttonMode - the visibility of buttons, one of PdoNavigationPanel.SHOW_...showTable - true if initially show the table view, false = tree viewpublic static <T extends PersistentDomainObject<T>> PdoNavigationDialog<T> createPdoNavigationDialog(Window owner, T obj, SelectionFilter selectionFilter)
T - the pdo typeowner - the owner window of this dialog, null if noneobj - the database objectselectionFilter - filter selectable objects, null if nothing selectablepublic static <T extends PersistentDomainObject<T>> PdoNavigationDialog<T> createPdoNavigationDialog(T obj, SelectionFilter selectionFilter, boolean showTable)
T - the pdo typeobj - the database objectselectionFilter - filter selectable objects, null if nothing selectableshowTable - true if initially show the table view, false = tree viewpublic static <T extends PersistentDomainObject<T>> PdoNavigationDialog<T> createPdoNavigationDialog(T obj, SelectionFilter selectionFilter)
T - the pdo typeobj - the database objectselectionFilter - filter selectable objects, null if nothing selectablepublic static <T extends PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(List<T> list, SelectionFilter selectionFilter, int buttonMode, boolean showTable, String tableName)
T - the pdo typelist - the list of objectsselectionFilter - filter selectable objects, null if nothing selectablebuttonMode - the visibility of buttons, one of SHOW_...showTable - true if initially show the table view, false = tree viewtableName - the preferences tablename, null if preferences by getFormTableName() from 1st object in listpublic static <T extends PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(List<T> list, SelectionFilter selectionFilter, int buttonMode, boolean showTable)
T - the pdo typelist - the list of objectsselectionFilter - filter selectable objects, null if nothing selectablebuttonMode - the visibility of buttons, one of SHOW_...showTable - true if initially show the table view, false = tree viewpublic static <T extends PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(List<T> list, SelectionFilter selectionFilter)
T - the pdo typelist - the list of objectsselectionFilter - filter selectable objects, null if nothing selectablepublic static <T extends PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(List<T> list)
T - the pdo typelist - the list of objectspublic static <T extends PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(T obj, SelectionFilter selectionFilter, int buttonMode, boolean showTable, String tableName)
T - the pdo typeobj - the database objectselectionFilter - filter selectable objects, null if nothing selectablebuttonMode - the visibility of buttons, one of SHOW_...showTable - true if initially show the table view, false = tree viewtableName - the preferences tablename, null if preferences objectpublic static <T extends PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(T obj, SelectionFilter selectionFilter, int buttonMode, boolean showTable)
T - the pdo typeobj - the database objectselectionFilter - filter selectable objects, null if nothing selectablebuttonMode - the visibility of buttons, one of SHOW_...showTable - true if initially show the table view, false = tree viewpublic static <T extends PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(T obj, SelectionFilter selectionFilter)
T - the pdo typeobj - the database objectselectionFilter - filter selectable objects, null if nothing selectablepublic static <T extends PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(T obj)
T - the pdo typeobj - the database objectpublic static <T extends PersistentDomainObject<T>> PdoSearchDialog<T> createPdoSearchDialog(Component comp, PdoSearch<T> pdoSearch, SelectionFilter selectionFilter, boolean allowCreate, boolean modal)
T - the pdo typecomp - the component to determine the owner window, null if nonepdoSearch - the search pluginselectionFilter - filter selectable objects, null if nothing selectableallowCreate - true if "new"-button for creation of a new object of searchClassmodal - true if modal dialogpublic static <T extends PersistentDomainObject<T>> PdoSearchDialog<T> createPdoSearchDialog(Component comp, DomainContext context, Class<T> searchClass, SelectionFilter selectionFilter, boolean allowCreate, boolean modal)
T - the pdo typecomp - the component to determine the owner window, null if nonecontext - the database contextsearchClass - the object class'es table to search in, null = all tablesselectionFilter - filter selectable objects, null if nothing selectableallowCreate - true if "new"-button for creation of a new object of searchClassmodal - true if modal dialogpublic static <T extends PersistentDomainObject<T>> PdoSearchDialog<T> createPdoSearchDialog(DomainContext context, Class<T> searchClass, SelectionFilter selectionFilter, boolean allowCreate, boolean modal)
T - the pdo typecontext - the database contextsearchClass - the object class'es table to search in, null = all tablesselectionFilter - filter selectable objects, null if nothing selectableallowCreate - true if "new"-button for creation of a new object of searchClassmodal - true if modal dialogpublic static PdoTree createPdoTree(Collection<?> objects)
Collection the objects of the collection
will be shown in the tree. If it is some other object, only that
object is shown.PersistentDomainObjects.objects - the objects, null if empty treepublic static PdoTree createPdoTree(Object object)
Collection the objects of the collection
will be shown in the tree. If it is some other object, only that
object is shown.PersistentDomainObjects.object - the object or collection of objects, null if empty treepublic static PdoTree createPdoTree()
public static FormTable<?> createFormTable()
public static FormTable<?> createFormTable(TableModel model)
model - the data modelpublic static FormTableUtilityPopup createPopup()
Tentackle - a domain driven enterprise framework