01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: /**
18: * @author Evgueni V. Brevnov
19: * @version $Revision$
20: */package org.apache.harmony.awt;
21:
22: import java.awt.AWTPermission;
23:
24: public interface AWTPermissionCollection {
25:
26: AWTPermission ACCESS_CLIPBOARD_PERMISSION = new AWTPermission(
27: "accessClipboard"); //$NON-NLS-1$
28:
29: AWTPermission ACCESS_EVENT_QUEUE_PERMISSION = new AWTPermission(
30: "accessEventQueue"); //$NON-NLS-1$
31:
32: AWTPermission CREATE_ROBOT_PERMISSION = new AWTPermission(
33: "createRobot"); //$NON-NLS-1$
34:
35: AWTPermission FULL_SCREEN_EXCLUSIVE_PERMISSION = new AWTPermission(
36: "fullScreenExclusive"); //$NON-NLS-1$
37:
38: AWTPermission LISTEN_TO_ALL_AWTEVENTS_PERMISSION = new AWTPermission(
39: "listenToAllAWTEvents"); //$NON-NLS-1$
40:
41: AWTPermission READ_DISPLAY_PIXELS_PERMISSION = new AWTPermission(
42: "readDisplayPixels"); //$NON-NLS-1$
43:
44: AWTPermission REPLACE_KEYBOARD_FOCUS_MANAGER_PERMISSION = new AWTPermission(
45: "replaceKeyboardFocusManager"); //$NON-NLS-1$
46:
47: AWTPermission SET_APPLET_STUB_PERMISSION = new AWTPermission(
48: "setAppletStub"); //$NON-NLS-1$
49:
50: AWTPermission SET_WINDOW_ALWAYS_ON_TOP_PERMISSION = new AWTPermission(
51: "setWindowAlwaysOnTop"); //$NON-NLS-1$
52:
53: AWTPermission SHOW_WINDOW_WITHOUT_WARNING_BANNER_PERMISSION = new AWTPermission(
54: "showWindowWithoutWarningBanner"); //$NON-NLS-1$
55:
56: AWTPermission WATCH_MAOUSE_POINTER_PERMISSION = new AWTPermission(
57: "watchMousePointer"); //$NON-NLS-1$
58: }
|