com.extjs.gxt.ui.client.widget.layout.AbsoluteData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Ext GWT - Ext for GWT
* Copyright(c) 2007, 2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
package com.extjs.gxt.ui.client.widget.layout;
import com.extjs.gxt.ui.client.Style;
/**
* Layout data for AbsoluteLayout
.
*/
public class AbsoluteData extends AnchorData {
private int x = Style.DEFAULT;
private int y = Style.DEFAULT;
/**
* Returns the x coordinate value.
*
* @return the x value
*/
public int getX() {
return x;
}
/**
* Returns the y coordinate value
*
* @return the y value
*/
public int getY() {
return y;
}
/**
* Sets the x position (defaults to DEFAULT).
*
* @param x the x coordinate value
*/
public void setX(int x) {
this.x = x;
}
/**
* Sets the y posittion (defaults to DEFAULT).
*
* @param y coordinate value
*/
public void setY(int y) {
this.y = y;
}
}