public class Rdc extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createGuiProvider(T pdo)
Creates a GUI-service object for a given PDO.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoEditDialog(Window owner,
T pdo,
boolean modal)
Creates a PDO edit dialog.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationDialog(List<T> list,
SelectionFilter selectionFilter)
Creates a navigation dialog for a list of objects.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationDialog(List<T> list,
SelectionFilter selectionFilter,
boolean showTable)
Creates a navigation dialog for a list of objects.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationDialog(T obj,
SelectionFilter selectionFilter)
Creates a navigation dialog for a single object.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationDialog(T obj,
SelectionFilter selectionFilter,
boolean showTable)
Creates a navigation dialog for a single object.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationDialog(Window owner,
List<T> list,
SelectionFilter selectionFilter)
Creates a navigation dialog for a list of objects.
|
static <T extends org.tentackle.pdo.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 org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationDialog(Window owner,
T obj,
SelectionFilter selectionFilter)
Creates a navigation dialog for a single object.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationDialog(Window owner,
T obj,
SelectionFilter selectionFilter,
int buttonMode,
boolean showTable)
Creates a navigation dialog for a single object.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationPanel(List<T> list)
Creates a navigation panel.
The preferences table name is determined by the first object. |
static <T extends org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationPanel(List<T> list,
SelectionFilter selectionFilter,
int buttonMode,
boolean showTable,
String tableName)
Creates a navigation panel.
|
static <T extends org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoNavigationPanel(T obj,
SelectionFilter selectionFilter,
int buttonMode,
boolean showTable,
String tableName)
Creates a navigation panel for a single object.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoSearchDialog(Component comp,
org.tentackle.pdo.DomainContext context,
Class<T> searchClass,
SelectionFilter selectionFilter,
boolean allowCreate,
boolean modal)
Creates a search dialog.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoSearchDialog(Component comp,
PdoSearch<T> pdoSearch,
SelectionFilter selectionFilter,
boolean allowCreate,
boolean modal)
Creates a search dialog.
|
static <T extends org.tentackle.pdo.PersistentDomainObject<T>> |
createPdoSearchDialog(org.tentackle.pdo.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. |
public static <T extends org.tentackle.pdo.PersistentDomainObject<T>> GuiProvider<T> createGuiProvider(T pdo)
T - the PDO classpdo - the PDOpublic static <T extends org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(List<T> list)
T - the pdo typelist - the list of objectspublic static <T extends org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.PersistentDomainObject<T>> PdoNavigationPanel<T> createPdoNavigationPanel(T obj)
T - the pdo typeobj - the database objectpublic static <T extends org.tentackle.pdo.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 org.tentackle.pdo.PersistentDomainObject<T>> PdoSearchDialog<T> createPdoSearchDialog(Component comp, org.tentackle.pdo.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 org.tentackle.pdo.PersistentDomainObject<T>> PdoSearchDialog<T> createPdoSearchDialog(org.tentackle.pdo.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()
Copyright © 2016 Krake Softwaretechnik. All rights reserved.