/*
 * $Id: GridBagConstraints.java,v 1.3 2001/02/08 00:29:39 dwd Exp $
 *
 * This software is provided by NOAA for full, free and open release.  It is
 * understood by the recipient/user that NOAA assumes no liability for any
 * errors contained in the code.  Although this software is released without
 * conditions or restrictions in its use, it is expected that appropriate
 * credit be given to its author and to the National Oceanic and Atmospheric
 * Administration should the software be included by the recipient as an
 * element in other product development.
 */
package sgtplot.swing.prop;
/**
 * Creates a GridBagConstraints object from the
 * constructor.  This class duplicates functionality available in jdk1.2
 *
 * @author Donald Denbo
 * @version $Revision: 1.3 $, $Date: 2001/02/08 00:29:39 $
 * @since 2.0
 */
public class GridBagConstraints extends java.awt.GridBagConstraints {

/**
  * Creates a GridBagConstraint object.
  */

    public GridBagConstraints(int gridX,
        int gridY,
        int gridWidth,
        int gridHeight,
        double weightX,
        double weightY,
        int anchor,
        int fills,
        java.awt.Insets inset,
        int ipadX,
        int ipadY) {

        gridx = gridX;
        gridy = gridY;
        gridwidth = gridWidth;
        gridheight = gridHeight;
        weightx = weightX;
        weighty = weightY;
        this.anchor = anchor;
        fill = fills;
        insets = inset;
        ipadx = ipadX;
        ipady = ipadY;

    }
}






 

Ads help maintain this website.