template_applicatif.wVue
Class AbstractVue

Object
  extended by Component
      extended by Container
          extended by JComponent
              extended by JPanel
                  extended by template_applicatif.wVue.AbstractVue
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.image.ImageObserver, MenuContainer, java.beans.PropertyChangeListener, Serializable, java.util.EventListener, javax.accessibility.Accessible, VueIEnter, VueIJoin
Direct Known Subclasses:
AbstractVueDetail, S_aideVUE, S_colorVUE, S_fieldTaffVUE, S_fieldTvueVUE, S_fieldTypeVUE, S_fieldVUE, S_filesRazVUE, S_filesVUE, S_interoVUE, S_menusDetailVUE, S_menusParamVUE, S_menusVUE, S_pointageHeureVUE, S_prefsConnectVUE, S_prefsParamVUE, S_prefsVUE, S_slcolVUE, S_themesVUE

public abstract class AbstractVue
extends JPanel
implements java.awt.event.ActionListener, VueIJoin, VueIEnter, java.beans.PropertyChangeListener


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
 String c_opt2
           
 String c_opt3
           
 AbstractDbFiche dbFiche
           
 AbstractDbListe dbListe
           
(package private)  boolean defaultBasculeChild
           
(package private)  String enteteEditionBorne
           
 FicheIEditableColumns ffe
           
(package private)  AbstractFieldsDef fiche
           
 JTextButton jbCloseClear
           
 JTextButton jbEnterLigne
           
 JTextButton jbEscBascule
           
 JTextButton jbF3
           
 JTextButton jbImprimer
           
(package private)  JTextLabel jlTitreDetail
           
(package private)  JPanel jpDetail
           
 JPanel jpTitre
           
(package private)  AbstractFieldsDef liste
           
 Sql sql
           
 Sql sqlFiche
           
 Sql sqlListe
           
 String t_seek
           
 TimeDelay td
           
(package private)  boolean traceDelay
           
(package private)  UserUpdate userupdate
          Notifieur de modification USER
 Vue vue
           
 AbstractVue vueParent
           
 
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
AbstractVue(Sql sql, String t_seek, Vue vue)
           
AbstractVue(Sql sql, String t_seek, Vue vue, String c_opt2)
           
AbstractVue(Sql sql, String t_seek, Vue vue, String c_opt2, String c_opt3)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
           
abstract  void adapteJoin(Sql sql)
          Ajout des jointures
 void addEnterLigne(FicheIEditableColumns ffe)
           
 void addEscBascule()
           
 void addImprimer()
           
protected  void autoUpdateTable()
          Permet d'effectuer un traitement sur la table
avant utilisation de cette table
Attention pas d'affichage
 void dbFicheNoBorder()
           
 void dispose()
           
 void enterLigne(String nameField, Object value)
           
protected  void finalize()
           
abstract  AbstractDbFiche getDbFiche(Vue vue)
          Création de l'UI FICHE à partir de la table
abstract  AbstractDbListe getDbListe()
          Création de l'UI LISTE à partir de la table
 boolean getDefaultBasculeChild()
           
 String getEnteteBorneaBorne()
           
abstract  AbstractFieldsDef getFieldsDefEcran(Vue vue)
          Création de la liste des champs de la Fiche
abstract  AbstractFieldsDef getFieldsDefListe(Vue vue)
          Création de la liste des champs de la Liste
abstract  AbstractFieldsDef getFieldsDefPrint(Vue vue)
          Création de la liste des champs de l'impression
abstract  AbstractFieldsDef getFieldsDefRupture(Vue vue)
          Création de la liste des champs de rupture pour l'impression
 String[] getImpEntete()
           
static AbstractVue getVue(AbstractVue avue, Vue vue)
           
static AbstractVue getVue(String nomClasse, Sql sql, String t_seek, Vue vue)
           
 AbstractVue getVueDEA(Sql sql, String t_seek, Vue vue)
           
protected  void initFiche()
           
protected  void initListe()
           
 void initStart()
          Dispo dev
protected  void initTitre()
           
 boolean isCb(String codeCb)
           
 boolean isCbEnable()
           
protected  void mapTwin()
           
protected  void notify(String action)
           
 void notifyCb(String codeCb)
           
 void propertyChange(java.beans.PropertyChangeEvent arg0)
           
 void setDefaultBasculeChild(boolean enable)
           
 void setEditCb()
           
 void setEnteteBorneaBorne(String borneaborne)
           
 void setTraceDelay(boolean enable)
           
 void setVisible(boolean enable)
           
 void userCbOk(String codeCb)
           
 void userCbSeek(String codeCb)
           
 void userEnterLigne(String nameField, Object value)
           
 void userEscBascule()
           
 void userF10CloseClear()
           
 void userF2F3()
           
 void userF5Print()
           
 void validateAdapte()
           
 void validateAdapteFiche()
           
 void validateAdapteListe()
           
 
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, setEnabled, 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

sql

public Sql sql

userupdate

UserUpdate userupdate
Notifieur de modification USER


t_seek

public String t_seek

c_opt2

public String c_opt2

c_opt3

public String c_opt3

liste

AbstractFieldsDef liste

fiche

AbstractFieldsDef fiche

ffe

public FicheIEditableColumns ffe

sqlListe

public Sql sqlListe

sqlFiche

public Sql sqlFiche

dbListe

public AbstractDbListe dbListe

dbFiche

public AbstractDbFiche dbFiche

vueParent

public AbstractVue vueParent

vue

public Vue vue

jbEscBascule

public JTextButton jbEscBascule

jbEnterLigne

public JTextButton jbEnterLigne

jbF3

public JTextButton jbF3

jbImprimer

public JTextButton jbImprimer

jbCloseClear

public JTextButton jbCloseClear

enteteEditionBorne

String enteteEditionBorne

jpTitre

public JPanel jpTitre

defaultBasculeChild

boolean defaultBasculeChild

jlTitreDetail

JTextLabel jlTitreDetail

jpDetail

JPanel jpDetail

td

public TimeDelay td

traceDelay

boolean traceDelay
Constructor Detail

AbstractVue

public AbstractVue(Sql sql,
                   String t_seek,
                   Vue vue,
                   String c_opt2,
                   String c_opt3)

AbstractVue

public AbstractVue(Sql sql,
                   String t_seek,
                   Vue vue,
                   String c_opt2)

AbstractVue

public AbstractVue(Sql sql,
                   String t_seek,
                   Vue vue)
Method Detail

getDbListe

public abstract AbstractDbListe getDbListe()
Création de l'UI LISTE à partir de la table

Returns:
AbstractDbListe

getDbFiche

public abstract AbstractDbFiche getDbFiche(Vue vue)
Création de l'UI FICHE à partir de la table

Returns:
AbstractDbFiche

getFieldsDefEcran

public abstract AbstractFieldsDef getFieldsDefEcran(Vue vue)
Création de la liste des champs de la Fiche

Parameters:
vue -
Returns:
AbstractFieldsDef

getFieldsDefListe

public abstract AbstractFieldsDef getFieldsDefListe(Vue vue)
Création de la liste des champs de la Liste

Parameters:
vue -
Returns:
AbstractFieldsDef

getFieldsDefPrint

public abstract AbstractFieldsDef getFieldsDefPrint(Vue vue)
Création de la liste des champs de l'impression

Parameters:
vue -
Returns:
lui-meme pour contruire l'identifiant de l'aide

getFieldsDefRupture

public abstract AbstractFieldsDef getFieldsDefRupture(Vue vue)
Création de la liste des champs de rupture pour l'impression

Parameters:
vue -
Returns:
lui-meme pour contruire l'identifiant de l'aide

adapteJoin

public abstract void adapteJoin(Sql sql)
Ajout des jointures

Specified by:
adapteJoin in interface VueIJoin

initStart

public void initStart()
Dispo dev


initTitre

protected void initTitre()

initListe

protected void initListe()

initFiche

protected void initFiche()

autoUpdateTable

protected void autoUpdateTable()
Permet d'effectuer un traitement sur la table
avant utilisation de cette table
Attention pas d'affichage


mapTwin

protected void mapTwin()

validateAdapteFiche

public void validateAdapteFiche()

validateAdapteListe

public void validateAdapteListe()

validateAdapte

public void validateAdapte()

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent arg0)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

setVisible

public void setVisible(boolean enable)
Overrides:
setVisible in class JComponent

dbFicheNoBorder

public void dbFicheNoBorder()

addImprimer

public void addImprimer()

addEnterLigne

public void addEnterLigne(FicheIEditableColumns ffe)

addEscBascule

public void addEscBascule()

setDefaultBasculeChild

public void setDefaultBasculeChild(boolean enable)

getDefaultBasculeChild

public boolean getDefaultBasculeChild()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

enterLigne

public void enterLigne(String nameField,
                       Object value)
Specified by:
enterLigne in interface VueIEnter

userEnterLigne

public void userEnterLigne(String nameField,
                           Object value)

userEscBascule

public void userEscBascule()

userF5Print

public void userF5Print()

userF10CloseClear

public void userF10CloseClear()

userF2F3

public void userF2F3()

notify

protected void notify(String action)

isCbEnable

public boolean isCbEnable()

userCbSeek

public void userCbSeek(String codeCb)

isCb

public boolean isCb(String codeCb)

notifyCb

public void notifyCb(String codeCb)

userCbOk

public void userCbOk(String codeCb)

setEditCb

public void setEditCb()

getImpEntete

public String[] getImpEntete()

setEnteteBorneaBorne

public void setEnteteBorneaBorne(String borneaborne)

getEnteteBorneaBorne

public String getEnteteBorneaBorne()

getVueDEA

public AbstractVue getVueDEA(Sql sql,
                             String t_seek,
                             Vue vue)

setTraceDelay

public void setTraceDelay(boolean enable)

getVue

public static AbstractVue getVue(AbstractVue avue,
                                 Vue vue)

getVue

public static AbstractVue getVue(String nomClasse,
                                 Sql sql,
                                 String t_seek,
                                 Vue vue)

dispose

public void dispose()

finalize

protected void finalize()
Overrides:
finalize in class Object