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

📄 icontentpane.html

📁 JAVA写的一个不规则窗体程序!用了JNI等技术
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<H2>
<FONT SIZE="-1">
com.ibm.iwt.window</FONT>
<BR>
Class IContentPane</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">java.lang.Object</A>
  |
  +--<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Component.html">java.awt.Component</A>
        |
        +--<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Container.html">java.awt.Container</A>
              |
              +--<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JComponent.html">javax.swing.JComponent</A>
                    |
                    +--<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JPanel.html">javax.swing.JPanel</A>
                          |
                          +--<A HREF="../../../../com/ibm/iwt/window/IBorderComponent.html">com.ibm.iwt.window.IBorderComponent</A>
                                |
                                +--<B>com.ibm.iwt.window.IContentPane</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>
<HR>
<DL>
<DT>public class <B>IContentPane</B><DT>extends <A HREF="../../../../com/ibm/iwt/window/IBorderComponent.html">IBorderComponent</A></DL>

<P>
The IContentPane adds to the functionality of a normal content pane by handling mouse events.  The mouse events are relayed from the parent window's rootpane and it is up to the IContentPane to handle the mouse events itself. <p>Like the content pane, all components should be added to the IContentPane and it has a default BorderLayout. <p>For default application windows, the IContentPane handles all mouse events  based on a rectangular application window.   <p>For more complex application windows that are not rectangular but still maintain a mostly rectangular shape and will not need to change Cursor types, they should subclass IContentPane and override the  <code>isMouseOnBorder</code> function. <p>For extremely complex application window shapes that require different cursors than would be provided by the default implementation, the <code>isMouseOnBorder</code> as well as the <code>handleDirections</code> functions should be overridden in the  subclass.
<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.IContentPane">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 &nbsp;<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Insets.html">Insets</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/ibm/iwt/window/IContentPane.html#borderSize">borderSize</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the border around the content pane</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_com.ibm.iwt.window.IBorderComponent"><!-- --></A>

⌨️ 快捷键说明

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