|
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.http.gui.DNSCachePanel
public class DNSCachePanel
This gui part of @see
DNSCacheManager
. Using
radiobuttons, user can switch between using system DNS resolver and custom
resolver. Custom resolver functionality is provided by dnsjava library.
"DNS servers" may contain one or more IP/Name of dns server for resolving
name DNS servers are chosen via round-robin. If table is empty - system
resolver is used.
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 | |
---|---|
static String |
OPTIONS
|
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 | |
---|---|
DNSCachePanel()
Default constructor. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
|
void |
clearGui()
Implements JMeterGUIComponent.clearGui |
void |
configure(TestElement el)
A newly created gui component can be initialized with the contents of a Test Element object by calling this method. |
JPanel |
createDnsServersTablePanel()
|
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. |
void |
modifyTestElement(TestElement dnsRes)
Modifies a given TestElement to mirror the data in the gui components. |
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui |
---|
createPopupMenu, getMenuCategories |
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
---|
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 |
Field Detail |
---|
public static final String OPTIONS
Constructor Detail |
---|
public DNSCachePanel()
Method Detail |
---|
public String getLabelResource()
JMeterGUIComponent
getLabelResource
in interface JMeterGUIComponent
public void modifyTestElement(TestElement dnsRes)
modifyTestElement
in interface JMeterGUIComponent
dnsRes
- the TestElement to modifyJMeterGUIComponent.modifyTestElement(org.apache.jmeter.testelement.TestElement)
public void clearGui()
clearGui
in interface ClearGui
clearGui
in class AbstractJMeterGuiComponent
public TestElement createTestElement()
JMeterGUIComponent
createTestElement
in interface JMeterGUIComponent
public void configure(TestElement el)
AbstractJMeterGuiComponent
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
el
- the TestElement to configurepublic JPanel createDnsServersTablePanel()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |