📄 processpanel.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/amic/desktop/wizard/ProcessPanel.html#done()">done</A></B>()</CODE>
<BR>
This method should be called within the run() method at the process end.</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="../../../../org/amic/desktop/wizard/ProcessPanel.html#execute()">execute</A></B>()</CODE>
<BR>
This method is called when the panel is entered if setStartOnEnter() has been set to true, otherwise is called by the init button.</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="../../../../org/amic/desktop/wizard/ProcessPanel.html#isDone()">isDone</A></B>()</CODE>
<BR>
</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="../../../../org/amic/desktop/wizard/ProcessPanel.html#isExecuting()">isExecuting</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/amic/desktop/wizard/ProcessPanel.html#run()">run</A></B>()</CODE>
<BR>
This method should overriden in order to execute the process. </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="../../../../org/amic/desktop/wizard/ProcessPanel.html#setCanCancel(boolean)">setCanCancel</A></B>(boolean value)</CODE>
<BR>
</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="../../../../org/amic/desktop/wizard/ProcessPanel.html#setMessage(int, java.lang.String)">setMessage</A></B>(int index, java.lang.String message)</CODE>
<BR>
Sets the message shown for the given process. </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="../../../../org/amic/desktop/wizard/ProcessPanel.html#setStartOnEnter(boolean)">setStartOnEnter</A></B>(boolean value)</CODE>
<BR>
</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="../../../../org/amic/desktop/wizard/ProcessPanel.html#setStep(int, long)">setStep</A></B>(int index, long step)</CODE>
<BR>
Meaningful only for progress bar processes. </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="../../../../org/amic/desktop/wizard/ProcessPanel.html#willEnter()">willEnter</A></B>()</CODE>
<BR>
Each panel will get this method executed before the panel itself is entered.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.amic.desktop.wizard.WizardPanel"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.amic.desktop.wizard.<A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html">WizardPanel</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#canceled()">canceled</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#enterKey()">enterKey</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#escapeKey()">escapeKey</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#getComponent()">getComponent</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#getFocusFirstControl()">getFocusFirstControl</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#getResponseOnCancel()">getResponseOnCancel</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#getResponseOnEnter()">getResponseOnEnter</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#getTitle()">getTitle</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#getWizard()">getWizard</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#invalidateControls()">invalidateControls</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#isActive()">isActive</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#needsRecreate()">needsRecreate</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#setActive(boolean)">setActive</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#setFocusFirstControl(boolean)">setFocusFirstControl</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#setResponseOnCancel(boolean)">setResponseOnCancel</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#setResponseOnEnter(boolean)">setResponseOnEnter</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#setWizard(org.amic.desktop.wizard.Wizard)">setWizard</A>, <A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html#willExit()">willExit</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.JPanel</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.JComponent</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Container</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Component</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="ProcessPanel()"><!-- --></A><H3>
ProcessPanel</H3>
<PRE>
public <B>ProcessPanel</B>()</PRE>
<DL>
<DD>Creates a new instance of ProcessPanel
<P>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="willEnter()"><!-- --></A><H3>
willEnter</H3>
<PRE>
public void <B>willEnter</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>Each panel will get this method executed before the panel itself is entered.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#willEnter()">willEnter</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#willEnter()">willEnter</A></CODE> in class <CODE><A HREF="../../../../org/amic/desktop/wizard/WizardPanel.html">WizardPanel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addProcess(java.lang.String, long)"><!-- --></A><H3>
addProcess</H3>
<PRE>
public void <B>addProcess</B>(java.lang.String title, long total)</PRE>
<DL>
<DD>This method adds a progress bar process.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - Label caption.<DD><CODE>total</CODE> - Total amount of steps requiered to end process.</DL>
</DD>
</DL>
<HR>
<A NAME="addProcess(java.lang.String, boolean, int)"><!-- --></A><H3>
addProcess</H3>
<PRE>
public void <B>addProcess</B>(java.lang.String title, boolean multiple, int height)</PRE>
<DL>
<DD>This method adds a single label or a captioned list of messages, depending on the multiple parameter.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - Label caption.<DD><CODE>multiple</CODE> - True if the messages should be keept in a list.<DD><CODE>height</CODE> - List height whether multiple has been selected.</DL>
</DD>
</DL>
<HR>
<A NAME="addEmptySpace(int)"><!-- --></A><H3>
addEmptySpace</H3>
<PRE>
public void <B>addEmptySpace</B>(int height)</PRE>
<DL>
<DD>This method adds an empty space.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>height</CODE> - Space height.</DL>
</DD>
</DL>
<HR>
<A NAME="setMessage(int, java.lang.String)"><!-- --></A><H3>
setMessage</H3>
<PRE>
public void <B>setMessage</B>(int index, java.lang.String message)</PRE>
<DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -