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

📄 defaultcomponentfinder.html

📁 Swing组件的可视化设计程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE><A NAME="DefaultComponentFinder(java.awt.Container)"><!-- --></A><H3>DefaultComponentFinder</H3><PRE>public <B>DefaultComponentFinder</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Container.html" title="class or interface in java.awt">Container</A>&nbsp;parent)</PRE><DL><DD>ctor<P></DL><!-- ============ 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="buildNames(java.awt.Container)"><!-- --></A><H3>buildNames</H3><PRE>protected void <B>buildNames</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Container.html" title="class or interface in java.awt">Container</A>&nbsp;container)</PRE><DL><DD>Recursively searches all Components owned by this container.  If the Component has a name, we store it in the m_components hash table<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>container</CODE> - the container to search</DL></DD></DL><HR><A NAME="componentAdded(java.awt.event.ContainerEvent)"><!-- --></A><H3>componentAdded</H3><PRE>public void <B>componentAdded</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/ContainerEvent.html" title="class or interface in java.awt.event">ContainerEvent</A>&nbsp;e)</PRE><DL><DD>A component was added to the container<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/ContainerListener.html#componentAdded(java.awt.event.ContainerEvent)" title="class or interface in java.awt.event">componentAdded</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/ContainerListener.html" title="class or interface in java.awt.event">ContainerListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="componentRemoved(java.awt.event.ContainerEvent)"><!-- --></A><H3>componentRemoved</H3><PRE>public void <B>componentRemoved</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/ContainerEvent.html" title="class or interface in java.awt.event">ContainerEvent</A>&nbsp;e)</PRE><DL><DD>A component was remove from the container<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/ContainerListener.html#componentRemoved(java.awt.event.ContainerEvent)" title="class or interface in java.awt.event">componentRemoved</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/ContainerListener.html" title="class or interface in java.awt.event">ContainerListener</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="enableComponent(java.lang.String, boolean)"><!-- --></A><H3>enableComponent</H3><PRE>public void <B>enableComponent</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;commandId,                            boolean&nbsp;bEnable)</PRE><DL><DD>Enables/Disables the menu/toolbar button associated with the commandid<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>commandId</CODE> - the id of the command whose button to enable/disable<DD><CODE>bEnable</CODE> - true/false to enable/disable</DL></DD></DL><HR><A NAME="getComponentByName(java.lang.String)"><!-- --></A><H3>getComponentByName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A> <B>getComponentByName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;componentName)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/jeta/open/support/ComponentFinder.html" title="interface in com.jeta.open.support">ComponentFinder</A></CODE></B></DD><DD>Recursively searches an associated parent container for a component with the given name.  The first component found that has the name is returned. Null is returned if no component is found.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/jeta/open/support/ComponentFinder.html#getComponentByName(java.lang.String)">getComponentByName</A></CODE> in interface <CODE><A HREF="../../../../com/jeta/open/support/ComponentFinder.html" title="interface in com.jeta.open.support">ComponentFinder</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getComponentsByName(java.lang.String)"><!-- --></A><H3>getComponentsByName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> <B>getComponentsByName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;compName)</PRE><DL><DD>Recursively searches an associated parent container for all components with the given name.  An empty collection is returned if no components are found with the given name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/jeta/open/support/ComponentFinder.html#getComponentsByName(java.lang.String)">getComponentsByName</A></CODE> in interface <CODE><A HREF="../../../../com/jeta/open/support/ComponentFinder.html" title="interface in com.jeta.open.support">ComponentFinder</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="unregisterComponent(java.awt.Component)"><!-- --></A><H3>unregisterComponent</H3><PRE>public void <B>unregisterComponent</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A>&nbsp;c)</PRE><DL><DD>Tells the implementation that any cached components should be  flushed and reloaded because the parent container might have changed.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setVisible(java.lang.String, boolean)"><!-- --></A><H3>setVisible</H3><PRE>public void <B>setVisible</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;commandId,                       boolean&nbsp;bVisible)</PRE><DL><DD>Shows/Hides the menu/toolbar button associated with the commandid<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>commandId</CODE> - the id of the command whose button to enable/disable<DD><CODE>bVisible</CODE> - show/hide the component/disable</DL></DD></DL><HR><A NAME="reset()"><!-- --></A><H3>reset</H3><PRE>public void <B>reset</B>()</PRE><DL><DD>Tells the implementation that any cached components should be  flushed and reloaded because the parent container might have changed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/jeta/open/support/ComponentFinder.html#reset()">reset</A></CODE> in interface <CODE><A HREF="../../../../com/jeta/open/support/ComponentFinder.html" title="interface in com.jeta.open.support">ComponentFinder</A></CODE></DL></DD><DD><DL></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>&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="class-use/DefaultComponentFinder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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="../../../../com/jeta/open/support/CompositeComponentFinder.html" title="class in com.jeta.open.support"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/jeta/open/support/DefaultComponentFinderFactory.html" title="class in com.jeta.open.support"><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="DefaultComponentFinder.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;NESTED&nbsp;|&nbsp;FIELD&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;FIELD&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><i>Copyright &#169; 2004 JETA Software Inc. All Rights Reserved.</i></BODY></HTML>

⌨️ 快捷键说明

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