ibordercomponent.html
来自「JAVA写的一个不规则窗体程序!用了JNI等技术」· HTML 代码 · 共 456 行 · 第 1/5 页
HTML
456 行
+--<B>com.ibm.iwt.window.IBorderComponent</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/javax/accessibility/Accessible.html">Accessible</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/EventListener.html">EventListener</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/image/ImageObserver.html">ImageObserver</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/MenuContainer.html">MenuContainer</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/event/MouseListener.html">MouseListener</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/event/MouseMotionListener.html">MouseMotionListener</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/io/Serializable.html">Serializable</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/ibm/iwt/window/IContentPane.html">IContentPane</A>, <A HREF="../../../../com/ibm/iwt/window/IWindowTitleBar.html">IWindowTitleBar</A></DD>
</DL>
<HR>
<DL>
<DT>public abstract class <B>IBorderComponent</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JPanel.html">JPanel</A><DT>implements <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/event/MouseListener.html">MouseListener</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/event/MouseMotionListener.html">MouseMotionListener</A></DL>
<P>
The superclass of any Panel that wishes to resize the application window. <br>The obvious subclasses of this class are the IContentPane and the IWindowTitleBar but any panel may resize the window. An example of this is the trend to place a large panel in the lower right corner of application windows that assists in resizing of the window. By simply subclassing this and firing appropriate events, any panel can cause the window to resize.
<P>
<P>
<DL>
<DT><B>Author:</B></DT> <DD>MAbernethy</DD><DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html" TARGET="com.ibm.iwt.window.IBorderComponent">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/ibm/iwt/window/IBorderComponent.html#direction">direction</A></B></CODE>
<BR>
the direction the mouse is moving</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/ibm/iwt/window/IBorderComponent.html#isMouseOnBorder">isMouseOnBorder</A></B></CODE>
<BR>
whether the mouse is on the border</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Vector.html">Vector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/ibm/iwt/window/IBorderComponent.html#listeners">listeners</A></B></CODE>
<BR>
the window change event listeners</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Window.html">Window</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/ibm/iwt/window/IBorderComponent.html#parent">parent</A></B></CODE>
<BR>
the top level parent of this panel - the application window</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/ibm/iwt/window/IBorderComponent.html#X">X</A></B></CODE>
<BR>
the stored x position</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/ibm/iwt/window/IBorderComponent.html#Y">Y</A></B></CODE>
<BR>
the stored y position</TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?