⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 converterfilechooser.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<A NAME="getCapabilitiesFilter()"><!-- --></A><H3>getCapabilitiesFilter</H3><PRE>public <A HREF="../../weka/core/Capabilities.html" title="class in weka.core">Capabilities</A> <B>getCapabilitiesFilter</B>()</PRE><DL><DD>returns the capabilities filter for the savers, can be null if all are listed.<P><DD><DL><DT><B>Returns:</B><DD>the minimum Capabilities the savers must have</DL></DD></DL><HR><A NAME="setOverwriteWarning(boolean)"><!-- --></A><H3>setOverwriteWarning</H3><PRE>public void <B>setOverwriteWarning</B>(boolean&nbsp;value)</PRE><DL><DD>Whether a warning is popped up if the file that is to be saved already exists (only save dialog).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - if true a warning will be popup</DL></DD></DL><HR><A NAME="getOverwriteWarning()"><!-- --></A><H3>getOverwriteWarning</H3><PRE>public boolean <B>getOverwriteWarning</B>()</PRE><DL><DD>Returns whether a popup appears with a warning that the file already  exists (only save dialog).<P><DD><DL><DT><B>Returns:</B><DD>true if a warning pops up</DL></DD></DL><HR><A NAME="setFileMustExist(boolean)"><!-- --></A><H3>setFileMustExist</H3><PRE>public void <B>setFileMustExist</B>(boolean&nbsp;value)</PRE><DL><DD>Whether the selected file must exst (only open dialog).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - if true the file must exist</DL></DD></DL><HR><A NAME="getFileMustExist()"><!-- --></A><H3>getFileMustExist</H3><PRE>public boolean <B>getFileMustExist</B>()</PRE><DL><DD>Returns whether the selected file must exist (only open dialog).<P><DD><DL><DT><B>Returns:</B><DD>true if the file must exist</DL></DD></DL><HR><A NAME="setCoreConvertersOnly(boolean)"><!-- --></A><H3>setCoreConvertersOnly</H3><PRE>public void <B>setCoreConvertersOnly</B>(boolean&nbsp;value)</PRE><DL><DD>Whether to display only the hardocded core converters. Necessary for RMI/Remote Experiments (dynamic class discovery doesn't work there!).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - if true only the core converters will be displayed<DT><B>See Also:</B><DD><A HREF="../../weka/gui/ConverterFileChooser.html#m_CoreConvertersOnly"><CODE>m_CoreConvertersOnly</CODE></A></DL></DD></DL><HR><A NAME="getCoreConvertersOnly()"><!-- --></A><H3>getCoreConvertersOnly</H3><PRE>public boolean <B>getCoreConvertersOnly</B>()</PRE><DL><DD>Returns whether only the hardcoded core converters are displayed.  Necessary for RMI/REmote Experiments (dynamic class discovery doesn't  work there!).<P><DD><DL><DT><B>Returns:</B><DD>true if the file must exist<DT><B>See Also:</B><DD><A HREF="../../weka/gui/ConverterFileChooser.html#m_CoreConvertersOnly"><CODE>m_CoreConvertersOnly</CODE></A></DL></DD></DL><HR><A NAME="showDialog(java.awt.Component, java.lang.String)"><!-- --></A><H3>showDialog</H3><PRE>public int <B>showDialog</B>(java.awt.Component&nbsp;parent,                      java.lang.String&nbsp;approveButtonText)</PRE><DL><DD>Pops a custom file chooser dialog with a custom approve button. Throws an exception, if the dialog type is UNHANDLED_DIALOG.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>showDialog</CODE> in class <CODE>javax.swing.JFileChooser</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent of this dialog<DD><CODE>approveButtonText</CODE> - the text for the OK button<DT><B>Returns:</B><DD>the user's action</DL></DD></DL><HR><A NAME="showOpenDialog(java.awt.Component)"><!-- --></A><H3>showOpenDialog</H3><PRE>public int <B>showOpenDialog</B>(java.awt.Component&nbsp;parent)</PRE><DL><DD>Pops up an "Open File" file chooser dialog.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>showOpenDialog</CODE> in class <CODE>javax.swing.JFileChooser</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent of this file chooser<DT><B>Returns:</B><DD>the result of the user's action</DL></DD></DL><HR><A NAME="showSaveDialog(java.awt.Component)"><!-- --></A><H3>showSaveDialog</H3><PRE>public int <B>showSaveDialog</B>(java.awt.Component&nbsp;parent)</PRE><DL><DD>Pops up an "Save File" file chooser dialog.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>showSaveDialog</CODE> in class <CODE>javax.swing.JFileChooser</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent of this file chooser<DT><B>Returns:</B><DD>the result of the user's action</DL></DD></DL><HR><A NAME="getLoader()"><!-- --></A><H3>getLoader</H3><PRE>public <A HREF="../../weka/core/converters/AbstractFileLoader.html" title="class in weka.core.converters">AbstractFileLoader</A> <B>getLoader</B>()</PRE><DL><DD>returns the loader that was chosen by the user, can be null in case the user aborted the dialog or the save dialog was shown<P><DD><DL><DT><B>Returns:</B><DD>the chosen loader, if any</DL></DD></DL><HR><A NAME="getSaver()"><!-- --></A><H3>getSaver</H3><PRE>public <A HREF="../../weka/core/converters/AbstractFileSaver.html" title="class in weka.core.converters">AbstractFileSaver</A> <B>getSaver</B>()</PRE><DL><DD>returns the saver that was chosen by the user, can be null in case the user aborted the dialog or the open dialog was shown<P><DD><DL><DT><B>Returns:</B><DD>the chosen saver, if any</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[]&nbsp;args)                 throws java.lang.Exception</PRE><DL><DD>For testing the file chooser<P><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - the commandline options - ignored<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if something goes wrong with loading/saving</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../weka/gui/ComponentHelper.html" title="class in weka.gui"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../weka/gui/CostMatrixEditor.html" title="class in weka.gui"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?weka/gui/ConverterFileChooser.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ConverterFileChooser.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -