/*
* Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.wso2.carbon.bpel.ui.bpel2svg;
/**
* Coordination manager for each UI element
*/
public class SVGCoordinates {
int xLeft = 0;
int yTop = 0;
//Constructors
/**
* Sets the x and y coordinate points of an activity
*
* @param xLeft xLeft position of the activity
* @param yTop yTop position of the activity
*/
public SVGCoordinates(int xLeft, int yTop) {
this.xLeft = xLeft;
this.yTop = yTop;
}
/**
* Default constructor
*/
public SVGCoordinates() {
}
/**
* Gets the xLeft position of the activity
*
* @return xLeft position of the activity
*/
public int getXLeft() {
return xLeft;
}
/**
* Sets the xLeft position of the activity
*
* @param xLeft xLeft position of the activity
*/
public void setXLeft(int xLeft) {
this.xLeft = xLeft;
}
/**
* Gets the yTop position of the activity
*
* @return yTop position of the activity
*/
public int getYTop() {
return yTop;
}
/**
* Sets the yTop position of the activity
*
* @param yTop yTop position of the activity
*/
public void setYTop(int yTop) {
this.yTop = yTop;
}
}