jvc
Class Jvc

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--javax.swing.JFrame
                                |
                                +--jvc.Jvc

public class Jvc
extends javax.swing.JFrame
implements java.awt.event.ActionListener

Cette classe est le point de départ de Jvc. Elle crée la fenêtre principale. Elle crée aussi le debugger

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Field Summary
 javax.swing.tree.DefaultMutableTreeNode baseCourante
           
 javax.swing.JButton boutonAjoutCd
           
 javax.swing.JButton boutonFermer
           
 javax.swing.JButton boutonImprimer
           
 javax.swing.JButton boutonRechercher
          Les boutons qui serviront a la base courante
 javax.swing.JButton boutonSauver
           
 javax.swing.JButton boutonSupprimer
           
 PluginCd cd
           
 PluginConnexion connexion
           
static int currentProgressValue
           
 Debugger debug
           
 PluginFichier fichier
           
 java.util.Vector instancesPluginsCd
           
 java.util.Vector instancesPluginsConnexion
           
 java.util.Vector instancesPluginsFichier
           
 java.util.Vector instancesPluginsImpression
           
 javax.swing.JTabbedPane jTabbedPane
           
 javax.swing.JLabel labelBasDePage
           
 javax.swing.JMenuBar mb
           
 java.awt.Menu menuPlugins
           
 java.util.Vector nomPluginsCd
           
 java.util.Vector nomPluginsConnexion
           
 java.util.Vector nomPluginsFichier
           
 java.util.Vector nomPluginsImpression
           
 javax.swing.JPanel panelBouton
           
 javax.swing.JPanel panelEst
           
static javax.swing.ProgressMonitor progressMonitor
           
static int totalPanels
          un MonitorProgress ca fait joli
 
Fields inherited from class javax.swing.JFrame
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
Jvc()
          Cree la fenetre principale
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Traitement des actions sur le menu des plugins.
 void ajoutOnglet(java.lang.String nomOnglet, javax.swing.JPanel panel)
           
 javax.swing.tree.DefaultMutableTreeNode getBaseCourante()
           
 Debugger getDebugger()
           
 java.util.Vector getInstancesPluginFichier()
           
 InterfaceBD getInterfaceBDCourante()
           
 java.awt.Dimension getMinimumSize()
          Retourne la taille minimale.
 java.awt.Dimension getPreferredSize()
           
 int getTabbedSelectedIndex()
           
static void main(java.lang.String[] args)
           
 javax.swing.JMenu menuConnexion()
           
 javax.swing.JMenu menuOptions()
           
 void quitter()
          La fonction quitter se charge de
 void setBaseCourante(javax.swing.tree.DefaultMutableTreeNode base)
           
 void setLabelBasDePage(java.lang.String s)
           
 void setVisible(boolean b)
          Redefinition de la methode setVisible() de Component.
 void supprimeOnglet(InterfaceBD iBD)
          On ne peut pas supprimer tous les onglets d'une JTabbedPane, ça plante il devra toujours en rester un !!!!
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getFrames, getIconImage, getMenuBar, getState, getTitle, isResizable, remove, removeNotify, setCursor, setIconImage, setMenuBar, setResizable, setState, setTitle
 
Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, dispose, getFocusOwner, getInputContext, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, processEvent, removeWindowListener, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instancesPluginsFichier

public java.util.Vector instancesPluginsFichier

instancesPluginsConnexion

public java.util.Vector instancesPluginsConnexion

instancesPluginsCd

public java.util.Vector instancesPluginsCd

instancesPluginsImpression

public java.util.Vector instancesPluginsImpression

nomPluginsFichier

public java.util.Vector nomPluginsFichier

nomPluginsConnexion

public java.util.Vector nomPluginsConnexion

nomPluginsCd

public java.util.Vector nomPluginsCd

nomPluginsImpression

public java.util.Vector nomPluginsImpression

fichier

public PluginFichier fichier

connexion

public PluginConnexion connexion

cd

public PluginCd cd

debug

public Debugger debug

menuPlugins

public java.awt.Menu menuPlugins

totalPanels

public static int totalPanels
un MonitorProgress ca fait joli

currentProgressValue

public static int currentProgressValue

progressMonitor

public static javax.swing.ProgressMonitor progressMonitor

boutonRechercher

public javax.swing.JButton boutonRechercher
Les boutons qui serviront a la base courante

boutonImprimer

public javax.swing.JButton boutonImprimer

boutonSupprimer

public javax.swing.JButton boutonSupprimer

boutonAjoutCd

public javax.swing.JButton boutonAjoutCd

boutonFermer

public javax.swing.JButton boutonFermer

boutonSauver

public javax.swing.JButton boutonSauver

panelEst

public javax.swing.JPanel panelEst

baseCourante

public javax.swing.tree.DefaultMutableTreeNode baseCourante

panelBouton

public javax.swing.JPanel panelBouton

jTabbedPane

public javax.swing.JTabbedPane jTabbedPane

mb

public javax.swing.JMenuBar mb

labelBasDePage

public javax.swing.JLabel labelBasDePage
Constructor Detail

Jvc

public Jvc()
Cree la fenetre principale
Method Detail

menuConnexion

public javax.swing.JMenu menuConnexion()

menuOptions

public javax.swing.JMenu menuOptions()

setVisible

public void setVisible(boolean b)
Redefinition de la methode setVisible() de Component. Ruse habituelle pour faire apparaitre une Frame au milieu de l'écran.
Overrides:
setVisible in class java.awt.Component

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Traitement des actions sur le menu des plugins.
Specified by:
actionPerformed in interface java.awt.event.ActionListener

ajoutOnglet

public void ajoutOnglet(java.lang.String nomOnglet,
                        javax.swing.JPanel panel)

supprimeOnglet

public void supprimeOnglet(InterfaceBD iBD)
On ne peut pas supprimer tous les onglets d'une JTabbedPane, ça plante il devra toujours en rester un !!!!

getInterfaceBDCourante

public InterfaceBD getInterfaceBDCourante()

getTabbedSelectedIndex

public int getTabbedSelectedIndex()

setBaseCourante

public void setBaseCourante(javax.swing.tree.DefaultMutableTreeNode base)

getBaseCourante

public javax.swing.tree.DefaultMutableTreeNode getBaseCourante()

getPreferredSize

public java.awt.Dimension getPreferredSize()
Overrides:
getPreferredSize in class java.awt.Container

setLabelBasDePage

public void setLabelBasDePage(java.lang.String s)

quitter

public void quitter()
La fonction quitter se charge de

getMinimumSize

public java.awt.Dimension getMinimumSize()
Retourne la taille minimale.
Overrides:
getMinimumSize in class java.awt.Container

getInstancesPluginFichier

public java.util.Vector getInstancesPluginFichier()

getDebugger

public Debugger getDebugger()

main

public static void main(java.lang.String[] args)