|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.apache.jmeter.gui.AbstractJMeterGuiComponent
org.apache.jmeter.config.gui.AbstractConfigGui
org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel
public class LDAPArgumentsPanel
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected ObjectTableModel |
tableModel
The model for the arguments table. |
| Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
|---|
namePanel |
| 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.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 | |
|---|---|
LDAPArgumentsPanel()
Create a new LDAPArgumentsPanel, using the default title. |
|
LDAPArgumentsPanel(String label)
Create a new LDAPArgumentsPanel, using the specified title. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs. |
protected void |
addArgument()
Add a new argument row to the table. |
protected void |
checkDeleteStatus()
Enable or disable the delete button depending on whether or not there is a row to be deleted. |
void |
clear()
Clear all rows from the table. |
void |
configure(TestElement el)
A newly created component can be initialized with the contents of a Test Element object by calling this method. |
TestElement |
createTestElement()
JMeter test components are separated into a model and a GUI representation. |
protected void |
deleteArgument()
Remove the currently selected argument from the table. |
protected JButton |
getAddButton()
Get the button used to add rows to the table. |
protected JButton |
getDeleteButton()
Get the button used to delete rows from the table. |
String |
getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language. |
Collection<String> |
getMenuCategories()
This is the list of menu categories this gui component will be available under. |
protected JTable |
getTable()
Get the table used to enter arguments. |
protected JLabel |
getTableLabel()
Get the title label for this component. |
protected void |
initializeTableModel()
Initialize the table model used for the arguments table. |
protected Component |
makeLabelPanel()
Create a panel containing the title label for the table. |
protected Object |
makeNewLDAPArgument()
Create a new LDAPArgument object. |
void |
modifyTestElement(TestElement args)
GUI components are responsible for populating TestElements they create with the data currently held in the GUI components. |
protected void |
sizeColumns(JTable _table)
Resize the table columns to appropriate widths. |
static boolean |
testFunctors()
|
| Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui |
|---|
createPopupMenu |
| Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
|---|
clearGui, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getNode, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName, setNode |
| 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 |
|---|
protected transient ObjectTableModel tableModel
| Constructor Detail |
|---|
public LDAPArgumentsPanel()
public LDAPArgumentsPanel(String label)
label - the title of the component| Method Detail |
|---|
public Collection<String> getMenuCategories()
getMenuCategories in interface JMeterGUIComponentgetMenuCategories in class AbstractConfigGuiMenuFactorypublic String getLabelResource()
JMeterGUIComponent
getLabelResource in interface JMeterGUIComponentpublic TestElement createTestElement()
JMeterGUIComponent
createTestElement in interface JMeterGUIComponentpublic void modifyTestElement(TestElement args)
JMeterGUIComponent
modifyTestElement in interface JMeterGUIComponentargs - the TestElement to modifypublic void configure(TestElement el)
configure in interface JMeterGUIComponentconfigure in class AbstractJMeterGuiComponentel - the TestElement to configureprotected JTable getTable()
protected JLabel getTableLabel()
protected JButton getDeleteButton()
protected JButton getAddButton()
protected void checkDeleteStatus()
public void clear()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - the event that has occurredprotected void deleteArgument()
protected void addArgument()
protected Object makeNewLDAPArgument()
protected void initializeTableModel()
public static boolean testFunctors()
protected void sizeColumns(JTable _table)
_table - the table to resize columns forprotected Component makeLabelPanel()
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||