public interface DatabaseManagerGUI
Modifier and Type | Interface and Description |
---|---|
static class |
DatabaseManagerGUI.DbStatus
The Enum DbStatus.
|
Modifier and Type | Field and Description |
---|---|
static int |
CANCEL
Value of the dialog status CANCEL.
|
static int |
OK
Value of the dialog status OK.
|
Modifier and Type | Method and Description |
---|---|
DatabaseManagerGUI.DbStatus |
getDatabaseStatus()
Gets the database status, OK indicates database connection was
made and database structure has been validated.
|
java.util.Properties |
getProperties()
Obtains the new Hibernate properties to connect to the
XBRL Database.
|
int |
getStatus()
Gets the dialog status constant.
|
void |
setDbStatus(DatabaseManagerBase.DatabaseConfigurationInformationStatus status,
boolean databaseAvailable)
Sets the current status of the connection to the database.
|
void |
setLocation(int i,
int j)
Sets the dialog location in the screen.
|
void |
setProperties(java.util.Properties dbProperties)
Sets the Hibernate properties for the connection to the
database.
|
void |
setVisible()
Sets the dialog visible and waits for user input.
|
void |
updateAllFields()
Called during a call to setProperties in order to
update the GUI interface with the new data.
|
static final int CANCEL
static final int OK
void setLocation(int i, int j)
i
- the ij
- the jvoid setProperties(java.util.Properties dbProperties)
dbProperties
- the new propertiesvoid setVisible()
int getStatus()
DatabaseManagerGUI.DbStatus getDatabaseStatus()
java.util.Properties getProperties()
void updateAllFields()
void setDbStatus(DatabaseManagerBase.DatabaseConfigurationInformationStatus status, boolean databaseAvailable)
status
- the statusdatabaseAvailable
- the database availableCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa