com.sdm.quasar.client.showcase.swing.navigation
Class NavigationDialogConfig
java.lang.Object
com.sdm.quasar.client.showcase.swing.navigation.NavigationDialogConfig
- public class NavigationDialogConfig
- extends java.lang.Object
Context configuration object for the
NavigationDialog.
This class defines the structure of the navigation menu and which dialog
should be displayed, when no node is selected.
The value for the menu definition is an array of entries, one for each entry in the navigation menu.
Each entry is an array of four values:
- The depth of the menu entry as a String parsable into an Integer. The highest level is "1".
- The title of the node displayed in the navigation menu, a human readable string.
- The dialog id of dialog that should be displayed when this entry is selected.
- The context object that should be passed to the dialog upon creation.
- Version:
- 1.0
- Author:
- Thomas Wolf, sd&m AG, Martin Haft, sd&m AG, Bernd Olleck, sd&m AG
|
Constructor Summary |
NavigationDialogConfig(java.lang.String noSelectionDialogId,
java.lang.Object noSelectionDialogContext,
java.lang.Object[][] navigationMenu)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationDialogConfig
public NavigationDialogConfig(java.lang.String noSelectionDialogId,
java.lang.Object noSelectionDialogContext,
java.lang.Object[][] navigationMenu)
- Constructor.
- Parameters:
noSelectionDialogId - the id of the dialog that should be displayed when no menu item is selectednoSelectionDialogContext - the creation context of the dialog that should be displayed when no menu item is selectednavigationMenu - the definition of the menu, see NavigationDialogConfig for information about the value
getNoSelectionDialogContext
public java.lang.Object getNoSelectionDialogContext()
- Returns:
- the creation context of the dialog that should be displayed when no menu item is selected
getNoSelectionDialogId
public java.lang.String getNoSelectionDialogId()
- Returns:
- the id of the dialog that should be displayed when no menu item is selected
getNavigationMenu
public java.lang.Object[][] getNavigationMenu()
- Returns:
- the definition of the menu, see
NavigationDialogConfig for information about the value