Java Doc for SwingComponentSupport.java in  » Swing-Library » abeille-forms-designer » com » jeta » open » support » 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 » Swing Library » abeille forms designer » com.jeta.open.support 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.jeta.open.support.SwingComponentSupport

All known Subclasses:   com.jeta.open.gui.framework.JETAPanel,
SwingComponentSupport
public interface SwingComponentSupport extends ComponentFinder(Code)
Interface that defines common methods for working with SwingComponents in a Container.
author:
   Jeff Tassin




Method Summary
public  voidenableComponent(String commandId, boolean bEnable)
    
public  booleangetBoolean(String compName)
     Returns the selected state of the AbstractButton that has the given name.
public  AbstractButtongetButton(String compName)
     Returns the button that is contained in this panel and has the given name.
public  JCheckBoxgetCheckBox(String compName)
     Returns the JCheckBox that is contained in this panel and has the given name.
public  JComboBoxgetComboBox(String compName)
     Returns the JComboBox that is contained in this panel and has the given name.
public  intgetInteger(String compName, int defaultValue)
     Locates the JTextField that has the given component name.
public  JLabelgetLabel(String compName)
     Returns the JLabel that is contained in this panel and has the given name.
public  JListgetList(String compName)
     Returns the JList that is contained in this panel and has the given name.
public  JPanelgetPanel(String compName)
     Returns the JPanel that is contained in this panel and has the given name.
public  JProgressBargetProgressBar(String compName)
     Returns JProgressBar that is contained in this panel and has the given name.
public  JRadioButtongetRadioButton(String compName)
     Returns the JRadioButton that is contained in this panel and has the given name.
public  ObjectgetSelectedItem(String compName)
     Returns the selected item from the JList or JComboBox that has the given name.
public  JSpinnergetSpinner(String compName)
     Returns JSpinner that is contained in this panel and has the given name.
public  JTabbedPanegetTabbedPane(String compName)
     Returns the JTabbedPane that is contained in this panel and has the given name.
public  JTablegetTable(String compName)
     Returns the JTable that is contained in this panel and has the given name.
public  StringgetText(String compName)
     Returns the text property from a Component.
public  JTextComponentgetTextComponent(String compName)
     Returns the JTextComponent that is contained in this panel and has the given name.
public  JTextFieldgetTextField(String compName)
     Returns the JTextField that is contained in this panel and has the given name.
public  JTreegetTree(String compName)
     Returns the JTree that is contained in this panel and has the given name.
public  booleanisSelected(String compName)
     Return the selected state of the AbstractButton that has the given name.
public  voidsetSelected(String compName, boolean sel)
     Sets the selected attribute for the AbstractButton with the given name.
public  voidsetSelectedItem(String compName, Object value)
     Sets the selected item in a JComboBox that has the given name.
public  voidsetText(String compName, String txt)
     Sets text property for the Component with the given name.
public  voidsetVisible(String compName, boolean bVisible)
     Shows/Hides the component with the given name.



Method Detail
enableComponent
public void enableComponent(String commandId, boolean bEnable)(Code)
Enables/Disables the component associated with the commandid
Parameters:
  commandId - the id of the command whose button to enable/disable
Parameters:
  bEnable - true/false to enable/disable



getBoolean
public boolean getBoolean(String compName)(Code)
Returns the selected state of the AbstractButton that has the given name. If a component is found with the given name and that component is not an AbstractButton, then false is returned. the selected state of the named AbstractButton.



getButton
public AbstractButton getButton(String compName)(Code)
Returns the button that is contained in this panel and has the given name. If the component is not found nor is an AbstractButton, null is returned. the named AbstractButton



getCheckBox
public JCheckBox getCheckBox(String compName)(Code)
Returns the JCheckBox that is contained in this panel and has the given name. If the component is not found nor is a JCheckBox, null is returned. the named JCheckBox



getComboBox
public JComboBox getComboBox(String compName)(Code)
Returns the JComboBox that is contained in this panel and has the given name. If the component is not found nor is a JComboBox, null is returned. the named JComboBox



getInteger
public int getInteger(String compName, int defaultValue)(Code)
Locates the JTextField that has the given component name. The text in the field is converted to an integer and returned. If the text cannot be converted to an integer or the component is not a JTextField, the defaultValue is returned.
Parameters:
  compName - the JTextField to find.
Parameters:
  defaultValue - the value to return if the component is not a JTextField orthe text in the field is not an integer. the text converted to an integer.



getLabel
public JLabel getLabel(String compName)(Code)
Returns the JLabel that is contained in this panel and has the given name. If the component is not found nor is a JLabel, null is returned. the named JLabel.



getList
public JList getList(String compName)(Code)
Returns the JList that is contained in this panel and has the given name. If the component is not found nor is a JList, null is returned. the named JList



getPanel
public JPanel getPanel(String compName)(Code)
Returns the JPanel that is contained in this panel and has the given name. If the component is not found nor is a JPanel, null is returned. the named JPanel



getProgressBar
public JProgressBar getProgressBar(String compName)(Code)
Returns JProgressBar that is contained in this panel and has the given name. If the component is not found nor is a JProgressBar, null is returned. the named JProgressBar.



getRadioButton
public JRadioButton getRadioButton(String compName)(Code)
Returns the JRadioButton that is contained in this panel and has the given name. If the component is not found nor is a JRadioButton, null is returned. the named JRadioButton



getSelectedItem
public Object getSelectedItem(String compName)(Code)
Returns the selected item from the JList or JComboBox that has the given name. If a list or combo is not found with the name, null is returned. the selected item from the named JList or JComboBox.



getSpinner
public JSpinner getSpinner(String compName)(Code)
Returns JSpinner that is contained in this panel and has the given name. If the component is not found nor is a JSpinner, null is returned. the named JSpinner



getTabbedPane
public JTabbedPane getTabbedPane(String compName)(Code)
Returns the JTabbedPane that is contained in this panel and has the given name. If the component is not found nor is a JTabbedPane, null is returned. the named JTabbedPane



getTable
public JTable getTable(String compName)(Code)
Returns the JTable that is contained in this panel and has the given name. If the component is not found nor is a JTable, null is returned. the named JTable



getText
public String getText(String compName)(Code)
Returns the text property from a Component. If a component is not found with the given name or a component does not have a text property, then null is returned. the text property.



getTextComponent
public JTextComponent getTextComponent(String compName)(Code)
Returns the JTextComponent that is contained in this panel and has the given name. If the component is not found nor is a JTextComponent, null is returned. the named JTextComponent



getTextField
public JTextField getTextField(String compName)(Code)
Returns the JTextField that is contained in this panel and has the given name. If the component is not found nor is a JTextField, null is returned. the named JTextField



getTree
public JTree getTree(String compName)(Code)
Returns the JTree that is contained in this panel and has the given name. If the component is not found nor is a JTree, null is returned. the named JTree



isSelected
public boolean isSelected(String compName)(Code)
Return the selected state of the AbstractButton that has the given name. If a component is found with the given name and that component is not an AbstractButton, then false is returned.
See Also:   SwingCompnentSupport.getBoolean



setSelected
public void setSelected(String compName, boolean sel)(Code)
Sets the selected attribute for the AbstractButton with the given name. If a component is found with the given name and that component is not an AbstractButton, this call is ignored.
Parameters:
  compName - the name of the AbstractButton whose selected attribute toset.
Parameters:
  sel - the selected attribute to set



setSelectedItem
public void setSelectedItem(String compName, Object value)(Code)
Sets the selected item in a JComboBox that has the given name. If a combo is not found with the name, no action is performed.



setText
public void setText(String compName, String txt)(Code)
Sets text property for the Component with the given name. If no component is found or the Component does not have a text property, then this method is a no op.
Parameters:
  compName - the name of the JTextComponent whose text to set
Parameters:
  txt - the text to set



setVisible
public void setVisible(String compName, boolean bVisible)(Code)
Shows/Hides the component with the given name.
Parameters:
  compName - the name of the component to enable/disable
Parameters:
  bVisible - show/hide the component/disable



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