📄 wizardpanel.html
字号:
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#getTitle()">getTitle</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Panel's title</DL>
</DD>
</DL>
<HR>
<A NAME="getComponent()"><!-- --></A><H3>
getComponent</H3>
<PRE>
public java.awt.Component <B>getComponent</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>Returns the JPanel as a Component. Convenience method to deal with the CardLayout.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#getComponent()">getComponent</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>This panel as Component.</DL>
</DD>
</DL>
<HR>
<A NAME="getWizard()"><!-- --></A><H3>
getWizard</H3>
<PRE>
public <A HREF="../../../../org/amic/desktop/wizard/Wizard.html">Wizard</A> <B>getWizard</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>The panels may access the owner wizard with this method.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#getWizard()">getWizard</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The owner Wizard.</DL>
</DD>
</DL>
<HR>
<A NAME="setWizard(org.amic.desktop.wizard.Wizard)"><!-- --></A><H3>
setWizard</H3>
<PRE>
public void <B>setWizard</B>(<A HREF="../../../../org/amic/desktop/wizard/Wizard.html">Wizard</A> value)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>Sets the owner wizard for this panel. The Wizard class takes care of initializing this value.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#setWizard(org.amic.desktop.wizard.Wizard)">setWizard</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The owner wizard.</DL>
</DD>
</DL>
<HR>
<A NAME="invalidateControls()"><!-- --></A><H3>
invalidateControls</H3>
<PRE>
public void <B>invalidateControls</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>Tells the panel that controls may not show valid data. By calling this method you ensure the first call to needsRecreate() will return true.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#invalidateControls()">invalidateControls</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="needsRecreate()"><!-- --></A><H3>
needsRecreate</H3>
<PRE>
public boolean <B>needsRecreate</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>Whether you initiates panel controls in willEnter() method checking this method will give you feed-back on validity of the shown data. Call this method will reset the status of needsRecreate to false.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#needsRecreate()">needsRecreate</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True when controls may noy show valid data.</DL>
</DD>
</DL>
<HR>
<A NAME="setFocusFirstControl(boolean)"><!-- --></A><H3>
setFocusFirstControl</H3>
<PRE>
public void <B>setFocusFirstControl</B>(boolean value)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>This method allow the wizard to request the focus on the first focusable control unless it is a JLabel or a JButton.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#setFocusFirstControl(boolean)">setFocusFirstControl</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - True when the wizard should give focus to the panel.</DL>
</DD>
</DL>
<HR>
<A NAME="setResponseOnEnter(boolean)"><!-- --></A><H3>
setResponseOnEnter</H3>
<PRE>
public void <B>setResponseOnEnter</B>(boolean value)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>Sets whenever the panel should respond to the Enter key. By default this value is true and the panel will perform the same action as if the next or finish button were pressed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#setResponseOnEnter(boolean)">setResponseOnEnter</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - True when the panel should respond to Enter key.</DL>
</DD>
</DL>
<HR>
<A NAME="setResponseOnCancel(boolean)"><!-- --></A><H3>
setResponseOnCancel</H3>
<PRE>
public void <B>setResponseOnCancel</B>(boolean value)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>Sets whenever the panel should respond to the Esc key. By default this value is true and the panel will perform the same action as if the back or cancel button were pressed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#setResponseOnCancel(boolean)">setResponseOnCancel</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - True when the panel should respond to Esc key.</DL>
</DD>
</DL>
<HR>
<A NAME="getFocusFirstControl()"><!-- --></A><H3>
getFocusFirstControl</H3>
<PRE>
public boolean <B>getFocusFirstControl</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#getFocusFirstControl()">getFocusFirstControl</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The focusFirstControl status.</DL>
</DD>
</DL>
<HR>
<A NAME="getResponseOnEnter()"><!-- --></A><H3>
getResponseOnEnter</H3>
<PRE>
public boolean <B>getResponseOnEnter</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#getResponseOnEnter()">getResponseOnEnter</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The respondOnEnter status.</DL>
</DD>
</DL>
<HR>
<A NAME="getResponseOnCancel()"><!-- --></A><H3>
getResponseOnCancel</H3>
<PRE>
public boolean <B>getResponseOnCancel</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#getResponseOnCancel()">getResponseOnCancel</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The respondOnCancel status.</DL>
</DD>
</DL>
<HR>
<A NAME="escapeKey()"><!-- --></A><H3>
escapeKey</H3>
<PRE>
public void <B>escapeKey</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>Called whenever responseOnCancel is true and Escape key has been pressed. This method allows to perform some check validity before the default action is taken.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#escapeKey()">escapeKey</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="enterKey()"><!-- --></A><H3>
enterKey</H3>
<PRE>
public void <B>enterKey</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></CODE></B></DD>
<DD>Called whenever responseOnEnter is true and Enter key has been pressed. This method allows to perform some check validity before the default action is taken.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html#enterKey()">enterKey</A></CODE> in interface <CODE><A HREF="../../../../org/amic/desktop/wizard/IWizardPanel.html">IWizardPanel</A></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">
<A HREF="../../../../org/amic/desktop/wizard/WizardList.html"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="WizardPanel.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 + -