📄 reportguipackage.html
字号:
<PRE>
public void <B>removeNode</B>(<A HREF="../../../../org/apache/jmeter/testelement/TestElement.html" title="interface in org.apache.jmeter.testelement">TestElement</A> node)</PRE>
<DL>
<DD>Remove a test element from the tree. This removes the reference to any
associated GUI component.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the test element being removed</DL>
</DD>
</DL>
<HR>
<A NAME="getCurrentGui()"><!-- --></A><H3>
getCurrentGui</H3>
<PRE>
public <A HREF="../../../../org/apache/jmeter/gui/JMeterGUIComponent.html" title="interface in org.apache.jmeter.gui">JMeterGUIComponent</A> <B>getCurrentGui</B>()</PRE>
<DL>
<DD>Convenience method for grabbing the gui for the current node.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the GUI component associated with the currently selected node</DL>
</DD>
</DL>
<HR>
<A NAME="getNodeOf(org.apache.jmeter.testelement.TestElement)"><!-- --></A><H3>
getNodeOf</H3>
<PRE>
public <A HREF="../../../../org/apache/jmeter/report/gui/tree/ReportTreeNode.html" title="class in org.apache.jmeter.report.gui.tree">ReportTreeNode</A> <B>getNodeOf</B>(<A HREF="../../../../org/apache/jmeter/testelement/TestElement.html" title="interface in org.apache.jmeter.testelement">TestElement</A> userObject)</PRE>
<DL>
<DD>Find the JMeterTreeNode for a certain TestElement object.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>userObject</CODE> - the test element to search for
<DT><B>Returns:</B><DD>the tree node associated with the test element</DL>
</DD>
</DL>
<HR>
<A NAME="createTestElement(java.lang.Class, java.lang.Class)"><!-- --></A><H3>
createTestElement</H3>
<PRE>
public <A HREF="../../../../org/apache/jmeter/testelement/TestElement.html" title="interface in org.apache.jmeter.testelement">TestElement</A> <B>createTestElement</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> guiClass,
<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> testClass)</PRE>
<DL>
<DD>Create a TestElement corresponding to the specified GUI class.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>guiClass</CODE> - the fully qualified class name of the GUI component or a
TestBean class for TestBeanGUIs.<DD><CODE>testClass</CODE> - the fully qualified class name of the test elements edited by
this GUI component.
<DT><B>Returns:</B><DD>the test element corresponding to the specified GUI class.</DL>
</DD>
</DL>
<HR>
<A NAME="createTestElement(java.lang.String)"><!-- --></A><H3>
createTestElement</H3>
<PRE>
public <A HREF="../../../../org/apache/jmeter/testelement/TestElement.html" title="interface in org.apache.jmeter.testelement">TestElement</A> <B>createTestElement</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> objClass)</PRE>
<DL>
<DD>Create a TestElement for a GUI or TestBean class.
<p>
This is a utility method to help actions do with one single String
parameter.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>objClass</CODE> - the fully qualified class name of the GUI component or of the
TestBean subclass for which a TestBeanGUI is wanted.
<DT><B>Returns:</B><DD>the test element corresponding to the specified GUI class.</DL>
</DD>
</DL>
<HR>
<A NAME="updateCurrentGui()"><!-- --></A><H3>
updateCurrentGui</H3>
<PRE>
public void <B>updateCurrentGui</B>()</PRE>
<DL>
<DD>Update the GUI for the currently selected node. The GUI component is
configured to reflect the settings in the current tree node.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="updateCurrentNode()"><!-- --></A><H3>
updateCurrentNode</H3>
<PRE>
public void <B>updateCurrentNode</B>()</PRE>
<DL>
<DD>This method should be called in order for GuiPackage to change the
current node. This will save any changes made to the earlier node before
choosing the new node.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getCurrentNode()"><!-- --></A><H3>
getCurrentNode</H3>
<PRE>
public <A HREF="../../../../org/apache/jmeter/report/gui/tree/ReportTreeNode.html" title="class in org.apache.jmeter.report.gui.tree">ReportTreeNode</A> <B>getCurrentNode</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getCurrentElement()"><!-- --></A><H3>
getCurrentElement</H3>
<PRE>
public <A HREF="../../../../org/apache/jmeter/testelement/TestElement.html" title="interface in org.apache.jmeter.testelement">TestElement</A> <B>getCurrentElement</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setDirty(boolean)"><!-- --></A><H3>
setDirty</H3>
<PRE>
public void <B>setDirty</B>(boolean dirty)</PRE>
<DL>
<DD>The dirty property is a flag that indicates whether there are parts of
JMeter's test tree that the user has not saved since last modification.
Various (@link Command actions) set this property when components are
modified/created/saved.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dirty</CODE> - the new value of the dirty flag</DL>
</DD>
</DL>
<HR>
<A NAME="isDirty()"><!-- --></A><H3>
isDirty</H3>
<PRE>
public boolean <B>isDirty</B>()</PRE>
<DL>
<DD>Retrieves the state of the 'dirty' property, a flag that indicates if
there are test tree components that have been modified since they were
last saved.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if some tree components have been modified since they were
last saved, false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="addSubTree(org.apache.jorphan.collections.HashTree)"><!-- --></A><H3>
addSubTree</H3>
<PRE>
public <A HREF="../../../../org/apache/jorphan/collections/HashTree.html" title="class in org.apache.jorphan.collections">HashTree</A> <B>addSubTree</B>(<A HREF="../../../../org/apache/jorphan/collections/HashTree.html" title="class in org.apache.jorphan.collections">HashTree</A> subTree)
throws <A HREF="../../../../org/apache/jmeter/exceptions/IllegalUserActionException.html" title="class in org.apache.jmeter.exceptions">IllegalUserActionException</A></PRE>
<DL>
<DD>Add a subtree to the currently selected node.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>subTree</CODE> - the subtree to add.
<DT><B>Returns:</B><DD>the resulting subtree starting with the currently selected node
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/jmeter/exceptions/IllegalUserActionException.html" title="class in org.apache.jmeter.exceptions">IllegalUserActionException</A></CODE> - if a subtree cannot be added to the currently selected node</DL>
</DD>
</DL>
<HR>
<A NAME="getCurrentSubTree()"><!-- --></A><H3>
getCurrentSubTree</H3>
<PRE>
public <A HREF="../../../../org/apache/jorphan/collections/HashTree.html" title="class in org.apache.jorphan.collections">HashTree</A> <B>getCurrentSubTree</B>()</PRE>
<DL>
<DD>Get the currently selected subtree.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the subtree of the currently selected node</DL>
</DD>
</DL>
<HR>
<A NAME="getTreeModel()"><!-- --></A><H3>
getTreeModel</H3>
<PRE>
public <A HREF="../../../../org/apache/jmeter/report/gui/tree/ReportTreeModel.html" title="class in org.apache.jmeter.report.gui.tree">ReportTreeModel</A> <B>getTreeModel</B>()</PRE>
<DL>
<DD>Get the model for JMeter's test tree.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the JMeter tree model</DL>
</DD>
</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -