component.html
来自「API資料大全」· HTML 代码 · 共 1,194 行 · 第 1/5 页
HTML
1,194 行
</TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/awt/dnd/package-summary.html">java.awt.dnd</A> with parameters of type <A HREF="../../../java/awt/Component.html">Component</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DragGestureRecognizer.html#DragGestureRecognizer(java.awt.dnd.DragSource, java.awt.Component, int, java.awt.dnd.DragGestureListener)">DragGestureRecognizer</A></B>(<A HREF="../../../java/awt/dnd/DragSource.html">DragSource</A> ds, <A HREF="../../../java/awt/Component.html">Component</A> c, int sa, <A HREF="../../../java/awt/dnd/DragGestureListener.html">DragGestureListener</A> dgl)</CODE><BR> Construct a new <code>DragGestureRecognizer</code> given the <code>DragSource</code> to be used in this Drag and Drop operation, the <code>Component</code> this <code>DragGestureRecognizer</code> should "observe" for drag initiating gestures, the action(s) supported for this Drag and Drop operation, and the <code>DragGestureListener</code> to notify once a drag initiating gesture has been detected.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DragGestureRecognizer.html#DragGestureRecognizer(java.awt.dnd.DragSource, java.awt.Component, int)">DragGestureRecognizer</A></B>(<A HREF="../../../java/awt/dnd/DragSource.html">DragSource</A> ds, <A HREF="../../../java/awt/Component.html">Component</A> c, int sa)</CODE><BR> Construct a new <code>DragGestureRecognizer</code> given the <code>DragSource</code> to be used in this Drag and Drop operation, the <code>Component</code> this <code>DragGestureRecognizer</code> should "observe" for drag initiating gestures, and the action(s) supported for this Drag and Drop operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DragGestureRecognizer.html#DragGestureRecognizer(java.awt.dnd.DragSource, java.awt.Component)">DragGestureRecognizer</A></B>(<A HREF="../../../java/awt/dnd/DragSource.html">DragSource</A> ds, <A HREF="../../../java/awt/Component.html">Component</A> c)</CODE><BR> Construct a new <code>DragGestureRecognizer</code> given the <code>DragSource</code> to be used in this Drag and Drop operation, and the <code>Component</code> this <code>DragGestureRecognizer</code> should "observe" for drag initiating gestures.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/MouseDragGestureRecognizer.html#MouseDragGestureRecognizer(java.awt.dnd.DragSource, java.awt.Component, int, java.awt.dnd.DragGestureListener)">MouseDragGestureRecognizer</A></B>(<A HREF="../../../java/awt/dnd/DragSource.html">DragSource</A> ds, <A HREF="../../../java/awt/Component.html">Component</A> c, int act, <A HREF="../../../java/awt/dnd/DragGestureListener.html">DragGestureListener</A> dgl)</CODE><BR> Construct a new <code>MouseDragGestureRecognizer</code> given the <code>DragSource</code> for the <code>Component</code> c, the <code>Component</code> to observe, the action(s) permitted for this drag operation, and the <code>DragGestureListener</code> to notify when a drag gesture is detected.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/MouseDragGestureRecognizer.html#MouseDragGestureRecognizer(java.awt.dnd.DragSource, java.awt.Component, int)">MouseDragGestureRecognizer</A></B>(<A HREF="../../../java/awt/dnd/DragSource.html">DragSource</A> ds, <A HREF="../../../java/awt/Component.html">Component</A> c, int act)</CODE><BR> Construct a new <code>MouseDragGestureRecognizer</code> given the <code>DragSource</code> for the <code>Component</code> c, the <code>Component</code> to observe, and the action(s) permitted for this drag operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/MouseDragGestureRecognizer.html#MouseDragGestureRecognizer(java.awt.dnd.DragSource, java.awt.Component)">MouseDragGestureRecognizer</A></B>(<A HREF="../../../java/awt/dnd/DragSource.html">DragSource</A> ds, <A HREF="../../../java/awt/Component.html">Component</A> c)</CODE><BR> Construct a new <code>MouseDragGestureRecognizer</code> given the <code>DragSource</code> for the <code>Component</code> c, and the <code>Component</code> to observe.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DropTarget.html#DropTarget(java.awt.Component, int, java.awt.dnd.DropTargetListener, boolean, java.awt.datatransfer.FlavorMap)">DropTarget</A></B>(<A HREF="../../../java/awt/Component.html">Component</A> c, int ops, <A HREF="../../../java/awt/dnd/DropTargetListener.html">DropTargetListener</A> dtl, boolean act, <A HREF="../../../java/awt/datatransfer/FlavorMap.html">FlavorMap</A> fm)</CODE><BR> Construct a new DropTarget given the <code>Component</code> to associate itself with, an <code>int</code> representing the default acceptable action(s) to support, a <code>DropTargetListener</code> to handle event processing, a <code>boolean</code> indicating if the <code>DropTarget</code> is currently accepting drops, and a <code>FlavorMap</code> to use (or null).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DropTarget.html#DropTarget(java.awt.Component, int, java.awt.dnd.DropTargetListener, boolean)">DropTarget</A></B>(<A HREF="../../../java/awt/Component.html">Component</A> c, int ops, <A HREF="../../../java/awt/dnd/DropTargetListener.html">DropTargetListener</A> dtl, boolean act)</CODE><BR> Construct a <code>DropTarget</code> given the <code>Component</code> to associate itself with, an <code>int</code> representing the default acceptable action(s) to support, a <code>DropTargetListener</code> to handle event processing, and a <code>boolean</code> indicating if the <code>DropTarget</code> is currently accepting drops.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DropTarget.html#DropTarget(java.awt.Component, java.awt.dnd.DropTargetListener)">DropTarget</A></B>(<A HREF="../../../java/awt/Component.html">Component</A> c, <A HREF="../../../java/awt/dnd/DropTargetListener.html">DropTargetListener</A> dtl)</CODE><BR> Construct a <code>DropTarget</code> given the <code>Component</code> to associate itself with, and the <code>DropTargetListener</code> to handle event processing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DropTarget.html#DropTarget(java.awt.Component, int, java.awt.dnd.DropTargetListener)">DropTarget</A></B>(<A HREF="../../../java/awt/Component.html">Component</A> c, int ops, <A HREF="../../../java/awt/dnd/DropTargetListener.html">DropTargetListener</A> dtl)</CODE><BR> Construct a <code>DropTarget</code> given the <code>Component</code> to associate itself with, an <code>int</code> representing the default acceptable action(s) to support, and a <code>DropTargetListener</code> to handle event processing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/dnd/DropTarget.DropTargetAutoScroller.html#DropTarget.DropTargetAutoScroller(java.awt.Component, java.awt.Point)">DropTarget.DropTargetAutoScroller</A></B>(<A HREF="../../../java/awt/Component.html">Component</A> c, <A HREF="../../../java/awt/Point.html">Point</A> p)</CODE><BR> construct a DropTargetAutoScroller </TD></TR></TABLE> <P><A NAME="java.awt.event"><!-- --></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/awt/Component.html">Component</A> in <A HREF="../../../java/awt/event/package-summary.html">java.awt.event</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/awt/event/package-summary.html">java.awt.event</A> that return <A HREF="../../../java/awt/Component.html">Component</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B>HierarchyEvent.</B><B><A HREF="../../../java/awt/event/HierarchyEvent.html#getComponent()">getComponent</A></B>()</CODE><BR> Returns the originator of the event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B>HierarchyEvent.</B><B><A HREF="../../../java/awt/event/HierarchyEvent.html#getChanged()">getChanged</A></B>()</CODE><BR> Returns the Component at the top of the hierarchy which was changed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B>ComponentEvent.</B><B><A HREF="../../../java/awt/event/ComponentEvent.html#getComponent()">getComponent</A></B>()</CODE><BR> Returns the originator of the event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B>ContainerEvent.</B><B><A HREF="../../../java/awt/event/ContainerEvent.html#getChild()">getChild</A></B>()</CODE><BR> Returns the component that was affected by the event.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/awt/event/package-summary.html">java.awt.event</A> with parameters of type <A HREF="../../../java/awt/Component.html">Component</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/event/InputMethodEvent.html#InputMethodEvent(java.awt.Component, int, java.text.AttributedCharacterIterator, int, java.awt.font.TextHitInfo, java.awt.font.TextHitInfo)">InputMethodEvent</A></B>(<A HREF="../../../java/awt/Component.html">Component</A> source, int id, <A HREF="../../../java/text/AttributedCharacterIterator.html">AttributedCharacterIterator</A> text, int committedCharacterCount, <A HREF="../../../java/awt/font/TextHitInfo.html">TextHitInfo</A> caret, <A HREF="../../../java/awt/font/TextHitInfo.html">TextHitInfo</A> visiblePosition)</CODE><BR> Constructs an InputMethodEvent with the specified source component, type, text, caret, and visiblePosition.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/event/InputMethodEvent.html#InputMethodEvent(java.awt.Component, int, java.awt.font.TextHitInfo, java.awt.font.TextHitInfo)">InputMethodEvent</A></B>(<A HREF="../../../java/awt/Component.html">Component</A> source, int id, <A HREF="../../../java/awt/font/TextHitInfo.html">TextHitInfo</A> caret, <A HREF="../../../java/awt/font/TextHitInfo.html">TextHitInfo</A> visiblePosition)</CODE><BR> Constructs an InputMethodEvent with the specified source component, type, caret, and visiblePosition.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/event/HierarchyEvent.html#HierarchyEvent(java.awt.Component, int, java.awt.Component, java.awt.Container)">HierarchyEvent</A></B>(<A HREF="../../../java/awt/Component.html">Component</A> source, int id, <A HREF="../../../java/awt/Component.html">Component</A> changed, <A HREF="../../../java/awt/Container.html">Container</A> changedParent)</CODE><BR> Constructs an HierarchyEvent object to identify a change in the Component hierarchy.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/awt/event/HierarchyEvent.html#HierarchyEvent(java.awt.Component, int, java.awt.Component, java.awt.Container, long)">HierarchyEvent</A></B>(<A HREF="../../../java/awt/Component.html">Compon
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?