|
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.gui.AbstractScopedJMeterGuiComponent
org.apache.jmeter.assertions.gui.AbstractAssertionGui
org.apache.jmeter.assertions.gui.HTMLAssertionGui
public class HTMLAssertionGui
GUI for HTMLAssertion
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 |
---|
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 | |
---|---|
HTMLAssertionGui()
The constructor. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
This method is called from erros-only checkbox |
void |
clearGui()
Implements JMeterGUIComponent.clearGui Provides a default implementation that resets the name field to the value of getStaticLabel(), reset comment and sets enabled to true. |
void |
configure(TestElement inElement)
Configures the associated test element. |
TestElement |
createTestElement()
JMeter test components are separated into a model and a GUI representation. |
void |
focusGained(FocusEvent e)
Method gets called when one of the threshold fields gains focus |
void |
focusLost(FocusEvent inEvent)
This method is called if one of the threshold field looses the focus |
String |
getLabelResource()
Returns the label to be shown within the JTree-Component. |
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
keyTyped(KeyEvent e)
|
void |
modifyTestElement(TestElement inElement)
Modifies a given TestElement to mirror the data in the gui components. |
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui |
---|
getMenuCategories |
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent |
---|
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings |
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 |
Constructor Detail |
---|
public HTMLAssertionGui()
Method Detail |
---|
public String getLabelResource()
getLabelResource
in interface JMeterGUIComponent
public TestElement createTestElement()
JMeterGUIComponent
createTestElement
in interface JMeterGUIComponent
JMeterGUIComponent.createTestElement()
public void modifyTestElement(TestElement inElement)
modifyTestElement
in interface JMeterGUIComponent
inElement
- the TestElement to modifyJMeterGUIComponent.modifyTestElement(TestElement)
public void clearGui()
clearGui
in interface ClearGui
clearGui
in class AbstractScopedJMeterGuiComponent
public void configure(TestElement inElement)
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
inElement
- the TestElement to configurepublic void focusLost(FocusEvent inEvent)
inEvent
- The FocusEvent
with detailed information about the focus losspublic void focusGained(FocusEvent e)
e
- The FocusEvent
with detailed information about the focus gainFocusListener.focusGained(java.awt.event.FocusEvent)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |