📄 visualelement.html
字号:
<BR>
Returns every ascendant of this element, restricted to a given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getAllParents(java.lang.Class, java.util.List)">getAllParents</A></B>(java.lang.Class clazz,
java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>> elts)</CODE>
<BR>
Returns every ascendant of this element, restricted to a given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getChildren()">getChildren</A></B>()</CODE>
<BR>
Returns children elements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../net/fenyo/gnetwatch/GUI/GUI.html" title="class in net.fenyo.gnetwatch.GUI">GUI</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getGUI()">getGUI</A></B>()</CODE>
<BR>
Returns the current GUI instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getItem()">getItem</A></B>()</CODE>
<BR>
Returns the item name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getParents()">getParents</A></B>()</CODE>
<BR>
Returns parents of this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getSubElements(java.lang.Class)">getSubElements</A></B>(java.lang.Class clazz)</CODE>
<BR>
Gets sub elements of a given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getSubElements(java.lang.Class, java.util.List)">getSubElements</A></B>(java.lang.Class clazz,
java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>> elts)</CODE>
<BR>
Gets sub elements of a given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getSubElements(org.eclipse.swt.widgets.TreeItem, java.lang.Class)">getSubElements</A></B>(org.eclipse.swt.widgets.TreeItem item,
java.lang.Class clazz)</CODE>
<BR>
Gets sub elements of a given type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/Pair.html" title="class in net.fenyo.gnetwatch">Pair</A><<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>,<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getSubGraph(net.fenyo.gnetwatch.GUI.VisualElement)">getSubGraph</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> parent)</CODE>
<BR>
Builds the subgraph rooted at the parent parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getSubGraph(net.fenyo.gnetwatch.GUI.VisualElement, java.util.List)">getSubGraph</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> parent,
java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/Pair.html" title="class in net.fenyo.gnetwatch">Pair</A><<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>,<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>>> graph)</CODE>
<BR>
Builds the subgraph rooted at the parent parameter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/Pair.html" title="class in net.fenyo.gnetwatch">Pair</A><<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>,<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getSubGraphExceptLinks(net.fenyo.gnetwatch.GUI.VisualElement, java.util.List)">getSubGraphExceptLinks</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> parent,
java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/Pair.html" title="class in net.fenyo.gnetwatch">Pair</A><<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>,<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>>> except_links)</CODE>
<BR>
Builds the subgraph rooted at the parent parameter, but not containing some links of another graph.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getSubGraphExceptLinks(net.fenyo.gnetwatch.GUI.VisualElement, java.util.List, java.util.List)">getSubGraphExceptLinks</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> parent,
java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/Pair.html" title="class in net.fenyo.gnetwatch">Pair</A><<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>,<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>>> graph,
java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/Pair.html" title="class in net.fenyo.gnetwatch">Pair</A><<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>,<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>>> except_links)</CODE>
<BR>
Builds the subgraph rooted at the parent parameter, but not containing some links of another graph.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.util.List<org.eclipse.swt.widgets.TreeItem></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getTreeItems()">getTreeItems</A></B>()</CODE>
<BR>
Returns the list of tree items that represent this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#informSelected()">informSelected</A></B>()</CODE>
<BR>
Called when selected by the user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#initialize(net.fenyo.gnetwatch.GUI.GUI)">initialize</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/GUI.html" title="class in net.fenyo.gnetwatch.GUI">GUI</A> gui)</CODE>
<BR>
Initializes this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#isDisposed()">isDisposed</A></B>()</CODE>
<BR>
Checks that this element is disposed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#isThisOurTreeItem(org.eclipse.swt.widgets.TreeItem)">isThisOurTreeItem</A></B>(org.eclipse.swt.widgets.TreeItem item)</CODE>
<BR>
Checks that a tree item represents this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#removeVisualElements(net.fenyo.gnetwatch.GUI.VisualElement)">removeVisualElements</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> visual_parent)</CODE>
<BR>
Detaches this element from one of its parents and removes children that have become orphan.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#removeVisualElements(net.fenyo.gnetwatch.GUI.VisualElement, boolean)">removeVisualElements</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> visual_parent,
boolean bypass)</CODE>
<BR>
Detaches this element from one of its parents and removes children that have become orphan.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#selected()">selected</A></B>()</CODE>
<BR>
Called when this element has been selected.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setDescription(java.lang.String)">setDescription</A></B>(java.lang.String description)</CODE>
<BR>
Sets the description.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImage(org.eclipse.swt.graphics.Image)">setImage</A></B>(org.eclipse.swt.graphics.Image image)</CODE>
<BR>
Sets the icon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageExec()">setImageExec</A></B>()</CODE>
<BR>
Sets the "exec" icon to this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageFolder()">setImageFolder</A></B>()</CODE>
<BR>
Sets the "folder" icon to this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageHost()">setImageHost</A></B>()</CODE>
<BR>
Sets the "IPv4 host" icon to this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageHost6()">setImageHost6</A></B>()</CODE>
<BR>
Sets the "IPv6 host" icon to this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageInterface()">setImageInterface</A></B>()</CODE>
<BR>
Sets the "inteface" icon to this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageNetwork()">setImageNetwork</A></B>()</CODE>
<BR>
Sets the "network" icon to this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageOscillo()">setImageOscillo</A></B>()</CODE>
<BR>
Sets the "oscilloscope" icon to this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageQueue()">setImageQueue</A></B>()</CODE>
<BR>
Sets the "queue" icon to this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageWatch()">setImageWatch</A></B>()</CODE>
<BR>
Sets the "watch" icon to this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setItem(java.lang.String)">setItem</A></B>(java.lang.String item)</CODE>
<BR>
Sets the item name (displayed text).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setParent(net.fenyo.gnetwatch.GUI.GUI, org.eclipse.swt.widgets.Tree)">setParent</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/GUI.html" title="class in net.fenyo.gnetwatch.GUI">GUI</A> gui,
org.eclipse.swt.widgets.Tree parent)</CODE>
<BR>
Attaches this element to the root of a tree.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setParent(net.fenyo.gnetwatch.GUI.GUI, net.fenyo.gnetwatch.GUI.VisualElement)">setParent</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/GUI.html" title="class in net.fenyo.gnetwatch.GUI">GUI</A> gui,
<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> parent)</CODE>
<BR>
Attaches this item under another element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setProgress(int)">setProgress</A></B>(int progress)</CODE>
<BR>
Sets the progress bar position.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setType(java.lang.String)">setType</A></B>(java.lang.String type)</CODE>
<BR>
Sets the displayed type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -