
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 left = Style.DEFAULT;
private int top = Style.DEFAULT;
public AbsoluteData() {
}
public AbsoluteData(int left, int top) {
this.left = left;
this.top = top;
}
/**
* Returns the left coordinate value.
*
* @return the left value
*/
public int getLeft() {
return left;
}
/**
* Returns the left value.
*
* @return the left value
*/
public int getTop() {
return top;
}
/**
* Sets the left property (defaults to DEFAULT).
*
* @param left the left value
*/
public void setLeft(int left) {
this.left = left;
}
/**
* Sets the top position (defaults to DEFAULT).
*
* @param top the top value
*/
public void setTop(int top) {
this.top = top;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy