|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--net.sourceforge.queryviewer.ui.swing.QueryJPanel
Le panneau qui va afficher l'application. Ce panneau va d'abord afficher un panneau pour se connecter à une base de donnée, ensuite, un panneau qui affiche les informations sur le driver de la base de donnée, et (dans le même temps) le panneau "principal" qui va permettre de lancer les requêtes.
| Field Summary | |
static String |
CONNEXION_TAB
|
protected ControlerFactory |
controlerFactory
|
protected ConnectionTab |
ct
|
static String |
INFO_TAB
|
protected InfoTab |
it
|
protected JTabbedPane |
jtp
|
protected QueryTab |
qt
|
static String |
QUERY_TAB
|
| Fields inherited from class javax.swing.JPanel |
|
| Fields inherited from class javax.swing.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 java.awt.Container |
|
| Fields inherited from class java.awt.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 | |
QueryJPanel()
Construction du panel principal. |
|
| Method Summary | |
void |
connection(Connection connection)
Deprecated. NO MORE |
void |
disconnected()
Deprecated. NO MORE! |
ControlerFactory |
getControlerFactory()
|
private int |
getIndexOf(String name)
Retrouve l'index de l'onglet en fonction de son nom. |
Map |
getUserInputs()
Récupère les entrées utilisateur. |
String |
getUserValue(String key)
Retourne le nom de l'onglet affiché si la clé est bien net.sourceforge.queryviewer.ui.event.QueryActions.CURRENT_TAB. |
void |
jdbcConnection(Connection connection)
Deprecated. use the Actions... net.sourceforge.queryviewer.ui.event.AbstractAction. |
void |
putUserValue(String key,
String value)
Changement de l'onglet courrant si la clé est bien net.sourceforge.queryviewer.ui.event.QueryActions.CURRENT_TAB. |
void |
setUserInputs(Map inputs)
Met à jour les entrées utilisateur. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String CONNEXION_TAB
public static final String INFO_TAB
public static final String QUERY_TAB
protected JTabbedPane jtp
protected ConnectionTab ct
protected InfoTab it
protected QueryTab qt
protected ControlerFactory controlerFactory
| Constructor Detail |
public QueryJPanel()
| Method Detail |
public void jdbcConnection(Connection connection)
net.sourceforge.queryviewer.ui.event.AbstractAction.
net.sourceforge.queryviewer.ui.swing.ConnectionListener#jdbcConnection(java.sql.Connection)public void disconnected()
net.sourceforge.queryviewer.ui.swing.ConnectionListener#disconnected()public void connection(Connection connection)
ConnectionListener.connection(net.sourceforge.queryviewer.Connection)public ControlerFactory getControlerFactory()
public Map getUserInputs()
getUserInputs in interface ViewInfopublic void setUserInputs(Map inputs)
setUserInputs in interface ViewInfoinputs - les entrées utilisateur.public String getUserValue(String key)
net.sourceforge.queryviewer.ui.event.QueryActions.CURRENT_TAB.
getUserValue in interface ViewInfokey - la clé
public void putUserValue(String key,
String value)
net.sourceforge.queryviewer.ui.event.QueryActions.CURRENT_TAB.
putUserValue in interface ViewInfokey - la clévalue - la valeur à mettre à jour dans le composantprivate int getIndexOf(String name)
name - le nom de l'onglet
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||