The UIPermission Class contains the following methods:
check determines if the permission object allows the specified UI operation.
combine creates and returns a new UIPermission object that is a combination of the current permission object and the specified permission object.
compareSet compares the UIPermission instance with the specified permission object.
copy retrieves a copy of this UIPermission object.
decode decodes the contents of the specified data stream into this permission object.
encode encodes the contents of this permission object, and sends the encoded data to the specified stream.
getClipboardAccess determines whether the object indicates permission to access the Clipboard.
getEventQueueAccessAllowed determines whether the permission object indicates the ability to access the AWT event queue.
getFileDialogsAllowed determines whether the permission object indicates the ability to create file dialog boxes.
getTopLevelWindowCreationAllowed determines whether the permission object indicates permission to create top-level windows.
getWarningBannersRequired determines whether the permission object indicates that top-level windows require warning banners.
mapFormat retrieves a permission-specific tag, given an encoding format.
reset resets the permission object to a state in which it allows no access to any of the special UI behaviors.
setClipboardAccess sets the ability to access the system clipboard.
setEventQueueAccessAllowed sets the ability to access the AWT event queue.
setFileDialogsAllowed sets the ability to use file dialog boxes.
setTopLevelWindowCreationAllowed sets the ability to create a top-level window.
setWarningBanners sets the ability to display warning banners.
supportedFormats retrieves the encoding formats that the permission type supports.
toString converts the permission object to a textual representation.