java.awt
Class AWTPermission
java.lang.Object
|
+--java.security.Permission
|
+--java.security.BasicPermission
|
+--java.awt.AWTPermission
- All Implemented Interfaces:
- Guard, Serializable
- public final class AWTPermission
- extends BasicPermission
Unsafe:
- See Also:
- Serialized Form
Field Summary |
private static long |
serialVersionUID
use serialVersionUID from the Java 2 platform for interoperability |
Fields inherited from class java.security.Permission |
|
Constructor Summary |
AWTPermission(String name)
Suppressed: Creates a new AWTPermission with the specified name. |
AWTPermission(String name,
String actions)
Suppressed: Creates a new AWTPermission object with the specified name. |
serialVersionUID
private static final long serialVersionUID
- use serialVersionUID from the Java 2 platform for interoperability
AWTPermission
public AWTPermission(String name)
- Suppressed: Creates a new
AWTPermission
with the specified name.
The name is the symbolic name of the AWTPermission
,
such as "topLevelWindow", "systemClipboard", etc. An asterisk
may be used to indicate all AWT permissions.
- Parameters:
name
- the name of the AWTPermission
AWTPermission
public AWTPermission(String name,
String actions)
- Suppressed: Creates a new
AWTPermission
object with the specified name.
The name is the symbolic name of the AWTPermission
, and the
actions string is currently unused and should be null
.
- Parameters:
name
- the name of the AWTPermission
actions
- should be null
comments?