org.salespointframework.core.data.database
Class SqliteDatabaseConnection.SqliteConfigurationFS

java.lang.Object
  extended by org.salespointframework.core.FormSheet
      extended by org.salespointframework.core.data.database.SqliteDatabaseConnection.SqliteConfigurationFS
Enclosing class:
SqliteDatabaseConnection

private class SqliteDatabaseConnection.SqliteConfigurationFS
extends FormSheet

config FormSheet for sqlite 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  SqliteDatabaseConnection dbc
           
private  javax.swing.JFileChooser fcFilename
           
private  javax.swing.JFileChooser fcImage
           
private  javax.swing.JTextField taFilename
           
private  javax.swing.JTextField taImage
           
private  javax.swing.JTextField tfDesc
           
private  javax.swing.JTextField tfName
           
 
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
SqliteDatabaseConnection.SqliteConfigurationFS(SqliteDatabaseConnection dbc)
          default constructor
 
Method Summary
 javax.swing.JComponent getFSComponent()
          builds the root component and initializes it by connection values
 void ok()
          updates connection properties when 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 SqliteDatabaseConnection dbc

tfName

private javax.swing.JTextField tfName

tfDesc

private javax.swing.JTextField tfDesc

fcImage

private javax.swing.JFileChooser fcImage

fcFilename

private javax.swing.JFileChooser fcFilename

taImage

private final javax.swing.JTextField taImage

taFilename

private final javax.swing.JTextField taFilename
Constructor Detail

SqliteDatabaseConnection.SqliteConfigurationFS

public SqliteDatabaseConnection.SqliteConfigurationFS(SqliteDatabaseConnection dbc)
default constructor

Parameters:
dbc - connection to configure
Method Detail

ok

public void ok()
updates connection properties when ok was pressed

Overrides:
ok in class FormSheet

getFSComponent

public javax.swing.JComponent getFSComponent()
builds the root component and initializes it by connection values

Returns:
root component