aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/event/ComponentEvent.java
blob: bb34a6e231e84315dd6dedccaa4be1854d87caa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* Copyright (C) 1999, 2000  Free Software Foundation

   This file is part of libjava.

This software is copyrighted work licensed under the terms of the
Libjava License.  Please consult the file "LIBJAVA_LICENSE" for
details.  */

package java.awt.event;
import java.awt.*;

/**
 * @author Tom Tromey <tromey@cygnus.com>
 * @date April 8, 2000
 */

/* Status: Believed complete and correct to JDK 1.2.  */

public class ComponentEvent extends AWTEvent
{
  public static final int COMPONENT_FIRST = 100;
  public static final int COMPONENT_HIDDEN = 103;
  public static final int COMPONENT_LAST = 103;
  public static final int COMPONENT_MOVED = 100;
  public static final int COMPONENT_RESIZED = 101;
  public static final int COMPONENT_SHOWN = 102;

  public ComponentEvent (Component source, int id)
  {
    super(source, id);
  }

  public Component getComponent ()
  {
    return (Component) source;
  }

  public String paramString ()
  {
    return super.paramString ();
  }
}