123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="fr">
- <head>
- <!-- Generated by javadoc (version 1.7.0_79) on Thu Jun 11 10:20:09 CEST 2015 -->
- <meta http-equiv="Content-Type" content="text/html" charset="utf8">
- <title>ConnexionBddDialog</title>
- <meta name="date" content="2015-06-11">
- <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
- </head>
- <body>
- <script type="text/javascript"><!--
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="ConnexionBddDialog";
- }
- //-->
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a name="navbar_top">
- <!-- -->
- </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../index-files/index-1.html">Index</a></li>
- <li><a href="../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li>Prev Class</li>
- <li><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html" title="class in InterfaceGraphique.DialogBoxes"><span class="strong">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../index.html?InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html" target="_top">Frames</a></li>
- <li><a href="ConnexionBddDialog.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li><a href="#nested_classes_inherited_from_class_javax.swing.JDialog">Nested</a> | </li>
- <li><a href="#field_summary">Field</a> | </li>
- <li><a href="#constructor_summary">Constr</a> | </li>
- <li><a href="#method_summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li><a href="#field_detail">Field</a> | </li>
- <li><a href="#constructor_detail">Constr</a> | </li>
- <li><a href="#method_detail">Method</a></li>
- </ul>
- </div>
- <a name="skip-navbar_top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">InterfaceGraphique.DialogBoxes</div>
- <h2 title="Class ConnexionBddDialog" class="title">Class ConnexionBddDialog</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li>java.lang.Object</li>
- <li>
- <ul class="inheritance">
- <li>java.awt.Component</li>
- <li>
- <ul class="inheritance">
- <li>java.awt.Container</li>
- <li>
- <ul class="inheritance">
- <li>java.awt.Window</li>
- <li>
- <ul class="inheritance">
- <li>java.awt.Dialog</li>
- <li>
- <ul class="inheritance">
- <li>javax.swing.JDialog</li>
- <li>
- <ul class="inheritance">
- <li>InterfaceGraphique.DialogBoxes.ConnexionBddDialog</li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <dl>
- <dt>All Implemented Interfaces:</dt>
- <dd>java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants</dd>
- </dl>
- <hr>
- <br>
- <pre>public class <span class="strong">ConnexionBddDialog</span>
- extends javax.swing.JDialog
- implements java.awt.event.ActionListener</pre>
- <div class="block">Boite de dialogue modale permettant de renseigner une configuration de connexion à la base de données.</div>
- <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../serialized-form.html#InterfaceGraphique.DialogBoxes.ConnexionBddDialog">Serialized Form</a></dd></dl>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- ======== NESTED CLASS SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="nested_class_summary">
- <!-- -->
- </a>
- <h3>Nested Class Summary</h3>
- <ul class="blockList">
- <li class="blockList"><a name="nested_classes_inherited_from_class_javax.swing.JDialog">
- <!-- -->
- </a>
- <h3>Nested classes/interfaces inherited from class javax.swing.JDialog</h3>
- <code>javax.swing.JDialog.AccessibleJDialog</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Dialog">
- <!-- -->
- </a>
- <h3>Nested classes/interfaces inherited from class java.awt.Dialog</h3>
- <code>java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Window">
- <!-- -->
- </a>
- <h3>Nested classes/interfaces inherited from class java.awt.Window</h3>
- <code>java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Container">
- <!-- -->
- </a>
- <h3>Nested classes/interfaces inherited from class java.awt.Container</h3>
- <code>java.awt.Container.AccessibleAWTContainer</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Component">
- <!-- -->
- </a>
- <h3>Nested classes/interfaces inherited from class java.awt.Component</h3>
- <code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
- </ul>
- </li>
- </ul>
- <!-- =========== FIELD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field_summary">
- <!-- -->
- </a>
- <h3>Field Summary</h3>
- <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
- <caption><span>Fields</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Field and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>private javax.swing.JButton</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#annuler">annuler</a></strong></code>
- <div class="block">Bouton d'annulation.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>private javax.swing.JButton</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#defParams">defParams</a></strong></code>
- <div class="block">Bouton pour mettre en place les paramétre de connexion par defaut.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>private javax.swing.JTextField</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#ip">ip</a></strong></code>
- <div class="block">Champ pour l'IP du serveur hebergeant la base de données.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>private javax.swing.JTextField</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#login">login</a></strong></code>
- <div class="block">Champ pour le login utilisateur.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>private boolean</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#modifEffectuees">modifEffectuees</a></strong></code>
- <div class="block">Booléen determinant si les paramétre ont été modifié ou non.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>private javax.swing.JTextField</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#nomBdd">nomBdd</a></strong></code>
- <div class="block">Champ pour le nom de la base de données.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>private javax.swing.JButton</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#ok">ok</a></strong></code>
- <div class="block">Bouton de validation.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>private javax.swing.JPasswordField</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#password">password</a></strong></code>
- <div class="block">Champ pur le mot de passe utilisateur.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>private javax.swing.JFormattedTextField</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#port">port</a></strong></code>
- <div class="block">Champ pour le numéro de port du serveur hebergeant la base de données.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>private javax.swing.JButton</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#quitter">quitter</a></strong></code>
- <div class="block">Bouton pour quitter l'aplication.</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="fields_inherited_from_class_javax.swing.JDialog">
- <!-- -->
- </a>
- <h3>Fields inherited from class javax.swing.JDialog</h3>
- <code>accessibleContext, rootPane, rootPaneCheckingEnabled</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="fields_inherited_from_class_java.awt.Dialog">
- <!-- -->
- </a>
- <h3>Fields inherited from class java.awt.Dialog</h3>
- <code>DEFAULT_MODALITY_TYPE</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
- <!-- -->
- </a>
- <h3>Fields inherited from class java.awt.Component</h3>
- <code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="fields_inherited_from_class_javax.swing.WindowConstants">
- <!-- -->
- </a>
- <h3>Fields inherited from interface javax.swing.WindowConstants</h3>
- <code>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
- <!-- -->
- </a>
- <h3>Fields inherited from interface java.awt.image.ImageObserver</h3>
- <code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
- </ul>
- </li>
- </ul>
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor_summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colOne" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colOne"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#ConnexionBddDialog(java.lang.String,%20int,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20javax.swing.JFrame,%20boolean)">ConnexionBddDialog</a></strong>(java.lang.String nomBdd,
- int port,
- java.lang.String ip,
- java.lang.String login,
- java.lang.String password,
- javax.swing.JFrame parent,
- boolean showExitButton)</code>
- <div class="block">Constructeur préremplissant les champs de la boite de dialogue.</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method_summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span>Methods</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</a></strong>(java.awt.event.ActionEvent e)</code>
- <div class="block">Répond au clic sur les bouton: restaure la configuration par défault des champs, ou confirme/infirme que des changements on eu lieu, aprés vérification de la conformité des valeurs rentrées dans les champs.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#afficher()">afficher</a></strong>()</code>
- <div class="block">Affiche la boite de dialogue.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>private void</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#createInterface(java.lang.String,%20int,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)">createInterface</a></strong>(java.lang.String defNomBdd,
- int defPort,
- java.lang.String defIP,
- java.lang.String defLogin,
- java.lang.String defPassword,
- boolean showExitButton)</code>
- <div class="block">Construit l'interface de la boite de dialogue.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getIp()">getIp</a></strong>()</code>
- <div class="block">Renvoie l'ip du serveur bdd.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getLogin()">getLogin</a></strong>()</code>
- <div class="block">Renvoie le login de l'utilisateur du serveur bdd.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getNomBdd()">getNomBdd</a></strong>()</code>
- <div class="block">Renvoie le nom de la bdd.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getPassword()">getPassword</a></strong>()</code>
- <div class="block">Renvoie le mot de passe de l'utilisateur du serveur bdd.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html#getPort()">getPort</a></strong>()</code>
- <div class="block">Renvoie le port du serveur bdd.</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods_inherited_from_class_javax.swing.JDialog">
- <!-- -->
- </a>
- <h3>Methods inherited from class javax.swing.JDialog</h3>
- <code>addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="methods_inherited_from_class_java.awt.Dialog">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.awt.Dialog</h3>
- <code>addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="methods_inherited_from_class_java.awt.Window">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.awt.Window</h3>
- <code>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.awt.Container</h3>
- <code>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.awt.Component</h3>
- <code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
- </ul>
- <ul class="blockList">
- <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.lang.Object</h3>
- <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ============ FIELD DETAIL =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field_detail">
- <!-- -->
- </a>
- <h3>Field Detail</h3>
- <a name="nomBdd">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>nomBdd</h4>
- <pre>private javax.swing.JTextField nomBdd</pre>
- <div class="block">Champ pour le nom de la base de données.</div>
- </li>
- </ul>
- <a name="port">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>port</h4>
- <pre>private javax.swing.JFormattedTextField port</pre>
- <div class="block">Champ pour le numéro de port du serveur hebergeant la base de données.</div>
- </li>
- </ul>
- <a name="ip">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>ip</h4>
- <pre>private javax.swing.JTextField ip</pre>
- <div class="block">Champ pour l'IP du serveur hebergeant la base de données.</div>
- </li>
- </ul>
- <a name="login">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>login</h4>
- <pre>private javax.swing.JTextField login</pre>
- <div class="block">Champ pour le login utilisateur.</div>
- </li>
- </ul>
- <a name="password">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>password</h4>
- <pre>private javax.swing.JPasswordField password</pre>
- <div class="block">Champ pur le mot de passe utilisateur.</div>
- </li>
- </ul>
- <a name="ok">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>ok</h4>
- <pre>private javax.swing.JButton ok</pre>
- <div class="block">Bouton de validation.</div>
- </li>
- </ul>
- <a name="annuler">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>annuler</h4>
- <pre>private javax.swing.JButton annuler</pre>
- <div class="block">Bouton d'annulation.</div>
- </li>
- </ul>
- <a name="defParams">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>defParams</h4>
- <pre>private javax.swing.JButton defParams</pre>
- <div class="block">Bouton pour mettre en place les paramétre de connexion par defaut.</div>
- </li>
- </ul>
- <a name="quitter">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>quitter</h4>
- <pre>private javax.swing.JButton quitter</pre>
- <div class="block">Bouton pour quitter l'aplication.</div>
- </li>
- </ul>
- <a name="modifEffectuees">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>modifEffectuees</h4>
- <pre>private boolean modifEffectuees</pre>
- <div class="block">Booléen determinant si les paramétre ont été modifié ou non.</div>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor_detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="ConnexionBddDialog(java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, javax.swing.JFrame, boolean)">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>ConnexionBddDialog</h4>
- <pre>public ConnexionBddDialog(java.lang.String nomBdd,
- int port,
- java.lang.String ip,
- java.lang.String login,
- java.lang.String password,
- javax.swing.JFrame parent,
- boolean showExitButton)</pre>
- <div class="block">Constructeur préremplissant les champs de la boite de dialogue.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>nomBdd</code> - Nom base de données.</dd><dd><code>port</code> - Port serveur base de données.</dd><dd><code>ip</code> - Adresse ip serveur base de données.</dd><dd><code>login</code> - Login utilisateur base de données.</dd><dd><code>password</code> - Mot de passe utilisateur base de données.</dd><dd><code>parent</code> - Parent</dd><dd><code>showExitButton</code> - Afficher on non un bouton pour quitter l'aplication.</dd></dl>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method_detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="createInterface(java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, boolean)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>createInterface</h4>
- <pre>private void createInterface(java.lang.String defNomBdd,
- int defPort,
- java.lang.String defIP,
- java.lang.String defLogin,
- java.lang.String defPassword,
- boolean showExitButton)</pre>
- <div class="block">Construit l'interface de la boite de dialogue.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>defNomBdd</code> - Nom base de données.</dd><dd><code>defPort</code> - Port serveur base de données.</dd><dd><code>defIP</code> - Adresse ip serveur base de données.</dd><dd><code>defLogin</code> - Login utilisateur base de données.</dd><dd><code>defPassword</code> - Mot de passe utilisateur base de données.</dd><dd><code>showExitButton</code> - Afficher on non un bouton pour quitter l'aplication, remplaçant le bouton annuler.</dd></dl>
- </li>
- </ul>
- <a name="afficher()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>afficher</h4>
- <pre>public boolean afficher()</pre>
- <div class="block">Affiche la boite de dialogue.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>Un booléen indiquant si la configuration à été modifié ou non (clic sur le bouton OK ou annuler).</dd></dl>
- </li>
- </ul>
- <a name="actionPerformed(java.awt.event.ActionEvent)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>actionPerformed</h4>
- <pre>public void actionPerformed(java.awt.event.ActionEvent e)</pre>
- <div class="block">Répond au clic sur les bouton: restaure la configuration par défault des champs, ou confirme/infirme que des changements on eu lieu, aprés vérification de la conformité des valeurs rentrées dans les champs.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code>actionPerformed</code> in interface <code>java.awt.event.ActionListener</code></dd>
- <dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - Un ActionEvent au clic sur un bouton.</dd></dl>
- </li>
- </ul>
- <a name="getNomBdd()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getNomBdd</h4>
- <pre>public java.lang.String getNomBdd()</pre>
- <div class="block">Renvoie le nom de la bdd.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>nom de la bdd.</dd></dl>
- </li>
- </ul>
- <a name="getPort()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getPort</h4>
- <pre>public int getPort()</pre>
- <div class="block">Renvoie le port du serveur bdd.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>le port du serveur bdd.</dd></dl>
- </li>
- </ul>
- <a name="getIp()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getIp</h4>
- <pre>public java.lang.String getIp()</pre>
- <div class="block">Renvoie l'ip du serveur bdd.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>l'ip port du serveur bdd.</dd></dl>
- </li>
- </ul>
- <a name="getLogin()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLogin</h4>
- <pre>public java.lang.String getLogin()</pre>
- <div class="block">Renvoie le login de l'utilisateur du serveur bdd.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>le login de l'utilisateur du serveur bdd.</dd></dl>
- </li>
- </ul>
- <a name="getPassword()">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>getPassword</h4>
- <pre>public java.lang.String getPassword()</pre>
- <div class="block">Renvoie le mot de passe de l'utilisateur du serveur bdd.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>le mot de passe l'utilisateur du serveur bdd.</dd></dl>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a name="navbar_bottom">
- <!-- -->
- </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../index-files/index-1.html">Index</a></li>
- <li><a href="../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li>Prev Class</li>
- <li><a href="../../InterfaceGraphique/DialogBoxes/NouvelleQuestionDialog.html" title="class in InterfaceGraphique.DialogBoxes"><span class="strong">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../index.html?InterfaceGraphique/DialogBoxes/ConnexionBddDialog.html" target="_top">Frames</a></li>
- <li><a href="ConnexionBddDialog.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li><a href="#nested_classes_inherited_from_class_javax.swing.JDialog">Nested</a> | </li>
- <li><a href="#field_summary">Field</a> | </li>
- <li><a href="#constructor_summary">Constr</a> | </li>
- <li><a href="#method_summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li><a href="#field_detail">Field</a> | </li>
- <li><a href="#constructor_detail">Constr</a> | </li>
- <li><a href="#method_detail">Method</a></li>
- </ul>
- </div>
- <a name="skip-navbar_bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- </body>
- </html>
|