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

📄 eventlistener.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/awt/package-summary.html">java.awt</A> that return <A HREF="../../../java/util/EventListener.html">EventListener</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>Component.</B><B><A HREF="../../../java/awt/Component.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the Component with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>Container.</B><B><A HREF="../../../java/awt/Container.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the Container with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>Scrollbar.</B><B><A HREF="../../../java/awt/Scrollbar.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the Scrollbar with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>MenuItem.</B><B><A HREF="../../../java/awt/MenuItem.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the MenuItem with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>Checkbox.</B><B><A HREF="../../../java/awt/Checkbox.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the Checkbox with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A></CODE></FONT></TD><TD><CODE><B>AWTEventMulticaster.</B><B><A HREF="../../../java/awt/AWTEventMulticaster.html#remove(java.util.EventListener)">remove</A></B>(<A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;oldl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a listener from this multicaster and returns the resulting multicast listener.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A></CODE></FONT></TD><TD><CODE><B>AWTEventMulticaster.</B><B><A HREF="../../../java/awt/AWTEventMulticaster.html#addInternal(java.util.EventListener, java.util.EventListener)">addInternal</A></B>(<A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;a,            <A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the resulting multicast listener from adding listener-a and listener-b together.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A></CODE></FONT></TD><TD><CODE><B>AWTEventMulticaster.</B><B><A HREF="../../../java/awt/AWTEventMulticaster.html#removeInternal(java.util.EventListener, java.util.EventListener)">removeInternal</A></B>(<A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;l,               <A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;oldl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the resulting multicast listener after removing the old listener from listener-l.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>Window.</B><B><A HREF="../../../java/awt/Window.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the Window with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>List.</B><B><A HREF="../../../java/awt/List.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the List with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>TextComponent.</B><B><A HREF="../../../java/awt/TextComponent.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the TextComponent with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>Choice.</B><B><A HREF="../../../java/awt/Choice.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the Choice with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>TextField.</B><B><A HREF="../../../java/awt/TextField.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the TextField with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>Button.</B><B><A HREF="../../../java/awt/Button.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the Button with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A>[]</CODE></FONT></TD><TD><CODE><B>CheckboxMenuItem.</B><B><A HREF="../../../java/awt/CheckboxMenuItem.html#getListeners(java.lang.Class)">getListeners</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;listenerType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of all the listeners that were added to the CheckboxMenuItem with addXXXListener(), where XXX is the name of the <code>listenerType</code> argument.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/awt/package-summary.html">java.awt</A> with parameters of type <A HREF="../../../java/util/EventListener.html">EventListener</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A></CODE></FONT></TD><TD><CODE><B>AWTEventMulticaster.</B><B><A HREF="../../../java/awt/AWTEventMulticaster.html#remove(java.util.EventListener)">remove</A></B>(<A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;oldl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a listener from this multicaster and returns the resulting multicast listener.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A></CODE></FONT></TD><TD><CODE><B>AWTEventMulticaster.</B><B><A HREF="../../../java/awt/AWTEventMulticaster.html#addInternal(java.util.EventListener, java.util.EventListener)">addInternal</A></B>(<A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;a,            <A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the resulting multicast listener from adding listener-a and listener-b together.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/util/EventListener.html">EventListener</A></CODE></FONT></TD><TD><CODE><B>AWTEventMulticaster.</B><B><A HREF="../../../java/awt/AWTEventMulticaster.html#removeInternal(java.util.EventListener, java.util.EventListener)">removeInternal</A></B>(<A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;l,               <A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;oldl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the resulting multicast listener after removing the old listener from listener-l.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;void</CODE></FONT></TD><TD><CODE><B>AWTEventMulticaster.</B><B><A HREF="../../../java/awt/AWTEventMulticaster.html#save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)">save</A></B>(<A HREF="../../../java/io/ObjectOutputStream.html">ObjectOutputStream</A>&nbsp;s,     <A HREF="../../../java/lang/String.html">String</A>&nbsp;k,     <A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;l)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/awt/package-summary.html">java.awt</A> with parameters of type <A HREF="../../../java/util/EventListener.html">EventListener</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/AWTEventMulticaster.html#AWTEventMulticaster(java.util.EventListener, java.util.EventListener)">AWTEventMulticaster</A></B>(<A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;a,                    <A HREF="../../../java/util/EventListener.html">EventListener</A>&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an event multicaster instance which chains listener-a with listener-b.</TD></TR></TABLE>&nbsp;<P><A NAME="java.awt.dnd"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/util/EventListener.html">EventListener</A> in <A HREF="../../../java/awt/dnd/package-summary.html">java.awt.dnd</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Subinterfaces of <A HREF="../../../java/util/EventListener.html">EventListener</A> in <A HREF="../../../java/awt/dnd/package-summary.html">java.awt.dnd</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;interface</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/dnd/DragGestureListener.html">DragGestureListener</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This interface is sourced from a <code>DragGestureRecognizer</code>  and is invoked when an object of that (sub)class detects a drag initiating gesture.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;interface</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/dnd/DragSourceListener.html">DragSourceListener</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The <code>DragSourceListener</code> defines the  event interface for originators of Drag and Drop operations to track the state of the user's gesture, and to provide appropriate &quot;drag over&quot;  feedback to the user throughout the Drag and Drop operation.</TD>

⌨️ 快捷键说明

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