/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * JFlex 1.8.2                                                             *
 * Copyright (C) 1998-2018  Gerwin Klein <lsf@jflex.de>                    *
 * All rights reserved.                                                    *
 *                                                                         *
 * License: BSD                                                            *
 *                                                                         *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
package jflex.gui;

import java.awt.Component;

Constraints for layout elements of GridLayout
Author:Gerwin Klein
Version:JFlex 1.8.2
/** * Constraints for layout elements of GridLayout * * @author Gerwin Klein * @version JFlex 1.8.2 */
public class GridPanelConstraint { final int x; final int y; final int width; final int height; final int handle; final Component component;
Constructor for GridPanelConstraint.
Params:
  • x – horizontal position.
  • y – vertical position.
  • width – width in pixels.
  • height – height in pixels.
  • handle – a int.
  • component – a Component object.
/** * Constructor for GridPanelConstraint. * * @param x horizontal position. * @param y vertical position. * @param width width in pixels. * @param height height in pixels. * @param handle a int. * @param component a {@link java.awt.Component} object. */
public GridPanelConstraint(int x, int y, int width, int height, int handle, Component component) { this.x = x; this.y = y; this.width = width; this.height = height; this.handle = handle; this.component = component; } }