aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/AWTPermission.java
blob: b4cf1938fa9c737ffa5e6e0209e3a8a17c262a1e (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
43
44
// AWTPermission.java - AWT permissions

/* Copyright (C) 2000  Free Software Foundation

   This file is part of libgcj.

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

/**
 * @author Tom Tromey <tromey@redhat.com>
 * @date December 2, 2000
 */

package java.awt;

import java.security.BasicPermission;

/**
 * This class implements permissions for AWT.  This is a named
 * permission.  No actions are defined.
 */
public final class AWTPermission extends BasicPermission
{
  /**
   * Construct a AWTPermission with the given name.
   * @param name The permission name
   */
  public AWTPermission (String name)
  {
    super (name);
  }

  /**
   * Construct a AWTPermission with the given name.
   * @param name The permission name
   * @param actions The actions; this is ignored and should be null.
   */
  public AWTPermission (String name, String actions)
  {
    super (name, actions);
  }
}