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

📄 simplerectangle.java

📁 遗传算法改进神经网络源程序 该小程序可以添加条形码功能到你的网页或者applet上,这个applet把大写字母和数字转换为标准的条形码。
💻 JAVA
字号:
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-11-23 16:17:33
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   SimpleRectangle.java

package com.bokai.drawing;

import java.awt.Rectangle;

public class SimpleRectangle
{

    public SimpleRectangle()
    {
        x = 0;
        y = 0;
        width = 0;
        height = 0;
    }

    public SimpleRectangle(int i, int j, int k, int l)
    {
        x = i;
        y = j;
        width = k;
        height = l;
    }

    public SimpleRectangle(SimpleRectangle simplerectangle)
    {
        x = simplerectangle.x;
        y = simplerectangle.y;
        width = simplerectangle.width;
        height = simplerectangle.height;
    }

    public SimpleRectangle(Rectangle rectangle)
    {
        x = rectangle.x;
        y = rectangle.y;
        width = rectangle.width;
        height = rectangle.height;
    }

    public Rectangle getRectangle()
    {
        return new Rectangle(x, y, width, height);
    }

    public void setBounds(int i, int j, int k, int l)
    {
        x = i;
        y = j;
        width = k;
        height = l;
    }

    public void setBounds(SimpleRectangle simplerectangle)
    {
        x = simplerectangle.x;
        y = simplerectangle.y;
        width = simplerectangle.width;
        height = simplerectangle.height;
    }

    public void setLocation(int i, int j)
    {
        x = i;
        y = j;
    }

    public void setSize(int i, int j)
    {
        width = i;
        height = j;
    }

    public int x;
    public int y;
    public int width;
    public int height;
}

⌨️ 快捷键说明

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