Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.console.wizard.tab.VirtualDatabaseTab Class Reference

Inheritance diagram for org.objectweb.cjdbc.console.wizard.tab.VirtualDatabaseTab:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.cjdbc.console.wizard.tab.VirtualDatabaseTab:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VirtualDatabaseTab (WizardTabs tabs)
void itemStateChanged (ItemEvent e)
boolean isDistributedDB ()

Public Attributes

JSlider minNbOfThreads
JSlider maxNbOfThreads
JSlider maxThreadIdleTime
JSlider sqlDumpLength
JCheckBox distributed
JComboBox blob
JCheckBox pool
JSlider maxNbOfConnections
JTextField vdbName

Detailed Description

This is the general panel for the configuration of the virtual database. It mainly contains pools information

Author:
Nicolas Modrzyk
Version:
1.0

Definition at line 53 of file VirtualDatabaseTab.java.


Member Function Documentation

boolean org.objectweb.cjdbc.console.wizard.tab.VirtualDatabaseTab.isDistributedDB  ) 
 

Is it a distributed database

Returns:
true or false

Definition at line 230 of file VirtualDatabaseTab.java.

00231   {
00232     return distributed.getSelectedObjects() != null;
00233   }

void org.objectweb.cjdbc.console.wizard.tab.VirtualDatabaseTab.itemStateChanged ItemEvent  e  ) 
 

See also:
java.awt.event.ItemListener#itemStateChanged(java.awt.event.ItemEvent)

Definition at line 201 of file VirtualDatabaseTab.java.

References org.objectweb.cjdbc.console.wizard.WizardTabs.distributionChanged().

00202   {
00203     JComponent box = (JComponent) e.getSource();
00204     if (box == pool)
00205     {
00206       if (pool.getSelectedObjects() != null)
00207       {
00208         minNbOfThreads.setEnabled(true);
00209         maxNbOfThreads.setEnabled(true);
00210         maxThreadIdleTime.setEnabled(true);
00211       }
00212       else
00213       {
00214         minNbOfThreads.setEnabled(false);
00215         maxNbOfThreads.setEnabled(false);
00216         maxThreadIdleTime.setEnabled(false);
00217       }
00218     }
00219     else if (box == distributed)
00220     {
00221       tabs.distributionChanged();
00222     }
00223   }


The documentation for this class was generated from the following file:
Generated on Mon Apr 11 22:03:24 2005 for C-JDBC by  doxygen 1.3.9.1