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

📄 resizemanager.html

📁 Medi 这是一个基于Java的媒体文件归档器工具
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="HORIZONTAL"><!-- --></A><H3>HORIZONTAL</H3><PRE>public final int <B>HORIZONTAL</B></PRE><DL><DD>Only horizontal resizing will be performed.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javatools.swing.ResizeManager.HORIZONTAL">Constant Field Values</A></DL></DL><HR><A NAME="VERTICAL"><!-- --></A><H3>VERTICAL</H3><PRE>public final int <B>VERTICAL</B></PRE><DL><DD>Only vertical resizing will be performed.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javatools.swing.ResizeManager.VERTICAL">Constant Field Values</A></DL></DL><HR><A NAME="BOTH"><!-- --></A><H3>BOTH</H3><PRE>public final int <B>BOTH</B></PRE><DL><DD>Both horizontal and vertical resizing will be performed.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javatools.swing.ResizeManager.BOTH">Constant Field Values</A></DL></DL><!-- ========= 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="ResizeManager()"><!-- --></A><H3>ResizeManager</H3><PRE>public <B>ResizeManager</B>()</PRE><DL><DD>Creates new ResizeManager<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="setContainer(java.awt.Container, java.awt.Dimension, java.awt.Dimension)"><!-- --></A><H3>setContainer</H3><PRE>public void <B>setContainer</B>(java.awt.Container&nbsp;cont,                         java.awt.Dimension&nbsp;initialDims,                         java.awt.Dimension&nbsp;minDims)</PRE><DL><DD>Sets the container whose dimension will be checked.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cont</CODE> - The referenced container.<DD><CODE>initialDims</CODE> - Initial dimension of the container.<DD><CODE>minDims</CODE> - Minimum dimension of the container.</DL></DD></DL><HR><A NAME="getContainer()"><!-- --></A><H3>getContainer</H3><PRE>public java.awt.Container <B>getContainer</B>()</PRE><DL><DD>Returns the monitored container.<P><DD><DL><DT><B>Returns:</B><DD>The referenced container.</DL></DD></DL><HR><A NAME="getContainerInitialDimension()"><!-- --></A><H3>getContainerInitialDimension</H3><PRE>public java.awt.Dimension <B>getContainerInitialDimension</B>()</PRE><DL><DD>Returns initial dimension of the monitored container.<P><DD><DL><DT><B>Returns:</B><DD>The initial dimension of the referenced container.</DL></DD></DL><HR><A NAME="getContainerMinDimension()"><!-- --></A><H3>getContainerMinDimension</H3><PRE>public java.awt.Dimension <B>getContainerMinDimension</B>()</PRE><DL><DD>Returns minimum dimension of the monitored container.<P><DD><DL><DT><B>Returns:</B><DD>The minimum dimension of the referenced container.</DL></DD></DL><HR><A NAME="addComponent(javax.swing.JComponent, java.awt.Dimension, int)"><!-- --></A><H3>addComponent</H3><PRE>public void <B>addComponent</B>(javax.swing.JComponent&nbsp;comp,                         java.awt.Dimension&nbsp;dims,                         int&nbsp;resizeOpt)</PRE><DL><DD>Adds a component to resize on resizing of the monitored container.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component to add.<DD><CODE>dims</CODE> - Initial dimension of the component.<DD><CODE>resizeOpt</CODE> - Integer value representing how resizing will be performed.</DL></DD></DL><HR><A NAME="getNumComponents()"><!-- --></A><H3>getNumComponents</H3><PRE>public int <B>getNumComponents</B>()</PRE><DL><DD>Returns the number of managed components.<P><DD><DL><DT><B>Returns:</B><DD>The number of managed components.</DL></DD></DL><HR><A NAME="getComponent(int)"><!-- --></A><H3>getComponent</H3><PRE>public javax.swing.JComponent <B>getComponent</B>(int&nbsp;numComponent)                                    throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Returns a referenced component.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>numComponent</CODE> - The position of the needed component.<DT><B>Returns:</B><DD>The reference to managed component.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If <CODE>numComponent</CODE> is not valid.</DL></DD></DL><HR><A NAME="removeComponent(int)"><!-- --></A><H3>removeComponent</H3><PRE>public void <B>removeComponent</B>(int&nbsp;numComponent)                     throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Removes a component from the list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>numComponent</CODE> - The position of the component.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If <CODE>numComponent</CODE> is not valid.</DL></DD></DL><HR><A NAME="getInitialDimension(int)"><!-- --></A><H3>getInitialDimension</H3><PRE>public java.awt.Dimension <B>getInitialDimension</B>(int&nbsp;numComponent)                                       throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Returns initial dimension of a component.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>numComponent</CODE> - The position of the component.<DT><B>Returns:</B><DD>The initial dimension of the component.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If <CODE>numComponent</CODE> is not valid.</DL></DD></DL><HR><A NAME="getResizeOption(int)"><!-- --></A><H3>getResizeOption</H3><PRE>public int <B>getResizeOption</B>(int&nbsp;numComponent)                    throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Returns the resize option for a component.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>numComponent</CODE> - The position of the needed component.<DT><B>Returns:</B><DD>The value representing how resizing will be performed.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If <CODE>numComponent</CODE> is not valid.</DL></DD></DL><HR><A NAME="resize()"><!-- --></A><H3>resize</H3><PRE>public void <B>resize</B>()</PRE><DL><DD>Resizes the form by taking current dimension of the container.<P><DD><DL></DL></DD></DL><HR><A NAME="initSize()"><!-- --></A><H3>initSize</H3><PRE>public void <B>initSize</B>()</PRE><DL><DD>Initializes the monitored object with initials sizes.<P><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>&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>  </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="../../javatools/swing/PresentationPanel.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javatools/swing/ScriptExecutorWizard.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ResizeManager.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -