📄 polylineorder.java
字号:
/* PolyLineOrder.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 PolyLineOrder implements Order {
private int x = 0;
private int y = 0;
private int flags = 0;
private int fgcolor = 0;
private int lines = 0;
private int opcode = 0;
private int datasize = 0;
byte[] data = new byte[256];
public PolyLineOrder() {
}
public int getX() {
return this.x;
}
public int getY() {
return this.y;
}
public int getFlags() {
return this.flags;
}
public int getForegroundColor() {
return this.fgcolor;
}
public int getLines() {
return this.lines;
}
public int getDataSize() {
return this.datasize;
}
public byte[] getData() {
return this.data;
}
public int getOpcode(){
return this.opcode;
}
public void setX(int x) {
this.x = x;
}
public void setY(int y) {
this.y = y;
}
public void setFlags(int flags) {
this.flags = flags;
}
public void setForegroundColor(int fgcolor) {
this.fgcolor = fgcolor;
}
public void setLines(int lines){
this.lines = lines;
}
public void setDataSize(int datasize) {
this.datasize = datasize;
}
public void setData(byte[] data) {
this.data = data;
}
public void setOpcode(int opcode){
this.opcode = opcode;
}
public void reset() {
x = 0;
y = 0;
flags = 0;
fgcolor = 0;
lines = 0;
datasize = 0;
opcode = 0;
data = new byte[256];
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -