|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.tentackle.ui.FormDialog
org.tentackle.appworx.AppDbObjectNaviDialog
public class AppDbObjectNaviDialog
Navigation dialog for a list of AppDbObjects.
This is just a dialog around a AppDbObjectNaviPanel.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AppDbObjectNaviDialog(AppDbObject obj,
Class[] selectClasses)
Creates a navigation dialog for a single object. |
|
AppDbObjectNaviDialog(AppDbObject obj,
Class[] selectClasses,
boolean showTable)
Creates a navigation dialog for a single object. |
|
AppDbObjectNaviDialog(List<? extends AppDbObject> list,
Class[] selectClasses)
Creates a navigation dialog for a list of objects. |
|
AppDbObjectNaviDialog(List<? extends AppDbObject> list,
Class[] selectClasses,
boolean showTable)
Creates a navigation dialog for a list of objects. |
|
AppDbObjectNaviDialog(Window owner,
AppDbObject obj,
Class[] selectClasses)
Creates a navigation dialog for a single object. |
|
AppDbObjectNaviDialog(Window owner,
AppDbObject obj,
Class[] selectClasses,
int buttonMode,
boolean showTable)
Creates a navigation dialog for a single object. |
|
AppDbObjectNaviDialog(Window owner,
List<? extends AppDbObject> list,
Class[] selectClasses)
Creates a navigation dialog for a list of objects. |
|
AppDbObjectNaviDialog(Window owner,
List<? extends AppDbObject> list,
Class[] selectClasses,
int buttonMode,
boolean showTable)
Creates a navigation dialog for a list of objects. |
|
| Method Summary | |
|---|---|
AppDbObjectNaviPanel |
getNaviPanel()
Gives access to the navigation panel. |
AppDbObject |
showDialog()
Displays the dialog. Waits for selection if the dialog is modal. |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.tentackle.ui.FormContainer |
|---|
getTitle, setTitle |
| Constructor Detail |
|---|
public AppDbObjectNaviDialog(Window owner,
List<? extends AppDbObject> list,
Class[] selectClasses,
int buttonMode,
boolean showTable)
owner - the owner window of this dialog, null if nonelist - the list of objectsselectClasses - the class allowed to select, null = nothing selectable (view only)buttonMode - the visibility of buttons, one of AppDbObjectNaviPanel.SHOW_...showTable - true if initially show the table view, false = tree view
public AppDbObjectNaviDialog(Window owner,
List<? extends AppDbObject> list,
Class[] selectClasses)
owner - the owner window of this dialog, null if nonelist - the list of objectsselectClasses - the class allowed to select, null = nothing selectable (view only)
public AppDbObjectNaviDialog(List<? extends AppDbObject> list,
Class[] selectClasses,
boolean showTable)
list - the list of objectsselectClasses - the class allowed to select, null = nothing selectable (view only)showTable - true if initially show the table view, false = tree view
public AppDbObjectNaviDialog(List<? extends AppDbObject> list,
Class[] selectClasses)
list - the list of objectsselectClasses - the class allowed to select, null = nothing selectable (view only)
public AppDbObjectNaviDialog(Window owner,
AppDbObject obj,
Class[] selectClasses,
int buttonMode,
boolean showTable)
owner - the owner window of this dialog, null if noneobj - the database objectselectClasses - the class allowed to select, null = nothing selectable (view only)buttonMode - the visibility of buttons, one of AppDbObjectNaviPanel.SHOW_...showTable - true if initially show the table view, false = tree view
public AppDbObjectNaviDialog(Window owner,
AppDbObject obj,
Class[] selectClasses)
owner - the owner window of this dialog, null if noneobj - the database objectselectClasses - the class allowed to select, null = nothing selectable (view only)
public AppDbObjectNaviDialog(AppDbObject obj,
Class[] selectClasses,
boolean showTable)
obj - the database objectselectClasses - the class allowed to select, null = nothing selectable (view only)showTable - true if initially show the table view, false = tree view
public AppDbObjectNaviDialog(AppDbObject obj,
Class[] selectClasses)
obj - the database objectselectClasses - the class allowed to select, null = nothing selectable (view only)| Method Detail |
|---|
public AppDbObjectNaviPanel getNaviPanel()
public AppDbObject showDialog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||