📄 visualelement.html
字号:
<DT><B>Parameters:</B><DD><CODE>image</CODE> - icon.</DL>
</DD>
</DL>
<HR>
<A NAME="informSelected()"><!-- --></A><H3>
informSelected</H3>
<PRE>
public void <B>informSelected</B>()</PRE>
<DL>
<DD>Called when selected by the user.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="disposed()"><!-- --></A><H3>
disposed</H3>
<PRE>
protected void <B>disposed</B>()</PRE>
<DL>
<DD>Called when disposed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="getSubElements(java.lang.Class, java.util.List)"><!-- --></A><H3>
getSubElements</H3>
<PRE>
private void <B>getSubElements</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)</PRE>
<DL>
<DD>Gets sub elements of a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - type.<DD><CODE>elts</CODE> - list that will be updated.</DL>
</DD>
</DL>
<HR>
<A NAME="getSubElements(java.lang.Class)"><!-- --></A><H3>
getSubElements</H3>
<PRE>
public java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>> <B>getSubElements</B>(java.lang.Class clazz)</PRE>
<DL>
<DD>Gets sub elements of a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - type.
<DT><B>Returns:</B><DD>java.util.List<VisualElement> elts list that will be updated.</DL>
</DD>
</DL>
<HR>
<A NAME="getSubElements(org.eclipse.swt.widgets.TreeItem, java.lang.Class)"><!-- --></A><H3>
getSubElements</H3>
<PRE>
public static java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>> <B>getSubElements</B>(org.eclipse.swt.widgets.TreeItem item,
java.lang.Class clazz)</PRE>
<DL>
<DD>Gets sub elements of a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - type.
<DT><B>Returns:</B><DD>java.util.List<VisualElement> elts list that will be updated.</DL>
</DD>
</DL>
<HR>
<A NAME="getAllParents(java.lang.Class, java.util.List)"><!-- --></A><H3>
getAllParents</H3>
<PRE>
private void <B>getAllParents</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)</PRE>
<DL>
<DD>Returns every ascendant of this element, restricted to a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - type.<DD><CODE>elts</CODE> - elts list that will be updated.</DL>
</DD>
</DL>
<HR>
<A NAME="getAllParents(java.lang.Class)"><!-- --></A><H3>
getAllParents</H3>
<PRE>
public java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A>> <B>getAllParents</B>(java.lang.Class clazz)</PRE>
<DL>
<DD>Returns every ascendant of this element, restricted to a given type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - type.
<DT><B>Returns:</B><DD>java.util.List<VisualElement> elts list that will be updated to give the results.</DL>
</DD>
</DL>
<HR>
<A NAME="canManageThisChild(net.fenyo.gnetwatch.GUI.VisualElement)"><!-- --></A><H3>
canManageThisChild</H3>
<PRE>
public boolean <B>canManageThisChild</B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> visual_element)</PRE>
<DL>
<DD>Checks that the parameter can be attached to this element.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>visual_element</CODE> - parameter to check.
<DT><B>Returns:</B><DD>true if the parameter can be attached to this element.</DL>
</DD>
</DL>
<HR>
<A NAME="getSubGraph(net.fenyo.gnetwatch.GUI.VisualElement, java.util.List)"><!-- --></A><H3>
getSubGraph</H3>
<PRE>
private void <B>getSubGraph</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)</PRE>
<DL>
<DD>Builds the subgraph rooted at the parent parameter.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - root of the subgraph.<DD><CODE>graph</CODE> - empty graph that will be updated to give the results.</DL>
</DD>
</DL>
<HR>
<A NAME="getSubGraph(net.fenyo.gnetwatch.GUI.VisualElement)"><!-- --></A><H3>
getSubGraph</H3>
<PRE>
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>>> <B>getSubGraph</B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> parent)</PRE>
<DL>
<DD>Builds the subgraph rooted at the parent parameter.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - root of the subgraph.
<DT><B>Returns:</B><DD>java.util.List<Pair<VisualElement, VisualElement>> resulting graph.</DL>
</DD>
</DL>
<HR>
<A NAME="getSubGraphExceptLinks(net.fenyo.gnetwatch.GUI.VisualElement, java.util.List, java.util.List)"><!-- --></A><H3>
getSubGraphExceptLinks</H3>
<PRE>
private void <B>getSubGraphExceptLinks</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)</PRE>
<DL>
<DD>Builds the subgraph rooted at the parent parameter, but not containing some links of another graph.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - root of the subgraph.<DD><CODE>graph</CODE> - empty graph that will be updated to give the results.<DD><CODE>except_links</CODE> - another graph.</DL>
</DD>
</DL>
<HR>
<A NAME="getSubGraphExceptLinks(net.fenyo.gnetwatch.GUI.VisualElement, java.util.List)"><!-- --></A><H3>
getSubGraphExceptLinks</H3>
<PRE>
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>>> <B>getSubGraphExceptLinks</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)</PRE>
<DL>
<DD>Builds the subgraph rooted at the parent parameter, but not containing some links of another graph.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - root of the subgraph.<DD><CODE>graph</CODE> - empty graph that will be updated to give the results.
<DT><B>Returns:</B><DD>java.util.List<Pair<VisualElement, VisualElement>> resulting graph.</DL>
</DD>
</DL>
<HR>
<A NAME="removeVisualElements(net.fenyo.gnetwatch.GUI.VisualElement)"><!-- --></A><H3>
removeVisualElements</H3>
<PRE>
public void <B>removeVisualElements</B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> visual_parent)</PRE>
<DL>
<DD>Detaches this element from one of its parents and removes children that have become orphan.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>visual_parent</CODE> - parent.</DL>
</DD>
</DL>
<HR>
<A NAME="removeVisualElements(net.fenyo.gnetwatch.GUI.VisualElement, boolean)"><!-- --></A><H3>
removeVisualElements</H3>
<PRE>
private void <B>removeVisualElements</B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A> visual_parent,
boolean bypass)</PRE>
<DL>
<DD>Detaches this element from one of its parents and removes children that have become orphan.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>visual_parent</CODE> - parent.<DD><CODE>bypass</CODE> - bypass some verifications.</DL>
</DD>
</DL>
<HR>
<A NAME="setProgress(int)"><!-- --></A><H3>
setProgress</H3>
<PRE>
public void <B>setProgress</B>(int progress)</PRE>
<DL>
<DD>Sets the progress bar position.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>progress</CODE> - position.</DL>
</DD>
</DL>
<HR>
<A NAME="selected()"><!-- --></A><H3>
selected</H3>
<PRE>
public void <B>selected</B>()</PRE>
<DL>
<DD>Called when this element has been selected.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="unselected()"><!-- --></A><H3>
unselected</H3>
<PRE>
public void <B>unselected</B>()</PRE>
<DL>
<DD>Called when this element has been unselected.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> - </DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/fenyo/gnetwatch/GUI/MapComponent.html" title="class in net.fenyo.gnetwatch.GUI"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/fenyo/gnetwatch/GUI/VisualElement.html" target="_top"><B>FRAMES</B></A>
<A HREF="VisualElement.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -