org.salespointframework.core.data.database
Class MssqlDatabaseConnection.MssqlConfigurationFS
java.lang.Object
org.salespointframework.core.FormSheet
org.salespointframework.core.data.database.MssqlDatabaseConnection.MssqlConfigurationFS
- Enclosing class:
- MssqlDatabaseConnection
private class MssqlDatabaseConnection.MssqlConfigurationFS
- extends FormSheet
Configuration FormSheet
- Since:
- 4.0
- Author:
- Thomas Kissinger
Method Summary |
javax.swing.JComponent |
getFSComponent()
builds the root component of this formsheet ands sets component values based on connections current properties. |
void |
ok()
updates connection properties when ok was clicked |
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 MssqlDatabaseConnection 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
MssqlDatabaseConnection.MssqlConfigurationFS
public MssqlDatabaseConnection.MssqlConfigurationFS(MssqlDatabaseConnection dbc)
- Default constructor
- Parameters:
dbc
- connection to configure
ok
public void ok()
- updates connection properties when ok was clicked
- Overrides:
ok
in class FormSheet
getFSComponent
public javax.swing.JComponent getFSComponent()
- builds the root component of this formsheet ands sets component values based on connections current properties.
- Returns:
- root component