org.salespointframework.core.data.database
Class MysqlDatabaseConnection.MysqlConfigurationFS

java.lang.Object
  extended by org.salespointframework.core.FormSheet
      extended by 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

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  MysqlDatabaseConnection 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
MysqlDatabaseConnection.MysqlConfigurationFS(MysqlDatabaseConnection dbc)
          Default constructor
 
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
 

Field Detail

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

MysqlDatabaseConnection.MysqlConfigurationFS

public MysqlDatabaseConnection.MysqlConfigurationFS(MysqlDatabaseConnection dbc)
Default constructor

Parameters:
dbc - connection to configure
Method Detail

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