module_standard.wConnectPreference
Class S_prefsConnectSAISIE

Object
  extended by Component
      extended by Container
          extended by JComponent
              extended by JPanel
                  extended by template_applicatif.wFiche.AbstractDbFiche
                      extended by table_standard.wS_prefs.S_prefsSAISIE
                          extended by module_standard.wConnectPreference.S_prefsConnectSAISIE
All Implemented Interfaces:
java.awt.event.KeyListener, java.awt.image.ImageObserver, MenuContainer, java.beans.PropertyChangeListener, Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.DocumentListener, FicheIAction, FicheIEditableColumns, VueIAcces, VueIAide

public class S_prefsConnectSAISIE
extends S_prefsSAISIE


A_doc
Licence.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
(package private)  JTextDb ltent
           
(package private)  JTextDb luser
           
(package private)  JTextDb lword
           
(package private)  int maxTent
           
(package private)  int nbTent
           
(package private)  String optionOk
           
(package private)  String optionQuit
           
(package private)  JTextDb tent
           
(package private)  JTextDbF2 user
           
(package private)  JTextPassword word
           
 
Fields inherited from class template_applicatif.wFiche.AbstractDbFiche
c_opt2, ccs, jpBascule, jpCrud, jpDbE, jpDbL, jpFiche, jpLibeText, sql, vue
 
Fields inherited from class JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
S_prefsConnectSAISIE(Sql sql)
           
 
Method Summary
 void fireBaseListener(JComponent jc)
          Déclenche le controle de la validité de l'Edit
Le FORMATAGE en particulier
 void fireEditableColumnUpdate(String nameField, Object value)
          La liste envoi le nom de l'Edit et sa valeur validée par entrée
à la fiche
 void initCreateLE()
          Les composants Labels et Edits sont a créer en tant que membres de la fiche

Initialise les zones :

Label de la fiche
Edit de la fiche
 void initFocus()
          Place le focus sur le premier Edit focussable
 void initGuiLE()
          Constuit le panel d'une FICHE
Incorpore les membres Label
Incorpore les membres Edit

Utiliser AbstractDbFiche.jpDbL pour placer les Labels
Utiliser AbstractDbFiche.jpDbE pour placer les Edits
 void initMapLE()
          Les Labels et les Edits sont a créer en tant que membres de la fiche

maper les composants par leur indice avec leur table
Adapter le format d'affichage
 void keyPressed(java.awt.event.KeyEvent arg0)
           
 void loadEAdapteGuiLE()
          A chaque chargement d'une fiche à l'écran
Adapter l'affichage en fonction des nouvelle valeurs de la fiche
le controleur de saisie Ccs est désactivé pendant la mise à jour des Edits
Ex : ouvrir ou fermer un ou plusieurs Edits, modifier leur valeur par défaut etc
Idem que AbstractDbFiche.loadEAdapteGuiSaisieEnLigne() Idem que AbstractDbFiche.loadEAdapteGuiFicheOnAppend()
 void setBaseListener()
          Définir les controles de BASE des Edits
Le format de saisie, l'existance dans la table
 void setEditableColumns(FicheIEditableColumns fe, ListeIEditableColumn fl)
          Ajoute les Edits en saisie rapide sur la liste
 void userOptionDo(String actionCommandOption)
           
 void validateAdapteFicheCrud()
           
 
Methods inherited from class table_standard.wS_prefs.S_prefsSAISIE
dbUpdateAfterOtherTable, fireContextualRange, setDependants, setRemoveForParam, updateContextualRangeAndEnable, updateDependant
 
Methods inherited from class template_applicatif.wFiche.AbstractDbFiche
adapteAide, afterBasculeDetailVersEntete, afterBasculeEnteteVersDetail, beforeBasculeDetailVersEntete, beforeBasculeEnteteVersDetail, changedUpdate, computeDependant, dbDeleteAfterOtherTable, dbDeleteBeforeOtherTable, dbFin, dbGoRecno, dbInsertAfterOtherTable, dbInsertBeforeOtherTable, dbInsertBeforeUpdateSetDatas, dbInsertFail, dbUpdateBeforeOtherTable, dbUpdateBeforeSetDatas, devSpe1, devSpe2, devSpe3, dispose, enableEditableColumn, finalize, focusOnTwin, getReturnValue, initGlobalSql, initGuiEDetail, initGuiESimple, initGuiFicheCrud, initGuiLSimple, initStart, insertUpdate, isCcsEnable, isEnable, isModeAppendKeyUnique, isModeAutoAppend, isMovable, isUpdatableMode, keyReleased, keyTyped, load, load, loadEAdapteGuiCrud, loadEAdapteGuiFiche, loadEAdapteGuiFicheOnAppend, loadEAdapteGuiSaisieEnLigne, loadSeek, loadTwin, propertyChange, refreshUIWithNewIndex, reloadAfterDb, reloadAfterDbOperationFinal, reloadRestoreRecno, reloadSaveRecno, removeEditableColumn, removeUpdate, setAideVisible, setArgValue, setBufferDataBeforeSetEditsWithDatas, setBufferEditsBeforeSetDatasWithGetEdits, setCcsEnable, setCrudBasculeEnabled, setCrudEnabled, setCrudOnlyAppend, setCrudOnlyOption, setCrudOnlyUpdate, setCrudOptionEnabled, setCrudRecordVisible, setCrudVertical, setCrudVisible, setDebugDependant, setDebugDisposeTrace, setDefFocus, setEnabled, setFicheLibelle, setModeAppend, setModeAppendUpdated, setModeAutoAppend, setModeMovable, setModeUpdated, setTextStatus, setVisible, softSetDatasWithNewEmpty, softSetEditsWithDatas, softSetEditsWithDatasLoaded, updateContextualListener, userAide, userAppend, userAppendSetDefaultDatas, userCancel, userDelete, userOption, userOptionAdd, userOptionAdd, userRecord, userRecordByFireEditableColumn, userSetAide, userSetEFormatAfterEnter, userUpdateEdit, validateAdapteListe, validateDebut, validateInitSaisieEnLigne
 
Methods inherited from class JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
 
Methods inherited from class Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

luser

JTextDb luser

lword

JTextDb lword

ltent

JTextDb ltent

user

JTextDbF2 user

word

JTextPassword word

tent

JTextDb tent

optionQuit

String optionQuit

optionOk

String optionOk

nbTent

int nbTent

maxTent

int maxTent
Constructor Detail

S_prefsConnectSAISIE

public S_prefsConnectSAISIE(Sql sql)
Method Detail

initCreateLE

public void initCreateLE()
Description copied from class: AbstractDbFiche
Les composants Labels et Edits sont a créer en tant que membres de la fiche

Initialise les zones :

Label de la fiche
Edit de la fiche

Overrides:
initCreateLE in class S_prefsSAISIE

initMapLE

public void initMapLE()
Description copied from class: AbstractDbFiche
Les Labels et les Edits sont a créer en tant que membres de la fiche

maper les composants par leur indice avec leur table
Adapter le format d'affichage

Overrides:
initMapLE in class S_prefsSAISIE

initGuiLE

public void initGuiLE()
Description copied from class: AbstractDbFiche
Constuit le panel d'une FICHE
Incorpore les membres Label
Incorpore les membres Edit

Utiliser AbstractDbFiche.jpDbL pour placer les Labels
Utiliser AbstractDbFiche.jpDbE pour placer les Edits

Overrides:
initGuiLE in class S_prefsSAISIE

initFocus

public void initFocus()
Description copied from interface: VueIAcces
Place le focus sur le premier Edit focussable

Specified by:
initFocus in interface VueIAcces
Overrides:
initFocus in class S_prefsSAISIE

setEditableColumns

public void setEditableColumns(FicheIEditableColumns fe,
                               ListeIEditableColumn fl)
Description copied from interface: FicheIEditableColumns
Ajoute les Edits en saisie rapide sur la liste

Specified by:
setEditableColumns in interface FicheIEditableColumns
Overrides:
setEditableColumns in class S_prefsSAISIE
Parameters:
fe - Interface de fiche
fl - Interface de liste

fireEditableColumnUpdate

public void fireEditableColumnUpdate(String nameField,
                                     Object value)
Description copied from interface: FicheIEditableColumns
La liste envoi le nom de l'Edit et sa valeur validée par entrée
à la fiche

Specified by:
fireEditableColumnUpdate in interface FicheIEditableColumns
Overrides:
fireEditableColumnUpdate in class S_prefsSAISIE

validateAdapteFicheCrud

public void validateAdapteFicheCrud()
Overrides:
validateAdapteFicheCrud in class AbstractDbFiche

loadEAdapteGuiLE

public void loadEAdapteGuiLE()
Description copied from class: AbstractDbFiche
A chaque chargement d'une fiche à l'écran
Adapter l'affichage en fonction des nouvelle valeurs de la fiche
le controleur de saisie Ccs est désactivé pendant la mise à jour des Edits
Ex : ouvrir ou fermer un ou plusieurs Edits, modifier leur valeur par défaut etc
Idem que AbstractDbFiche.loadEAdapteGuiSaisieEnLigne() Idem que AbstractDbFiche.loadEAdapteGuiFicheOnAppend()

Overrides:
loadEAdapteGuiLE in class S_prefsSAISIE

setBaseListener

public void setBaseListener()
Description copied from class: AbstractDbFiche
Définir les controles de BASE des Edits
Le format de saisie, l'existance dans la table

Overrides:
setBaseListener in class S_prefsSAISIE

fireBaseListener

public void fireBaseListener(JComponent jc)
Description copied from class: AbstractDbFiche
Déclenche le controle de la validité de l'Edit
Le FORMATAGE en particulier

Overrides:
fireBaseListener in class S_prefsSAISIE

userOptionDo

public void userOptionDo(String actionCommandOption)
Overrides:
userOptionDo in class AbstractDbFiche

keyPressed

public void keyPressed(java.awt.event.KeyEvent arg0)
Specified by:
keyPressed in interface java.awt.event.KeyListener
Overrides:
keyPressed in class AbstractDbFiche