API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. AWTPermission View Source
Author(s)
Marianne Mueller
Roland Schemers
Since
Version
1.32, 04/21/06
Serial
Hierarchy
 Object
      Permission
          BasicPermission
              AWTPermission
Implements
Subclasses
Description
publicfinal class AWTPermission
  This class is for AWT permissions.
Constructors
public AWTPermission (String name)
  Creates a new AWTPermission with the specified name.
public AWTPermission (String name, String actions)
  Creates a new AWTPermission object with the specified name.
Methods
Hide/Show inherited methods
public void checkGuard (Object object) throws SecurityException [Inherited From Permission]
  Implements the guard interface for a permission.
public boolean equals (Object obj) [Inherited From BasicPermission] [Specified in Permission]
  Checks two BasicPermission objects for equality.
public String getActions () [Inherited From BasicPermission] [Specified in Permission]
  Returns the canonical string representation of the actions, which currently is the empty string "", since there are no actions for a BasicPermission.
publicfinal String getName () [Inherited From Permission]
  Returns the name of this Permission.
public int hashCode () [Inherited From BasicPermission] [Specified in Permission]
  Returns the hash code value for this object.
public boolean implies (Permission p) [Inherited From BasicPermission] [Specified in Permission]
  Checks if the specified permission is "implied" by this object.
public PermissionCollection newPermissionCollection () [Inherited From BasicPermission]
  Returns a new PermissionCollection object for storing BasicPermission objects.
public String toString () [Inherited From Permission]
  Returns a string describing this Permission.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar