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

📄 rect.java

📁 Java调用Windows API,支持Office
💻 JAVA
字号:
//******************************************************************
// Released under the DevelopMentor OpenSource Software License.
// Please consult the LICENSE file in the project root directory,
// or at http://www.develop.com for details before using this
// software.
//******************************************************************

package org.jawin.donated.win32;

import org.jawin.marshal.*;
import org.jawin.io.*;
import java.io.*;
import java.util.*;

public class RECT {
  public int        left;
    public int        top;
    public int        right;
    public int        bottom;

    public static final String marshal = "16";
    public static final int token = GenericStub.registerCustomString(marshal);

    public void marshal(LittleEndianOutputStream leos, ArrayList objs)
            throws IOException
    {
        leos.writeInt(left);
        leos.writeInt(top);
        leos.writeInt(right);
        leos.writeInt(bottom);
    }
    public void marshalOut(LittleEndianInputStream leis, ArrayList objs)
            throws IOException
    {
        left = leis.readInt();
        top = leis.readInt();
        right = leis.readInt();
        bottom = leis.readInt();
    }
}


⌨️ 快捷键说明

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