📄 mainwindow.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.6.0) on Fri Mar 30 13:31:02 CEST 2007 --><TITLE>MainWindow</TITLE><META NAME="date" CONTENT="2007-03-30"><LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ if (location.href.indexOf('is-external=true') == -1) { parent.document.title="MainWindow"; }}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><HR><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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> </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="class-use/MainWindow.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-files/index-1.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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?gui/MainWindow.html" target="_top"><B>FRAMES</B></A> <A HREF="MainWindow.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">gui</FONT><BR>Class MainWindow</H2><PRE>java.lang.Object <IMG SRC="../resources/inherit.gif" ALT="extended by "><B>gui.MainWindow</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../p2p_system/BCInterfListener.html" title="interface in p2p_system">BCInterfListener</A></DD></DL><HR><DL><DT><PRE>public class <B>MainWindow</B><DT>extends java.lang.Object<DT>implements <A HREF="../p2p_system/BCInterfListener.html" title="interface in p2p_system">BCInterfListener</A></DL></PRE><P><HR><P><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JButton</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#addButton">addButton</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private <A HREF="../p2p_system/BookmarkedCatalogs.html" title="class in p2p_system">BookmarkedCatalogs</A></CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#bcs">bcs</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JPanel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#ButtonPanel">ButtonPanel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JPanel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#CatalogListPanel">CatalogListPanel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JScrollPane</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#CatalogListScrollPane">CatalogListScrollPane</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JTable</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#CatalogListTable">CatalogListTable</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JTable</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#CatalogSearchResultTable">CatalogSearchResultTable</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JPanel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#CatalogSelectPanel">CatalogSelectPanel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JCheckBox[]</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#cats">cats</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JLabel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#CatSearchLabel">CatSearchLabel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private java.lang.String[]</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#clabel">clabel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JButton</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#ClearButton">ClearButton</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private java.lang.String[]</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#cname">cname</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JButton</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#deleteButton">deleteButton</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JLabel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#DescriptionLabel">DescriptionLabel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JTextField</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#DescriptionTextField">DescriptionTextField</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JCheckBox</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#DownloadFileCheckBox">DownloadFileCheckBox</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.table.DefaultTableModel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#dtm">dtm</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.table.DefaultTableModel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#dtm2">dtm2</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JPanel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#InputCatalogPanel">InputCatalogPanel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JButton</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#InsertButton">InsertButton</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JPanel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#jContentPane">jContentPane</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JPanel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#jPanel">jPanel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JScrollPane</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#jScrollPane">jScrollPane</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JTabbedPane</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#jTabbedPane">jTabbedPane</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JLabel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#Label">Label</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JTextField</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LabelTextField">LabelTextField</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JLabel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LocalCatalogDescriptionLabel">LocalCatalogDescriptionLabel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JTextField</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LocalCatalogDescriptionTextField">LocalCatalogDescriptionTextField</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JPanel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LocalCatalogPanel">LocalCatalogPanel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JLabel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LocalCatalogTitleLabel">LocalCatalogTitleLabel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JTextField</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LocalCatalogTitleTextField">LocalCatalogTitleTextField</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JLabel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LocalCatalogUrlLabel">LocalCatalogUrlLabel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JTextField</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LocalCatalogUrlTextField">LocalCatalogUrlTextField</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JCheckBox</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LocalPeerCheckBox">LocalPeerCheckBox</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JPanel</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LogPanel">LogPanel</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JScrollPane</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LogScrollPane">LogScrollPane</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JTextArea</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#LogTextArea">LogTextArea</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JFrame</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#MainWindowFrame">MainWindowFrame</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private int</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#nres">nres</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JCheckBox</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#OtherPeerCheckBox">OtherPeerCheckBox</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private javax.swing.JCheckBox</CODE></FONT></TD><TD><CODE><B><A HREF="../gui/MainWindow.html#OtherWebCheckBox">OtherWebCheckBox</A></B></CODE><BR> </TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -