Java Doc for ArgumentsPanel.java in  » Testing » jakarta-jmeter » org » apache » jmeter » config » 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 » Testing » jakarta jmeter » org.apache.jmeter.config.gui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.jmeter.config.gui.AbstractConfigGui
   org.apache.jmeter.config.gui.ArgumentsPanel

All known Subclasses:   org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel,
ArgumentsPanel
public class ArgumentsPanel extends AbstractConfigGui implements ActionListener(Code)
A GUI panel allowing the user to enter name-value argument pairs. These arguments (or parameters) are usually used to provide configuration values for some other component.


Field Summary
final public static  StringCOLUMN_NAMES_0
    
final public static  StringCOLUMN_NAMES_1
    
protected transient  ObjectTableModeltableModel
     The model for the arguments table.

Constructor Summary
public  ArgumentsPanel()
     Create a new ArgumentsPanel as a standalone component.
public  ArgumentsPanel(String label)
     Create a new ArgumentsPanel as an embedded component, using the specified title.
public  ArgumentsPanel(String label, Color bkg)
    

Method Summary
public  voidactionPerformed(ActionEvent e)
     Invoked when an action occurs.
protected  voidaddArgument()
     Add a new argument row to the table.
protected  voidcheckDeleteStatus()
     Enable or disable the delete button depending on whether or not there is a row to be deleted.
public  voidclear()
     Clear all rows from the table.
public  voidclearGui()
    
public  voidconfigure(TestElement el)
     A newly created component can be initialized with the contents of a Test Element object by calling this method.
public  TestElementcreateTestElement()
    
protected  voiddeleteArgument()
     Remove the currently selected argument from the table.
protected  JButtongetAddButton()
     Get the button used to add rows to the table.
protected  JButtongetDeleteButton()
     Get the button used to delete rows from the table.
public  StringgetLabelResource()
    
public  CollectiongetMenuCategories()
     This is the list of menu categories this gui component will be available under.
protected  JTablegetTable()
     Get the table used to enter arguments.
protected  JLabelgetTableLabel()
     Get the title label for this component.
protected  voidinitializeTableModel()
     Initialize the table model used for the arguments table.
protected  ComponentmakeLabelPanel()
     Create a panel containing the title label for the table.
protected  ObjectmakeNewArgument()
     Create a new Argument object.
public  voidmodifyTestElement(TestElement args)
    
protected  voidsizeColumns(JTable _table)
     Resize the table columns to appropriate widths.
protected  voidstopTableEditing()
     Stop any editing that is currently being done on the table.
public static  booleantestFunctors()
    

Field Detail
COLUMN_NAMES_0
final public static String COLUMN_NAMES_0(Code)



COLUMN_NAMES_1
final public static String COLUMN_NAMES_1(Code)



tableModel
protected transient ObjectTableModel tableModel(Code)
The model for the arguments table.




Constructor Detail
ArgumentsPanel
public ArgumentsPanel()(Code)
Create a new ArgumentsPanel as a standalone component.



ArgumentsPanel
public ArgumentsPanel(String label)(Code)
Create a new ArgumentsPanel as an embedded component, using the specified title.
Parameters:
  label - the title for the component.



ArgumentsPanel
public ArgumentsPanel(String label, Color bkg)(Code)
Create a new ArgumentsPanel with a border and color background
Parameters:
  label - text for label
Parameters:
  bkg - background colour




Method Detail
actionPerformed
public void actionPerformed(ActionEvent e)(Code)
Invoked when an action occurs. This implementation supports the add and delete buttons.
Parameters:
  e - the event that has occurred



addArgument
protected void addArgument()(Code)
Add a new argument row to the table.



checkDeleteStatus
protected void checkDeleteStatus()(Code)
Enable or disable the delete button depending on whether or not there is a row to be deleted.



clear
public void clear()(Code)
Clear all rows from the table. T.Elanjchezhiyan(chezhiyan@siptech.co.in)



clearGui
public void clearGui()(Code)



configure
public void configure(TestElement el)(Code)
A newly created component can be initialized with the contents of a Test Element object by calling this method. The component is responsible for querying the Test Element object for the relevant information to display in its GUI.
Parameters:
  el - the TestElement to configure



createTestElement
public TestElement createTestElement()(Code)



deleteArgument
protected void deleteArgument()(Code)
Remove the currently selected argument from the table.



getAddButton
protected JButton getAddButton()(Code)
Get the button used to add rows to the table. the button used to add rows to the table



getDeleteButton
protected JButton getDeleteButton()(Code)
Get the button used to delete rows from the table. the button used to delete rows from the table



getLabelResource
public String getLabelResource()(Code)



getMenuCategories
public Collection getMenuCategories()(Code)
This is the list of menu categories this gui component will be available under. a Collection of Strings, where each element is one of theconstants defined in MenuFactory



getTable
protected JTable getTable()(Code)
Get the table used to enter arguments. the table used to enter arguments



getTableLabel
protected JLabel getTableLabel()(Code)
Get the title label for this component. the title label displayed with the table



initializeTableModel
protected void initializeTableModel()(Code)
Initialize the table model used for the arguments table.



makeLabelPanel
protected Component makeLabelPanel()(Code)
Create a panel containing the title label for the table. a panel containing the title label



makeNewArgument
protected Object makeNewArgument()(Code)
Create a new Argument object. a new Argument object



modifyTestElement
public void modifyTestElement(TestElement args)(Code)



sizeColumns
protected void sizeColumns(JTable _table)(Code)
Resize the table columns to appropriate widths.
Parameters:
  _table - the table to resize columns for



stopTableEditing
protected void stopTableEditing()(Code)
Stop any editing that is currently being done on the table. This will save any changes that have already been made.



testFunctors
public static boolean testFunctors()(Code)



Methods inherited from org.apache.jmeter.config.gui.AbstractConfigGui
public JPopupMenu createPopupMenu()(Code)(Java Doc)
public Collection getMenuCategories()(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.