~ubuntu-branches/ubuntu/gutsy/jflex/gutsy

« back to all changes in this revision

Viewing changes to src/JFlex/gui/GridPanelConstraint.java

  • Committer: Bazaar Package Importer
  • Author(s): Takashi Okamoto
  • Date: 2002-02-16 13:38:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020216133821-5wsdprpt9xl7ondr
Tags: upstream-1.3.5
ImportĀ upstreamĀ versionĀ 1.3.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 
2
 * JFlex 1.3.5                                                             *
 
3
 * Copyright (C) 1998-2001  Gerwin Klein <lsf@jflex.de>                    *
 
4
 * All rights reserved.                                                    *
 
5
 *                                                                         *
 
6
 * This program is free software; you can redistribute it and/or modify    *
 
7
 * it under the terms of the GNU General Public License. See the file      *
 
8
 * COPYRIGHT for more information.                                         *
 
9
 *                                                                         *
 
10
 * This program is distributed in the hope that it will be useful,         *
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of          *
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
 
13
 * GNU General Public License for more details.                            *
 
14
 *                                                                         *
 
15
 * You should have received a copy of the GNU General Public License along *
 
16
 * with this program; if not, write to the Free Software Foundation, Inc., *
 
17
 * 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                 *
 
18
 *                                                                         *
 
19
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
20
package JFlex.gui;
 
21
 
 
22
import java.awt.Component;
 
23
 
 
24
/**
 
25
 * Constraints for layout elements of GridLayout
 
26
 *
 
27
 * @author Gerwin Klein
 
28
 * @version JFlex 1.3.5, $Revision: 1.11 $, $Date: 2001/10/08 10:08:13 $
 
29
 */
 
30
public class GridPanelConstraint {
 
31
 
 
32
  int x, y, width, height, handle;
 
33
  Component component;
 
34
 
 
35
  public GridPanelConstraint(int x, int y, int width, int height, 
 
36
                             int handle, Component component) {
 
37
    this.x         = x;
 
38
    this.y         = y;
 
39
    this.width     = width;
 
40
    this.height    = height;
 
41
    this.handle    = handle;
 
42
    this.component = component;
 
43
  }
 
44
}