src/share/classes/java/awt/GridBagConstraints.java

Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:


  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package java.awt;
  26 
  27 /**
  28  * The <code>GridBagConstraints</code> class specifies constraints
  29  * for components that are laid out using the
  30  * <code>GridBagLayout</code> class.
  31  *
  32  * @author Doug Stein
  33  * @author Bill Spitzak (orignial NeWS &amp; OLIT implementation)
  34  * @see java.awt.GridBagLayout
  35  * @since JDK1.0
  36  */
  37 public class GridBagConstraints implements Cloneable, java.io.Serializable {
  38 
  39     /**
  40      * Specifies that this component is the next-to-last component in its
  41      * column or row (<code>gridwidth</code>, <code>gridheight</code>),
  42      * or that this component be placed next to the previously added
  43      * component (<code>gridx</code>, <code>gridy</code>).
  44      * @see      java.awt.GridBagConstraints#gridwidth
  45      * @see      java.awt.GridBagConstraints#gridheight
  46      * @see      java.awt.GridBagConstraints#gridx
  47      * @see      java.awt.GridBagConstraints#gridy
  48      */
  49     public static final int RELATIVE = -1;
  50 
  51     /**
  52      * Specifies that this component is the
  53      * last component in its column or row.
  54      */
  55     public static final int REMAINDER = 0;




  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package java.awt;
  26 
  27 /**
  28  * The <code>GridBagConstraints</code> class specifies constraints
  29  * for components that are laid out using the
  30  * <code>GridBagLayout</code> class.
  31  *
  32  * @author Doug Stein
  33  * @author Bill Spitzak (orignial NeWS &amp; OLIT implementation)
  34  * @see java.awt.GridBagLayout
  35  * @since 1.0
  36  */
  37 public class GridBagConstraints implements Cloneable, java.io.Serializable {
  38 
  39     /**
  40      * Specifies that this component is the next-to-last component in its
  41      * column or row (<code>gridwidth</code>, <code>gridheight</code>),
  42      * or that this component be placed next to the previously added
  43      * component (<code>gridx</code>, <code>gridy</code>).
  44      * @see      java.awt.GridBagConstraints#gridwidth
  45      * @see      java.awt.GridBagConstraints#gridheight
  46      * @see      java.awt.GridBagConstraints#gridx
  47      * @see      java.awt.GridBagConstraints#gridy
  48      */
  49     public static final int RELATIVE = -1;
  50 
  51     /**
  52      * Specifies that this component is the
  53      * last component in its column or row.
  54      */
  55     public static final int REMAINDER = 0;