|
Apache JMeter 2.1.1 |
|||||||||
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
author jspears
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, 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()
|
|
XPathPanel(boolean isDoubleBuffered)
|
|
XPathPanel(LayoutManager layout)
|
|
XPathPanel(LayoutManager layout,
boolean isDoubleBuffered)
|
Method Summary | |
JButton |
getCheckXPathButton()
Check XPath button |
JCheckBox |
getNegatedCheckBox()
Negated chechbox |
String |
getXPath()
Get the XPath String |
JTextField |
getXPathTextField()
|
boolean |
isNegated()
Does this negate the xpath results |
boolean |
isShowNegated()
|
static void |
main(String[] args)
Just a simple main to run this panel, It would be nice if it loaded up all the stuff for JMeterUtil but for a little test it is overkill. |
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 weather 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()
public XPathPanel(boolean isDoubleBuffered)
isDoubleBuffered
- public XPathPanel(LayoutManager layout)
layout
- public XPathPanel(LayoutManager layout, boolean isDoubleBuffered)
layout
- isDoubleBuffered
- Method Detail |
public String getXPath()
public void setXPath(String xpath)
xpath
- public boolean isNegated()
public void setNegated(boolean negated)
negated
- public JCheckBox getNegatedCheckBox()
public JButton getCheckXPathButton()
public JTextField getXPathTextField()
public 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
public static void main(String[] args)
args
-
|
Apache JMeter 2.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |