
com.extjs.gxt.ui.client.widget.layout.FormData 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
/*
* Sencha GXT 2.3.0 - Sencha for GWT
* Copyright(c) 2007-2013, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.extjs.gxt.ui.client.widget.layout;
/**
* Layout data form FormLayout
.
*/
public class FormData extends AnchorData {
private int width;
private int height;
/**
* Creates a new form data instance.
*/
public FormData() {
}
/**
* Creates a new form data instance.
*
* @param width the width
* @param height the height
*/
public FormData(int width, int height) {
this.width = width;
this.height = height;
}
/**
* Creates a new form data instance.
*
* @param anchorSpec the anchor spec
*/
public FormData(String anchorSpec) {
super(anchorSpec);
}
/**
* Returns the height.
*
* @return the height
*/
public int getHeight() {
return height;
}
/**
* Returns the width.
*
* @return the width
*/
public int getWidth() {
return width;
}
/**
* Sets the height.
*
* @param height the height
*/
public void setHeight(int height) {
this.height = height;
}
/**
* Setst the width.
*
* @param width the width
*/
public void setWidth(int width) {
this.width = width;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy