|
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.assertions.gui.XPathPanel
public class XPathPanel
Gui component for representing a xpath expression
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 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 | |
---|---|
XPathPanel()
|
Method Summary | |
---|---|
JButton |
getCheckXPathButton()
Check XPath button |
JCheckBox |
getNegatedCheckBox()
Negated chechbox |
String |
getXPath()
Get the XPath String |
JSyntaxTextArea |
getXPathField()
Returns the current JSyntaxTextArea for the xpath expression, or
creates a new one, if none is found. |
boolean |
isNegated()
Does this negate the xpath results |
boolean |
isShowNegated()
|
void |
setDefaultValues()
Set default values on this component |
void |
setNegated(boolean negated)
Set this to true, if you want success when the xpath does not match. |
void |
setShowNegated(boolean showNegate)
|
void |
setXPath(String xpath)
Set the string that will be used in the xpath evaluation |
static boolean |
validXPath(String xpathString,
boolean showDialog)
Test whether an XPath is valid. |
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 XPathPanel()
Method Detail |
---|
public void setDefaultValues()
public String getXPath()
public void setXPath(String xpath)
xpath
- The string representing the xpath expressionpublic boolean isNegated()
public void setNegated(boolean negated)
negated
- Flag whether xpath match should be negatedpublic JCheckBox getNegatedCheckBox()
public JButton getCheckXPathButton()
public JSyntaxTextArea getXPathField()
JSyntaxTextArea
for the xpath expression, or
creates a new one, if none is found.
JSyntaxTextArea
for the xpath expressionpublic boolean isShowNegated()
public void setShowNegated(boolean showNegate)
showNegate
- The showNegate to set.public static boolean validXPath(String xpathString, boolean showDialog)
xpathString
- XPath String to validateshowDialog
- weather to show a dialog
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |