📄 processpanel.html
字号:
<DD>Sets the message shown for the given process. Process are numbered starting at 0 and in the same order as they were added.<br>For progress bar and single label process message is the caption. For list messages the message is appended to the list.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - Process index.<DD><CODE>message</CODE> - Message to be shown.</DL>
</DD>
</DL>
<HR>
<A NAME="setStep(int, long)"><!-- --></A><H3>
setStep</H3>
<PRE>
public void <B>setStep</B>(int index, long step)</PRE>
<DL>
<DD>Meaningful only for progress bar processes. Step regards to the total amount given at process creation, in addProcess() method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - Process index.<DD><CODE>step</CODE> - Actual step.</DL>
</DD>
</DL>
<HR>
<A NAME="canContinue()"><!-- --></A><H3>
canContinue</H3>
<PRE>
public boolean <B>canContinue</B>()</PRE>
<DL>
<DD>By default returns true when the process is done.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#canContinue()">canContinue</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#canContinue()">canContinue</A></CODE> in class <CODE><A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html">WizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True whenever forwarding is posible.</DL>
</DD>
</DL>
<HR>
<A NAME="canComeBack()"><!-- --></A><H3>
canComeBack</H3>
<PRE>
public boolean <B>canComeBack</B>()</PRE>
<DL>
<DD>By default returns false, meaning the process can't be undone.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#canComeBack()">canComeBack</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#canComeBack()">canComeBack</A></CODE> in class <CODE><A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html">WizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True whenever backwarding is posible.</DL>
</DD>
</DL>
<HR>
<A NAME="isExecuting()"><!-- --></A><H3>
isExecuting</H3>
<PRE>
public boolean <B>isExecuting</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if the process is running.</DL>
</DD>
</DL>
<HR>
<A NAME="isDone()"><!-- --></A><H3>
isDone</H3>
<PRE>
public boolean <B>isDone</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if the process is done.</DL>
</DD>
</DL>
<HR>
<A NAME="done()"><!-- --></A><H3>
done</H3>
<PRE>
public void <B>done</B>()</PRE>
<DL>
<DD>This method should be called within the run() method at the process end.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="execute()"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>()</PRE>
<DL>
<DD>This method is called when the panel is entered if setStartOnEnter() has been set to true, otherwise is called by the init button.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setCanCancel(boolean)"><!-- --></A><H3>
setCanCancel</H3>
<PRE>
public void <B>setCanCancel</B>(boolean value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="canCancel()"><!-- --></A><H3>
canCancel</H3>
<PRE>
public boolean <B>canCancel</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setStartOnEnter(boolean)"><!-- --></A><H3>
setStartOnEnter</H3>
<PRE>
public void <B>setStartOnEnter</B>(boolean value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - True when panel should execute on entering.</DL>
</DD>
</DL>
<HR>
<A NAME="run()"><!-- --></A><H3>
run</H3>
<PRE>
public abstract void <B>run</B>()</PRE>
<DL>
<DD>This method should overriden in order to execute the process. ProcessPanel ensures that the controls of the panel will be updated from process running in it.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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>
<b>Amic utility<br> classes</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../org/amic/desktop/wizard/Wizard.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ProcessPanel.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<font size=-1>Contact me at <a href='mailto:lluis@turro.org'>Lluis Turro</a></font>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -