org.salespointframework.core.data.database
Class MysqlDatabaseConnection.MysqlConfigurationFS
java.lang.Object
org.salespointframework.core.FormSheet
org.salespointframework.core.data.database.MysqlDatabaseConnection.MysqlConfigurationFS
- Enclosing class:
- MysqlDatabaseConnection
private class MysqlDatabaseConnection.MysqlConfigurationFS
- extends FormSheet
Config FormSheet
for mysql connections
- Since:
- 4.0
- Author:
- Thomas Kissinger
Method Summary |
javax.swing.JComponent |
getFSComponent()
build the root component and sets its values to the ones given by connection |
void |
ok()
updates connection properties, if ok was pressed |
Methods inherited from class org.salespointframework.core.FormSheet |
addButton, addButton, addContentCreator, attach, attach, attach, buttonIterator, buttonIterator, cancel, close, copyFormSheetDnDComponents, customizeButtonbar, detachDisplay, detachProcess, detachSalesPoint, fillBtnPanel, getButton, getButtonbarPosition, getButtonsLock, getCaption, getComponent, getComponentLock, getDisplay, getDisplayLock, getDragLayer, getModalLayer, getPopupLayer, getProcess, getSalesPoint, getWrappedComponent, isCancelled, letFollowComponentOnDragLayer, paintButtonBarBackground, registerDnDComponent, removeAllButtons, removeAllDndComponents, removeButton, removeDnDComponent, setButtonbarPosition, setCaption, setComponent, setFormsheetCustomizationListener, setWaitResponse, stopFollowComponentOnDragLayer, toString, waitResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
dbc
private MysqlDatabaseConnection dbc
tfName
private javax.swing.JTextField tfName
tfDesc
private javax.swing.JTextField tfDesc
fcImage
private javax.swing.JFileChooser fcImage
taImage
private final javax.swing.JTextField taImage
tfHost
private javax.swing.JTextField tfHost
tfUser
private javax.swing.JTextField tfUser
pfPass
private javax.swing.JPasswordField pfPass
cbAskPass
private javax.swing.JCheckBox cbAskPass
cbxDb
private javax.swing.JComboBox cbxDb
tfParams
private javax.swing.JTextField tfParams
MysqlDatabaseConnection.MysqlConfigurationFS
public MysqlDatabaseConnection.MysqlConfigurationFS(MysqlDatabaseConnection dbc)
- Default constructor
- Parameters:
dbc
- connection to configure
ok
public void ok()
- updates connection properties, if ok was pressed
- Overrides:
ok
in class FormSheet
getFSComponent
public javax.swing.JComponent getFSComponent()
- build the root component and sets its values to the ones given by connection
- Returns:
- root component