All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.extjs.gxt.ui.client.widget.layout.ColumnData Maven / Gradle / Ivy

There is a newer version: 2.3.1-gwt22
Show newest version
/*
 * Ext GWT 2.2.0 - Ext for GWT
 * Copyright(c) 2007-2010, Ext JS, LLC.
 * [email protected]
 * 
 * http://extjs.com/license
 */
package com.extjs.gxt.ui.client.widget.layout;

import com.extjs.gxt.ui.client.Style;

public class ColumnData extends LayoutData {

  private double width = Style.DEFAULT;

  public ColumnData() {

  }

  public ColumnData(double width) {
    this.width = width;
  }

  /**
   * Sets the width of the column.
   * 
   * @param width the width, values <= 1 treated a percentages.
   */
  public void setWidth(double width) {
    this.width = width;
  }

  /**
   * Returns the width.
   * 
   * @return the wdith
   */
  public double getWidth() {
    return width;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy