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

📄 iwtutilities.html

📁 JAVA写的一个不规则窗体程序!用了JNI等技术
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR>
</TABLE>

<A NAME="DIAGONAL_RESIZE_SIZE"><!-- --></A><H3>
DIAGONAL_RESIZE_SIZE</H3>
<PRE>
public static int <B>DIAGONAL_RESIZE_SIZE</B></PRE>
<DL>
<DD>the diagonal size of the borders - the number of pixels along each border where the diagonal cursor should appear, such as the  NE cursor of the SW cursor
<P>
<DL>
</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="IWTUtilities()"><!-- --></A><H3>
IWTUtilities</H3>
<PRE>
public <B>IWTUtilities</B>()</PRE>
<DL>
</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="getDiagonalSize()"><!-- --></A><H3>
getDiagonalSize</H3>
<PRE>
public static int <B>getDiagonalSize</B>()</PRE>
<DL>
<DD>Returns the diagonal size of the border.  The diagonal size is defined as the number of pixels along each border where the diagonal cursor should appear, such as the  NE cursor of the SW cursor.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>int the size in pixels</DL>
</DD>
</DL>
<HR>

<A NAME="getRestoreSize()"><!-- --></A><H3>
getRestoreSize</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Dimension.html">Dimension</A> <B>getRestoreSize</B>()</PRE>
<DL>
<DD>Returns the restore size for the window given its current size.  The restore size is defined as the size of the window when the window is at full size and the "Restore Down" button is pressed and the user has not manually set the restore size yet.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Dimension the restore size</DL>
</DD>
</DL>
<HR>

<A NAME="getScreenHeight()"><!-- --></A><H3>
getScreenHeight</H3>
<PRE>
public static int <B>getScreenHeight</B>()</PRE>
<DL>
<DD>Returns the maximum height available for an application window in this OS.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the maximum height in pixels</DL>
</DD>
</DL>
<HR>

<A NAME="getScreenSize(java.awt.Window)"><!-- --></A><H3>
getScreenSize</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Dimension.html">Dimension</A> <B>getScreenSize</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Window.html">Window</A>&nbsp;window)</PRE>
<DL>
<DD>Gets the maximum working screen size.  This function differs from the <code>Toolkit.getScreenSize()</code> by allowing for the space that any permanent fixtures that native application windows do not have access to in a given OS.  As an example, the space for the toolbar in Windows - native applications do not get that pixel area for their use.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>window</CODE> - the window that will use the screen<DT><B>Returns:</B><DD>the size of the available screen in pixels</DL>
</DD>
</DL>
<HR>

<A NAME="getScreenWidth()"><!-- --></A><H3>
getScreenWidth</H3>
<PRE>
public static int <B>getScreenWidth</B>()</PRE>
<DL>
<DD>Returns the maximum width available for an application window in this OS.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the maximum width in pixels</DL>
</DD>
</DL>
<HR>

<A NAME="isWindowMaximized(java.awt.Window)"><!-- --></A><H3>
isWindowMaximized</H3>
<PRE>
public static boolean <B>isWindowMaximized</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Window.html">Window</A>&nbsp;w)</PRE>
<DL>
<DD>Returns whether the window is maximized or not, based on the size of the window and the screen size.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>w</CODE> - the specified window<DT><B>Returns:</B><DD>whether the window is maximized</DL>
</DD>
</DL>
<HR>

<A NAME="setApplicationBorderSize(com.ibm.iwt.IFrame, java.awt.Insets)"><!-- --></A><H3>
setApplicationBorderSize</H3>
<PRE>
public static void <B>setApplicationBorderSize</B>(<A HREF="../../../../com/ibm/iwt/IFrame.html">IFrame</A>&nbsp;frame,                                            <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Insets.html">Insets</A>&nbsp;borderSize)</PRE>
<DL>
<DD>A convenience method for setting a border around the entire application window. If the border is a standard rectangular border, this method will set the  borders on the title bar and the icontent pane.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>frame</CODE> - the iframe to set the border to<DD><CODE>borderSize</CODE> - the size of the border in pixels</DL>
</DD>
</DL>
<HR>

<A NAME="setDiagonalSize(int)"><!-- --></A><H3>
setDiagonalSize</H3>
<PRE>
public static void <B>setDiagonalSize</B>(int&nbsp;size)</PRE>
<DL>
<DD>Sets the diagonal size of the border.  The diagonal size is defined as the number of pixels along each border where the diagonal cursor should appear, such as the  NE cursor of the SW cursor.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - the size in pixels</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/IWTUtilities.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;<A HREF="../../../../com/ibm/iwt/util/PaintUtilities.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="IWTUtilities.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 + -