📄 queue.html
字号:
<TD><CODE><B><A HREF="../../../../net/fenyo/gnetwatch/activities/Queue.html#getEmptyCycleDelay()">getEmptyCycleDelay</A></B>()</CODE>
<BR>
Returns the time to wait between empty cycles.</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/activities/Queue.html#informCycle()">informCycle</A></B>()</CODE>
<BR>
Called after each cycle.</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/activities/Queue.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>
Sets the current GUI instance.</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/activities/Queue.html#interrupt()">interrupt</A></B>()</CODE>
<BR>
Stops this queue thread.</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/activities/Queue.html#isExhausted()">isExhausted</A></B>()</CODE>
<BR>
Checks that the timeout occured.</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/activities/Queue.html#removeAction(net.fenyo.gnetwatch.actions.Action)">removeAction</A></B>(<A HREF="../../../../net/fenyo/gnetwatch/actions/Action.html" title="class in net.fenyo.gnetwatch.actions">Action</A> action)</CODE>
<BR>
Removes an action from this queue.</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/activities/Queue.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 queue from the selected parent.</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/activities/Queue.html#run()">run</A></B>()</CODE>
<BR>
Loops among the actions currently in this queue.</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/activities/Queue.html#selected()">selected</A></B>()</CODE>
<BR>
Called when this visual element is 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/activities/Queue.html#setProgress(int)">setProgress</A></B>(int progress)</CODE>
<BR>
Defines the progress bar level.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_net.fenyo.gnetwatch.GUI.VisualElement"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class net.fenyo.gnetwatch.GUI.<A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#canManageThisChild(net.fenyo.gnetwatch.GUI.VisualElement)">canManageThisChild</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#contains(net.fenyo.gnetwatch.GUI.VisualElement)">contains</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#disposed()">disposed</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getAllParents(java.lang.Class)">getAllParents</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getChildren()">getChildren</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getGUI()">getGUI</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getItem()">getItem</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getParents()">getParents</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getSubElements(java.lang.Class)">getSubElements</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getSubElements(org.eclipse.swt.widgets.TreeItem, java.lang.Class)">getSubElements</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#getTreeItems()">getTreeItems</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#informSelected()">informSelected</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#isDisposed()">isDisposed</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#isThisOurTreeItem(org.eclipse.swt.widgets.TreeItem)">isThisOurTreeItem</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImage(org.eclipse.swt.graphics.Image)">setImage</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageExec()">setImageExec</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageFolder()">setImageFolder</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageHost()">setImageHost</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageHost6()">setImageHost6</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageInterface()">setImageInterface</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageNetwork()">setImageNetwork</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageOscillo()">setImageOscillo</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageQueue()">setImageQueue</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setImageWatch()">setImageWatch</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setItem(java.lang.String)">setItem</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setParent(net.fenyo.gnetwatch.GUI.GUI, org.eclipse.swt.widgets.Tree)">setParent</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setParent(net.fenyo.gnetwatch.GUI.GUI, net.fenyo.gnetwatch.GUI.VisualElement)">setParent</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#setType(java.lang.String)">setType</A>, <A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#unselected()">unselected</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="log"><!-- --></A><H3>
log</H3>
<PRE>
private static Log <B>log</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="name"><!-- --></A><H3>
name</H3>
<PRE>
private final java.lang.String <B>name</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="config"><!-- --></A><H3>
config</H3>
<PRE>
private final <A HREF="../../../../net/fenyo/gnetwatch/Config.html" title="class in net.fenyo.gnetwatch">Config</A> <B>config</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="thread"><!-- --></A><H3>
thread</H3>
<PRE>
private final java.lang.Thread <B>thread</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="max_time"><!-- --></A><H3>
max_time</H3>
<PRE>
private long <B>max_time</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="progress"><!-- --></A><H3>
progress</H3>
<PRE>
private int <B>progress</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="actions"><!-- --></A><H3>
actions</H3>
<PRE>
private final java.util.List<<A HREF="../../../../net/fenyo/gnetwatch/actions/Action.html" title="class in net.fenyo.gnetwatch.actions">Action</A>> <B>actions</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="actions_copy"><!-- --></A><H3>
actions_copy</H3>
<PRE>
private java.util.Vector<<A HREF="../../../../net/fenyo/gnetwatch/actions/Action.html" title="class in net.fenyo.gnetwatch.actions">Action</A>> <B>actions_copy</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="current_action"><!-- --></A><H3>
current_action</H3>
<PRE>
private <A HREF="../../../../net/fenyo/gnetwatch/actions/Action.html" title="class in net.fenyo.gnetwatch.actions">Action</A> <B>current_action</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="Queue(java.lang.String, net.fenyo.gnetwatch.Config)"><!-- --></A><H3>
Queue</H3>
<PRE>
protected <B>Queue</B>(java.lang.String name,
<A HREF="../../../../net/fenyo/gnetwatch/Config.html" title="class in net.fenyo.gnetwatch">Config</A> config)</PRE>
<DL>
<DD>Constructor.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - queue name.<DD><CODE>config</CODE> - configuration.</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="initialize(net.fenyo.gnetwatch.GUI.GUI)"><!-- --></A><H3>
initialize</H3>
<PRE>
protected final void <B>initialize</B>(<A HREF="../../../../net/fenyo/gnetwatch/GUI/GUI.html" title="class in net.fenyo.gnetwatch.GUI">GUI</A> gui)</PRE>
<DL>
<DD>Sets the current GUI instance.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html#initialize(net.fenyo.gnetwatch.GUI.GUI)">initialize</A></CODE> in class <CODE><A HREF="../../../../net/fenyo/gnetwatch/GUI/VisualElement.html" title="class in net.fenyo.gnetwatch.GUI">VisualElement</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>GUI</CODE> - current GUI instance.</DL>
</DD>
</DL>
<HR>
<A NAME="addAction(net.fenyo.gnetwatch.actions.Action)"><!-- --></A><H3>
addAction</H3>
<PRE>
public void <B>addAction</B>(<A HREF="../../../../net/fenyo/gnetwatch/actions/Action.html" title="class in net.fenyo.gnetwatch.actions">Action</A> action)</PRE>
<DL>
<DD>Adds a new action to this queue.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>action</CODE> - new action to add.</DL>
</DD>
</DL>
<HR>
<A NAME="removeAction(net.fenyo.gnetwatch.actions.Action)"><!-- --></A><H3>
removeAction</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -