|
|||||||||
| Home >> All >> org >> apache >> jmeter >> assertions >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.jmeter.assertions.gui
Class DurationAssertionGui

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.apache.jmeter.gui.AbstractJMeterGuiComponent
org.apache.jmeter.assertions.gui.AbstractAssertionGui
org.apache.jmeter.assertions.gui.DurationAssertionGui
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.util.EventListener, java.awt.event.FocusListener, java.awt.image.ImageObserver, org.apache.jmeter.gui.JMeterGUIComponent, java.awt.MenuContainer, org.apache.jmeter.visualizers.Printable, java.io.Serializable
- public class DurationAssertionGui
- extends AbstractAssertionGui
- implements java.awt.event.FocusListener
- extends AbstractAssertionGui
- Version:
- $Revision: 1.18 $ Last updated: $Date: 2005/07/12 20:50:52 $
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private javax.swing.JTextField |
duration
|
private static Logger |
log
|
| Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
|
| 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.Container |
|
| 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 | |
DurationAssertionGui()
|
|
| Method Summary | |
void |
configure(org.apache.jmeter.testelement.TestElement el)
A newly created gui component can be initialized with the contents of a Test Element object by calling this method. |
org.apache.jmeter.testelement.TestElement |
createTestElement()
JMeter test components are separated into a model and a GUI representation. |
void |
focusGained(java.awt.event.FocusEvent e)
This method is called when a component gains the keyboard focus. |
void |
focusLost(java.awt.event.FocusEvent e)
This method is invoked when a component loses the keyboard focus. |
java.lang.String |
getDurationAttributesTitle()
|
java.lang.String |
getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language. |
private void |
init()
|
void |
modifyTestElement(org.apache.jmeter.testelement.TestElement el)
Modifies a given TestElement to mirror the data in the gui components. |
| Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui |
createPopupMenu, getMenuCategories |
| Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
clear, configureTestElement, createTitleLabel, getDocAnchor, getName, getNamePanel, getNode, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, 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 |
log
private static transient Logger log
duration
private javax.swing.JTextField duration
| Constructor Detail |
DurationAssertionGui
public DurationAssertionGui()
| Method Detail |
getLabelResource
public java.lang.String getLabelResource()
- Description copied from interface:
org.apache.jmeter.gui.JMeterGUIComponent - Get the component's resource name, which getStaticLabel uses to derive
the component's label in the local language. The resource name is fixed,
and does not vary with the selected language.
- Specified by:
getLabelResourcein interfaceorg.apache.jmeter.gui.JMeterGUIComponent
getDurationAttributesTitle
public java.lang.String getDurationAttributesTitle()
createTestElement
public org.apache.jmeter.testelement.TestElement createTestElement()
- Description copied from interface:
org.apache.jmeter.gui.JMeterGUIComponent - JMeter test components are separated into a model and a GUI
representation. The model holds the data and the GUI displays it. The GUI
class is responsible for knowing how to create and initialize with data
the model class that it knows how to display, and this method is called
when new test elements are created.
- Specified by:
createTestElementin interfaceorg.apache.jmeter.gui.JMeterGUIComponent
modifyTestElement
public void modifyTestElement(org.apache.jmeter.testelement.TestElement el)
- Modifies a given TestElement to mirror the data in the gui components.
- Specified by:
modifyTestElementin interfaceorg.apache.jmeter.gui.JMeterGUIComponent
configure
public void configure(org.apache.jmeter.testelement.TestElement el)
- Description copied from class:
org.apache.jmeter.gui.AbstractJMeterGuiComponent - A newly created gui 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.
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.
- Specified by:
configurein interfaceorg.apache.jmeter.gui.JMeterGUIComponent
init
private void init()
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Description copied from interface:
java.awt.event.FocusListener - This method is invoked when a component loses the keyboard focus.
- Specified by:
focusLostin interfacejava.awt.event.FocusListener
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Description copied from interface:
java.awt.event.FocusListener - This method is called when a component gains the keyboard focus.
- Specified by:
focusGainedin interfacejava.awt.event.FocusListener
|
|||||||||
| Home >> All >> org >> apache >> jmeter >> assertions >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC