📄 documentview.html
字号:
<!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="close()"><!-- --></A><H3>close</H3><PRE>public boolean <B>close</B>()</PRE><DL><DD>Closes the current view. This method is called whenever the view is being discarded. This is usually used to save properties associated with this view.<P><DD><DL></DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDescription</B>()</PRE><DL><DD>Gets a short, one line, description of this view.<P><DD><DL><DT><B>Returns:</B><DD>a short description of the view</DL></DD></DL><HR><A NAME="getDocumentViewComponent()"><!-- --></A><H3>getDocumentViewComponent</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A> <B>getDocumentViewComponent</B>()</PRE><DL><DD>Gets the the Component used to render this view.<P><DD><DL><DT><B>Returns:</B><DD>the Component used to render this view</DL></DD></DL><HR><A NAME="getHumanReadableName()"><!-- --></A><H3>getHumanReadableName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getHumanReadableName</B>()</PRE><DL><DD>The human readable name that is displayed on menus and user visible things<P><DD><DL><DT><B>Returns:</B><DD>the human readable name of this view</DL></DD></DL><HR><A NAME="getMenus()"><!-- --></A><H3>getMenus</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/javax/swing/JMenu.html" title="class or interface in javax.swing">JMenu</A>[] <B>getMenus</B>()</PRE><DL><DD>Gets the menus that this view has associated with it. This can be used when the view is loaded to set the menu bar.<P><DD><DL><DT><B>Returns:</B><DD>the menus for this view</DL></DD></DL><HR><A NAME="getOptionsPanel()"><!-- --></A><H3>getOptionsPanel</H3><PRE>public <A HREF="../../../../../net/sourceforge/jsxe/gui/OptionsPanel.html" title="class in net.sourceforge.jsxe.gui">OptionsPanel</A> <B>getOptionsPanel</B>()</PRE><DL><DD>Gets the view's options panel. This is used when displaying options that are associated with this view.<P><DD><DL><DT><B>Returns:</B><DD>the OptionsPanel for this view</DL></DD></DL><HR><A NAME="getViewName()"><!-- --></A><H3>getViewName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getViewName</B>()</PRE><DL><DD>Gets the name of the view used when the DocumentViewFactory selects a view to create.<P><DD><DL><DT><B>Returns:</B><DD>the name of the view</DL></DD></DL><HR><A NAME="getXMLDocument()"><!-- --></A><H3>getXMLDocument</H3><PRE>public <A HREF="../../../../../net/sourceforge/jsxe/dom/XMLDocument.html" title="class in net.sourceforge.jsxe.dom">XMLDocument</A> <B>getXMLDocument</B>()</PRE><DL><DD>Gets the XMLDocument that this view is currently using.<P><DD><DL><DT><B>Returns:</B><DD>the XMLDocument for this view</DL></DD></DL><HR><A NAME="setXMLDocument(net.sourceforge.jsxe.dom.XMLDocument)"><!-- --></A><H3>setXMLDocument</H3><PRE>public void <B>setXMLDocument</B>(<A HREF="../../../../../net/sourceforge/jsxe/dom/XMLDocument.html" title="class in net.sourceforge.jsxe.dom">XMLDocument</A> document) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Sets the current document. This method is used when you want to view another document using this view object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>document</CODE> - the new document to view<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if the document cannot be viewed using this view</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=3 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> </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></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" target="_top"><B>FRAMES</B></A> <A HREF="DocumentView.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -