boundsorder.java

来自「cygwin 是一个在windows平台上运行的unix模拟环境」· Java 代码 · 共 83 行

JAVA
83
字号
/* BoundsOrder.java
 * Component: ProperJavaRDP
 * 
 * Revision: $Revision: 1.7 $
 * Author: $Author: telliott $
 * Date: $Date: 2005/09/27 14:15:40 $
 *
 * Copyright (c) 2005 Propero Limited
 *
 * Purpose: 
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or (at
 * your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 * USA
 * 
 * (See gpl.txt for details of the GNU General Public License.)
 * 
 */
package net.propero.rdp.orders;

public class BoundsOrder implements Order {

    private int left = 0;
    private int right = 0;
    private int top = 0;
    private int bottom = 0;

    public BoundsOrder() {
    }

    public int getLeft() {
	return this.left;
    }

    public int getRight() {
	return this.right;
    }

    public int getTop() {
	return this.top;
    }

    public int getBottom() {
	return this.bottom;
    }

    public void setLeft(int left) {
	this.left = left;
    }

    public void setRight(int right) {
	this.right = right;
    }

    public void setTop(int top) {
	this.top = top;
    }

    public void setBottom(int bottom) {
	this.bottom = bottom;
    }
    
    public void reset() {
	left = 0;
	right = 0;
	top = 0;
	bottom = 0;
    }
}


⌨️ 快捷键说明

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