|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel org.apache.jmeter.gui.AbstractJMeterGuiComponent org.apache.jmeter.control.gui.AbstractControllerGui org.apache.jmeter.control.gui.LogicControllerGui org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui
public class ProxyControlGui
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.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
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 | |
---|---|
ProxyControlGui()
|
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent action)
|
protected void |
addFromClipboard(JTable table)
Add values from the clipboard to table |
void |
configure(TestElement element)
A newly created gui 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. |
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. |
void |
itemStateChanged(ItemEvent e)
|
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
keyTyped(KeyEvent e)
|
protected ProxyControl |
makeProxyControl()
|
void |
modifyTestElement(TestElement el)
GUI components are responsible for populating TestElements they create with the data currently held in the GUI components. |
protected void |
setExcludeListInProxyControl(ProxyControl element)
|
protected void |
setIncludeListInProxyControl(ProxyControl element)
|
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui |
---|
createPopupMenu |
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
---|
clearGui, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName |
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 |
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent |
---|
clearGui, createPopupMenu, getDocAnchor, getName, getStaticLabel, isEnabled, setEnabled, setName |
Constructor Detail |
---|
public ProxyControlGui()
Method Detail |
---|
public TestElement createTestElement()
createTestElement
in interface JMeterGUIComponent
createTestElement
in class LogicControllerGui
protected ProxyControl makeProxyControl()
public void modifyTestElement(TestElement el)
modifyTestElement
in interface JMeterGUIComponent
modifyTestElement
in class LogicControllerGui
el
- the TestElement to modifyprotected void setIncludeListInProxyControl(ProxyControl element)
protected void setExcludeListInProxyControl(ProxyControl element)
public String getLabelResource()
getLabelResource
in interface JMeterGUIComponent
getLabelResource
in class LogicControllerGui
public Collection<String> getMenuCategories()
MenuFactory.CONTROLLERS
, which is
appropriate for most controller components.
getMenuCategories
in interface JMeterGUIComponent
getMenuCategories
in class AbstractControllerGui
MenuFactory
public void configure(TestElement element)
AbstractJMeterGuiComponent provides a partial implementation of this method, setting the name of the component and its enabled status. Subclasses should override this method, performing their own configuration as needed, but also calling this super-implementation.
configure
in interface JMeterGUIComponent
configure
in class AbstractJMeterGuiComponent
element
- the TestElement to configurepublic void itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener
public void actionPerformed(ActionEvent action)
actionPerformed
in interface ActionListener
protected void addFromClipboard(JTable table)
table
- JTable
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |