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

📄 windowchangeevent.html

📁 JAVA写的一个不规则窗体程序!用了JNI等技术
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<DL>
<DD>The constant for resizing east
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.RESIZE_EAST">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="RESIZE_NORTH"><!-- --></A><H3>
RESIZE_NORTH</H3>
<PRE>
public static final int <B>RESIZE_NORTH</B></PRE>
<DL>
<DD>The constant for resizing north
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.RESIZE_NORTH">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="RESIZE_NORTH_EAST"><!-- --></A><H3>
RESIZE_NORTH_EAST</H3>
<PRE>
public static final int <B>RESIZE_NORTH_EAST</B></PRE>
<DL>
<DD>The constant for resizing northeast
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.RESIZE_NORTH_EAST">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="RESIZE_NORTH_WEST"><!-- --></A><H3>
RESIZE_NORTH_WEST</H3>
<PRE>
public static final int <B>RESIZE_NORTH_WEST</B></PRE>
<DL>
<DD>The constant for resizing northwest
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.RESIZE_NORTH_WEST">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="RESIZE_SOUTH"><!-- --></A><H3>
RESIZE_SOUTH</H3>
<PRE>
public static final int <B>RESIZE_SOUTH</B></PRE>
<DL>
<DD>The constant for resizing south
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.RESIZE_SOUTH">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="RESIZE_SOUTH_EAST"><!-- --></A><H3>
RESIZE_SOUTH_EAST</H3>
<PRE>
public static final int <B>RESIZE_SOUTH_EAST</B></PRE>
<DL>
<DD>The constant for resizing southeast
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.RESIZE_SOUTH_EAST">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="RESIZE_SOUTH_WEST"><!-- --></A><H3>
RESIZE_SOUTH_WEST</H3>
<PRE>
public static final int <B>RESIZE_SOUTH_WEST</B></PRE>
<DL>
<DD>The constant for resizing southwest
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.RESIZE_SOUTH_WEST">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="RESIZE_WEST"><!-- --></A><H3>
RESIZE_WEST</H3>
<PRE>
public static final int <B>RESIZE_WEST</B></PRE>
<DL>
<DD>The constant for resizing west
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.RESIZE_WEST">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WINDOW_CLOSED"><!-- --></A><H3>
WINDOW_CLOSED</H3>
<PRE>
public static final int <B>WINDOW_CLOSED</B></PRE>
<DL>
<DD>The constant for the window closing
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.WINDOW_CLOSED">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WINDOW_MAXIMIZED"><!-- --></A><H3>
WINDOW_MAXIMIZED</H3>
<PRE>
public static final int <B>WINDOW_MAXIMIZED</B></PRE>
<DL>
<DD>The constant for the window maximizing
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.WINDOW_MAXIMIZED">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WINDOW_MINIMIZED"><!-- --></A><H3>
WINDOW_MINIMIZED</H3>
<PRE>
public static final int <B>WINDOW_MINIMIZED</B></PRE>
<DL>
<DD>The constant for the window minimizing
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.WINDOW_MINIMIZED">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WINDOW_MOVED"><!-- --></A><H3>
WINDOW_MOVED</H3>
<PRE>
public static final int <B>WINDOW_MOVED</B></PRE>
<DL>
<DD>The constant for the window moving
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.WINDOW_MOVED">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="WINDOW_RESIZED"><!-- --></A><H3>
WINDOW_RESIZED</H3>
<PRE>
public static final int <B>WINDOW_RESIZED</B></PRE>
<DL>
<DD>The constant for the window resizing
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.ibm.iwt.event.WindowChangeEvent.WINDOW_RESIZED">Constant Field Values</A></DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="WindowChangeEvent()"><!-- --></A><H3>
WindowChangeEvent</H3>
<PRE>
public <B>WindowChangeEvent</B>()</PRE>
<DL>
<DD>Constructs a WindowChangeEvent.
<P>
</DL>
<HR>

<A NAME="WindowChangeEvent(int, int)"><!-- --></A><H3>
WindowChangeEvent</H3>
<PRE>
public <B>WindowChangeEvent</B>(int&nbsp;x,                         int&nbsp;y)</PRE>
<DL>
<DD>Constructs a WindowChangeEvent.
<P>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the x position<DD><CODE>y</CODE> - the y position</DL>
<HR>

<A NAME="WindowChangeEvent(javax.swing.JComponent, int, int, int, int, int, boolean)"><!-- --></A><H3>
WindowChangeEvent</H3>
<PRE>
public <B>WindowChangeEvent</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JComponent.html">JComponent</A>&nbsp;source,                         int&nbsp;posX,                         int&nbsp;posY,                         int&nbsp;changeX,                         int&nbsp;changeY,                         int&nbsp;direction,                         boolean&nbsp;isDragging)</PRE>
<DL>
<DD>Constructs a WindowChangeEvent.
<P>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - the source of the event<DD><CODE>posX</CODE> - the x position<DD><CODE>posY</CODE> - the y position<DD><CODE>changeX</CODE> - the change in the x position<DD><CODE>changeY</CODE> - the change in the y position<DD><CODE>direction</CODE> - the direction of the change<DD><CODE>isDragging</CODE> - whether the change is currently happening</DL>
<HR>

<A NAME="WindowChangeEvent(javax.swing.JPanel, int, int)"><!-- --></A><H3>
WindowChangeEvent</H3>
<PRE>
public <B>WindowChangeEvent</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JPanel.html">JPanel</A>&nbsp;source,                         int&nbsp;x,                         int&nbsp;y)</PRE>
<DL>
<DD>Constructs a WindowChangeEvent.
<P>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - the source of the event<DD><CODE>x</CODE> - the x position<DD><CODE>y</CODE> - the y position</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getChangeX()"><!-- --></A><H3>
getChangeX</H3>
<PRE>
public int <B>getChangeX</B>()</PRE>
<DL>
<DD>Returns the change in the x position from the last event until this current event.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the change in x</DL>
</DD>
</DL>
<HR>

<A NAME="getChangeY()"><!-- --></A><H3>
getChangeY</H3>
<PRE>
public int <B>getChangeY</B>()</PRE>
<DL>
<DD>Returns the change in the y position from the last event until this current event.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the change in y</DL>
</DD>
</DL>
<HR>

<A NAME="getDirection()"><!-- --></A><H3>
getDirection</H3>
<PRE>
public int <B>getDirection</B>()</PRE>
<DL>
<DD>Returns the direction of the change in positions.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the direction</DL>
</DD>
</DL>
<HR>

<A NAME="getPosX()"><!-- --></A><H3>
getPosX</H3>
<PRE>
public int <B>getPosX</B>()</PRE>
<DL>
<DD>Returns the x position where this event originated.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the x position</DL>
</DD>
</DL>
<HR>

<A NAME="getPosY()"><!-- --></A><H3>
getPosY</H3>
<PRE>
public int <B>getPosY</B>()</PRE>
<DL>
<DD>Returns the y position where this event originated.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the y position</DL>
</DD>
</DL>
<HR>

<A NAME="getSource()"><!-- --></A><H3>
getSource</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JComponent.html">JComponent</A> <B>getSource</B>()</PRE>
<DL>
<DD>Returns the source of the event.  In this architecture, the source will always be a subclass of IBorderPanel.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the object that originated the event</DL>
</DD>
</DL>
<HR>

<A NAME="isDragging()"><!-- --></A><H3>
isDragging</H3>
<PRE>
public boolean <B>isDragging</B>()</PRE>
<DL>
<DD>Returns whether the change in positions is currently changing.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>whether the position is changing</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <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;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/WindowChangeEvent.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="../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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-files/index-1.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;PREV CLASS&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="WindowChangeEvent.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

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