org.salespointframework.core.data.database
Class MssqlDatabaseConnection.MssqlConfigurationFS

java.lang.Object
  extended by org.salespointframework.core.FormSheet
      extended by org.salespointframework.core.data.database.MssqlDatabaseConnection.MssqlConfigurationFS
Enclosing class:
MssqlDatabaseConnection

private class MssqlDatabaseConnection.MssqlConfigurationFS
extends FormSheet

Configuration FormSheet

Since:
4.0
Author:
Thomas Kissinger

Nested Class Summary
 
Nested classes/interfaces inherited from class org.salespointframework.core.FormSheet
FormSheet.FormButton
 
Field Summary
private  javax.swing.JCheckBox cbAskPass
           
private  javax.swing.JComboBox cbxDb
           
private  MssqlDatabaseConnection dbc
           
private  javax.swing.JFileChooser fcImage
           
private  javax.swing.JPasswordField pfPass
           
private  javax.swing.JTextField taImage
           
private  javax.swing.JTextField tfDesc
           
private  javax.swing.JTextField tfHost
           
private  javax.swing.JTextField tfName
           
private  javax.swing.JTextField tfParams
           
private  javax.swing.JTextField tfUser
           
 
Fields inherited from class org.salespointframework.core.FormSheet
BTNID_CANCEL, BTNID_OK, BUTTONBAR_BOTTOM, BUTTONBAR_LEFT, BUTTONBAR_NONE, BUTTONBAR_RIGHT, BUTTONBAR_TOP, m_fCancelled
 
Constructor Summary
MssqlDatabaseConnection.MssqlConfigurationFS(MssqlDatabaseConnection dbc)
          Default constructor
 
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
 

Field Detail

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
Constructor Detail

MssqlDatabaseConnection.MssqlConfigurationFS

public MssqlDatabaseConnection.MssqlConfigurationFS(MssqlDatabaseConnection dbc)
Default constructor

Parameters:
dbc - connection to configure
Method Detail

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