Java Doc for SQLCatalogsComboBox.java in  » Database-Client » squirrel-sql-2.6.5a » net » sourceforge » squirrel_sql » fw » gui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database Client » squirrel sql 2.6.5a » net.sourceforge.squirrel_sql.fw.gui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JComboBox
   net.sourceforge.squirrel_sql.fw.gui.SQLCatalogsComboBox

SQLCatalogsComboBox
public class SQLCatalogsComboBox extends JComboBox (Code)
This JComboBox will display all the catalogs in an SQL connection.
author:
   Colin Bell



Constructor Summary
public  SQLCatalogsComboBox()
     Default ctor.

Method Summary
public  StringgetSelectedCatalog()
    
public  voidsetCatalogs(String[] catalogs, String selectedCatalog)
     Sets the catalogs that should appear in the catalog drop-down menu.
public  voidsetConnection(ISQLConnection conn)
     Set the SQLConnection for this control.
public  voidsetSelectedCatalog(String selectedCatalog)
    
public  voidsetSelectedItem(Object o)
    


Constructor Detail
SQLCatalogsComboBox
public SQLCatalogsComboBox()(Code)
Default ctor. Builds an empty combo box.




Method Detail
getSelectedCatalog
public String getSelectedCatalog()(Code)



setCatalogs
public void setCatalogs(String[] catalogs, String selectedCatalog)(Code)
Sets the catalogs that should appear in the catalog drop-down menu. Clear control and places all the catalog names from the list in it in alphabetic sequence. Selects the specified catalog; If the selectedCatalog is null, then selects the first catalog.
Parameters:
  catalogs - an array of catalogs names that should in the catalogs drop-down menu.
Parameters:
  selectedCatalog - the catalog for the current connection that should be selected.



setConnection
public void setConnection(ISQLConnection conn) throws SQLException(Code)
Set the SQLConnection for this control. Clear control and place all the catalog names from the connection in it in alphabetic sequence. Select the first catalog.
Parameters:
  conn - SQLConnection to retrieve catalog names from.
throws:
  IllegalArgumentException - Thrown if a null SQLConnection passed.
throws:
  SQLException - Thrown if an SQL exception occurs.



setSelectedCatalog
public void setSelectedCatalog(String selectedCatalog)(Code)



setSelectedItem
public void setSelectedItem(Object o)(Code)

See Also:   javax.swing.JComboBox.setSelectedItem(java.lang.Object)



Fields inherited from javax.swing.JComboBox
protected String actionCommand(Code)(Java Doc)
protected ComboBoxModel dataModel(Code)(Java Doc)
protected ComboBoxEditor editor(Code)(Java Doc)
protected boolean isEditable(Code)(Java Doc)
protected KeySelectionManager keySelectionManager(Code)(Java Doc)
protected boolean lightWeightPopupEnabled(Code)(Java Doc)
protected int maximumRowCount(Code)(Java Doc)
protected ListCellRenderer renderer(Code)(Java Doc)
protected Object selectedItemReminder(Code)(Java Doc)

Methods inherited from javax.swing.JComboBox
public void actionPerformed(ActionEvent e)(Code)(Java Doc)
protected void actionPropertyChanged(Action action, String propertyName)(Code)(Java Doc)
public void addActionListener(ActionListener l)(Code)(Java Doc)
public void addItem(Object anObject)(Code)(Java Doc)
public void addItemListener(ItemListener aListener)(Code)(Java Doc)
public void addPopupMenuListener(PopupMenuListener l)(Code)(Java Doc)
public void configureEditor(ComboBoxEditor anEditor, Object anItem)(Code)(Java Doc)
protected void configurePropertiesFromAction(Action a)(Code)(Java Doc)
public void contentsChanged(ListDataEvent e)(Code)(Java Doc)
protected PropertyChangeListener createActionPropertyChangeListener(Action a)(Code)(Java Doc)
protected KeySelectionManager createDefaultKeySelectionManager()(Code)(Java Doc)
protected void fireActionEvent()(Code)(Java Doc)
protected void fireItemStateChanged(ItemEvent e)(Code)(Java Doc)
public void firePopupMenuCanceled()(Code)(Java Doc)
public void firePopupMenuWillBecomeInvisible()(Code)(Java Doc)
public void firePopupMenuWillBecomeVisible()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public Action getAction()(Code)(Java Doc)
public String getActionCommand()(Code)(Java Doc)
public ActionListener[] getActionListeners()(Code)(Java Doc)
public ComboBoxEditor getEditor()(Code)(Java Doc)
public Object getItemAt(int index)(Code)(Java Doc)
public int getItemCount()(Code)(Java Doc)
public ItemListener[] getItemListeners()(Code)(Java Doc)
public KeySelectionManager getKeySelectionManager()(Code)(Java Doc)
public int getMaximumRowCount()(Code)(Java Doc)
public ComboBoxModel getModel()(Code)(Java Doc)
public PopupMenuListener[] getPopupMenuListeners()(Code)(Java Doc)
public Object getPrototypeDisplayValue()(Code)(Java Doc)
public ListCellRenderer getRenderer()(Code)(Java Doc)
public int getSelectedIndex()(Code)(Java Doc)
public Object getSelectedItem()(Code)(Java Doc)
public Object[] getSelectedObjects()(Code)(Java Doc)
public ComboBoxUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public void hidePopup()(Code)(Java Doc)
public void insertItemAt(Object anObject, int index)(Code)(Java Doc)
protected void installAncestorListener()(Code)(Java Doc)
public void intervalAdded(ListDataEvent e)(Code)(Java Doc)
public void intervalRemoved(ListDataEvent e)(Code)(Java Doc)
public boolean isEditable()(Code)(Java Doc)
public boolean isLightWeightPopupEnabled()(Code)(Java Doc)
public boolean isPopupVisible()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void processKeyEvent(KeyEvent e)(Code)(Java Doc)
public void removeActionListener(ActionListener l)(Code)(Java Doc)
public void removeAllItems()(Code)(Java Doc)
public void removeItem(Object anObject)(Code)(Java Doc)
public void removeItemAt(int anIndex)(Code)(Java Doc)
public void removeItemListener(ItemListener aListener)(Code)(Java Doc)
public void removePopupMenuListener(PopupMenuListener l)(Code)(Java Doc)
public boolean selectWithKeyChar(char keyChar)(Code)(Java Doc)
protected void selectedItemChanged()(Code)(Java Doc)
public void setAction(Action a)(Code)(Java Doc)
public void setActionCommand(String aCommand)(Code)(Java Doc)
public void setEditable(boolean aFlag)(Code)(Java Doc)
public void setEditor(ComboBoxEditor anEditor)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setKeySelectionManager(KeySelectionManager aManager)(Code)(Java Doc)
public void setLightWeightPopupEnabled(boolean aFlag)(Code)(Java Doc)
public void setMaximumRowCount(int count)(Code)(Java Doc)
public void setModel(ComboBoxModel aModel)(Code)(Java Doc)
public void setPopupVisible(boolean v)(Code)(Java Doc)
public void setPrototypeDisplayValue(Object prototypeDisplayValue)(Code)(Java Doc)
public void setRenderer(ListCellRenderer aRenderer)(Code)(Java Doc)
public void setSelectedIndex(int anIndex)(Code)(Java Doc)
public void setSelectedItem(Object anObject)(Code)(Java Doc)
public void setUI(ComboBoxUI ui)(Code)(Java Doc)
public void showPopup()(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.