Class DatabaseExplorerModel
java.lang.Object
is.codion.swing.framework.model.tools.explorer.DatabaseExplorerModel
For instances use the factory method
databaseExplorerModel(Database, User)
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static DatabaseExplorerModel
databaseExplorerModel
(Database database, User user) Instantiates a newDatabaseExplorerModel
instance.void
populateSelected
(Consumer<String> schemaNotifier)
-
Method Details
-
schemaModel
-
definitionModel
-
domainSourceObserver
-
close
public void close() -
populateSelected
-
databaseExplorerModel
public static DatabaseExplorerModel databaseExplorerModel(Database database, User user) throws DatabaseException Instantiates a newDatabaseExplorerModel
instance.- Parameters:
database
- the database to connect touser
- the user to connect with- Returns:
- a new
DatabaseExplorerModel
instance - Throws:
DatabaseException
- in case of an exception while connecting to the database
-