?? visualproperty.java
字號(hào):
/*
* 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., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
package eti.bi.alphaminer.vo;
import java.io.Serializable;
/**
* VisualProperty represents the properties required for the node visualization in
* CaseWindow's editing/viewing panel.
*/
public class VisualProperty implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
private double m_PositionX;
private double m_PositionY;
/**
* Constructs a VisualProperty.
*/
public VisualProperty() {
super();
m_PositionX = 0;
m_PositionY = 0;
}
/**
* Gets the X-Position.
* @return X-Position.
*/
public double getPositionX()
{
return m_PositionX;
}
/**
* Sets the X-Position.
* @param x the X-Position.
*/
public void setPositionX(double x) {
m_PositionX = x;
}
/**
* Gets the Y-Position.
* @return Y-Position.
*/
public double getPositionY()
{
return m_PositionY;
}
/**
* Sets the Y-Position.
* @param y the Y-Position.
*/
public void setPositionY(double y) {
m_PositionY = y;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -