Searched refs:modifiers (Results 1 - 25 of 172) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/sun/reflect/
H A DFieldInfo.java39 private int modifiers; field in class:FieldInfo
59 public int modifiers() { method in class:FieldInfo
60 return modifiers;
69 return (Modifier.isPublic(modifiers()));
/openjdk7/jdk/src/share/classes/com/sun/jdi/
H A DAccessible.java43 * programming language modifiers, encoded in an integer.
49 public int modifiers(); method in interface:Accessible
/openjdk7/jdk/src/share/classes/java/awt/event/
H A DMouseEvent.java115 * <b >id </b > <b >modifiers </b > <b >button </b >
127 * <b >id </b > <b >modifiers </b > <b >button </b >
465 * type, time, modifiers, coordinates, click count, popupTrigger flag,
472 * <tt>MouseEvent(source, id, when, modifiers, x, y, clickCount, popupTrigger, button)</tt>
475 * int, int, int, boolean, int) MouseEvent}(source, id, when, modifiers,
491 * @param modifiers The modifier keys down during event (e.g. shift, ctrl,
495 * Zero value means that no modifiers were passed.
496 * Use either an extended _DOWN_MASK or old _MASK modifiers,
498 * The extended modifiers are preferred for using
550 public MouseEvent(Component source, int id, long when, int modifiers, argument
616 MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) argument
729 MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int button) argument
939 getMouseModifiersText(int modifiers) argument
[all...]
H A DActionEvent.java131 int modifiers; field in class:ActionEvent
177 * @param modifiers The modifier keys down during event
180 * Zero value means that no modifiers were passed
187 public ActionEvent(Object source, int id, String command, int modifiers) { argument
188 this(source, id, command, 0, modifiers);
207 * @param modifiers The modifier keys down during event
210 * Zero value means that no modifiers were passed
224 int modifiers) {
228 this.modifiers = modifiers;
223 ActionEvent(Object source, int id, String command, long when, int modifiers) argument
[all...]
H A DInputEvent.java160 * An array of extended modifiers for additional buttons.
188 * A method to access an array of extended modifiers for additional buttons.
202 * <li> as a {@code modifiers} parameter when creating a new {@link MouseEvent} instance
280 int modifiers; field in class:InputEvent
310 * modifiers, and type.
324 * @param modifiers the modifier keys down during event (e.g. shift, ctrl,
327 * Zero value means no modifiers.
328 * Either extended _DOWN_MASK or old _MASK modifiers
330 * in one event. Use of the extended modifiers is
338 InputEvent(Component source, int id, long when, int modifiers) { argument
491 getModifiersExText(int modifiers) argument
[all...]
H A DMouseWheelEvent.java162 * specified source component, type, modifiers, coordinates,
175 * @param modifiers the modifier keys down during event
195 public MouseWheelEvent (Component source, int id, long when, int modifiers, argument
199 this(source, id, when, modifiers, x, y, 0, 0, clickCount,
205 * specified source component, type, modifiers, coordinates,
219 * @param modifiers the modifier keys down during event
242 public MouseWheelEvent (Component source, int id, long when, int modifiers, argument
246 this(source, id, when, modifiers, x, y, xAbs, yAbs, clickCount, popupTrigger,
254 * source component, type, modifiers, coordinates, absolute coordinates,
267 * @param modifiers th
296 MouseWheelEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation, double preciseWheelRotation) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DProgramElementDocImpl.java66 private int modifiers = -1; field in class:ProgramElementDocImpl
94 if (modifiers == -1) {
95 modifiers = DocEnv.translateModifiers(getFlags());
97 return modifiers;
127 int modifiers = getModifiers();
130 return modifiers & ~Modifier.ABSTRACT;
131 return modifiers;
135 * Get modifiers string.
139 * modifiers() would return:
144 public String modifiers() { method in class:ProgramElementDocImpl
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DIdentifierToken.java43 int modifiers; field in class:IdentifierToken
59 public IdentifierToken(long where, Identifier id, int modifiers) { argument
62 this.modifiers = modifiers;
75 /** The modifiers associated with the occurrence, if any. */
77 return modifiers;
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DDnDUtilities.m31 Java reports both the original source actions, and the user-selected actions (selected using KB modifiers) to both the source and target during the drag. AppKit only reports to the destination during the drag. This was solved by directly asking CGS for the KB state during the source's image moved callback.
33 Java uses Shift/Move, Control/Copy and Shift+Control/Link. AppKit uses Command/Move, Alternate/Copy and Control/Link. Carbon uses Command/Move, Alternate/Copy and Command+Alternate/Link. This is bad, because Control overlaps between Java and AppKit. In this case, we choose compatibility between Carbon and Java (Java wins over AppKit wrt Control). This means that drags between Java applications will work correctly, regardless of whether you use the Carbon or the Java key modifiers. Drags to Java applications will work correctly regardless of whether you use the Carbon or the Java key modifiers. Drags from Java applications to non-Java applications will only work if you use the Carbon modifiers.
163 // Mouse and key modifiers mapping:
164 + (NSUInteger)mapJavaExtModifiersToNSMouseDownButtons:(jint)modifiers
168 if ((modifiers & java_awt_event_InputEvent_BUTTON1_DOWN_MASK) != 0)
171 if ((modifiers & java_awt_event_InputEvent_BUTTON2_DOWN_MASK) != 0)
174 if ((modifiers & java_awt_event_InputEvent_BUTTON3_DOWN_MASK) != 0)
180 + (NSUInteger)mapJavaExtModifiersToNSMouseUpButtons:(jint)modifiers
[all...]
H A DDnDUtilities.h44 // Mouse and key modifiers mapping:
45 + (NSUInteger)mapJavaExtModifiersToNSMouseDownButtons:(jint)modifiers;
46 + (NSUInteger)mapJavaExtModifiersToNSMouseUpButtons:(jint)modifiers;
48 // Specialized key and mouse modifiers mapping (for operationChanged)
49 + (jint)extractJavaExtKeyModifiersFromJavaExtModifiers:(jint)modifiers;
50 + (jint)extractJavaExtMouseModifiersFromJavaExtModifiers:(jint)modifiers;
53 + (NSDragOperation)nsDragOperationForModifiers:(NSUInteger)modifiers;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DKeyStroke.java35 * KeyEvents do. In all cases, KeyStrokes can specify modifiers (alt, shift,
73 private KeyStroke(char keyChar, int keyCode, int modifiers, argument
75 super(keyChar, keyCode, modifiers, onKeyRelease);
114 * set of modifiers. Note that the first parameter is of type Character
116 * <code>getKeyStroke(int keyCode, int modifiers)</code>.
118 * The modifiers consist of any combination of following:<ul>
125 * The old modifiers listed below also can be used, but they are
126 * mapped to _DOWN_ modifiers. <ul>
133 * also can be used, but they are mapped to _DOWN_ modifiers.
137 * key. Use 0 to specify no modifiers
147 getKeyStroke(Character keyChar, int modifiers) argument
197 getKeyStroke(int keyCode, int modifiers, boolean onKeyRelease) argument
246 getKeyStroke(int keyCode, int modifiers) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DAWTKeyStroke.java50 * In all cases, <code>AWTKeyStroke</code>s can specify modifiers
100 private int modifiers; field in class:AWTKeyStroke
148 * @param modifiers a bitwise-ored combination of any modifiers
154 protected AWTKeyStroke(char keyChar, int keyCode, int modifiers, argument
158 this.modifiers = modifiers;
252 (char keyChar, int keyCode, int modifiers, boolean onKeyRelease)
278 cacheKey.modifiers = mapNewModifiers(mapOldModifiers(modifiers));
251 getCachedStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease) argument
339 getAWTKeyStroke(Character keyChar, int modifiers) argument
392 getAWTKeyStroke(int keyCode, int modifiers, boolean onKeyRelease) argument
437 getAWTKeyStroke(int keyCode, int modifiers) argument
740 getModifiersText(int modifiers) argument
815 mapOldModifiers(int modifiers) argument
844 mapNewModifiers(int modifiers) argument
[all...]
H A DMenuShortcut.java184 int modifiers = 0;
186 modifiers = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
189 modifiers |= Event.SHIFT_MASK;
191 return KeyEvent.getKeyModifiersText(modifiers) + "+" +
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DTypeComponentImpl.java40 private final int modifiers; field in class:TypeComponentImpl
45 String genericSignature, int modifiers) {
57 this.modifiers = modifiers;
71 public int modifiers() { method in class:TypeComponentImpl
72 return modifiers;
114 return (modifiers & compareBits) != 0;
42 TypeComponentImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, long ref, String name, String signature, String genericSignature, int modifiers) argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DPlatformEventNotifier.java53 int modifiers, int clickCount, boolean popupTrigger,
56 void notifyMouseWheelEvent(long when, int x, int y, int modifiers, argument
63 void notifyKeyEvent(int id, long when, int modifiers, argument
51 notifyMouseEvent(int id, long when, int button, int x, int y, int screenX, int screenY, int modifiers, int clickCount, boolean popupTrigger, byte[] bdata) argument
/openjdk7/jdk/src/share/classes/java/lang/reflect/
H A DField.java68 private int modifiers; field in class:Field
114 int modifiers,
122 this.modifiers = modifiers;
141 Field res = new Field(clazz, name, type, modifiers, slot, signature, annotations);
165 * Returns the Java language modifiers for the field represented
167 * be used to decode the modifiers.
172 return modifiers;
270 * the access modifiers for the field, if any, followed
280 * <p>The modifiers ar
111 Field(Class<?> declaringClass, String name, Class<?> type, int modifiers, int slot, String signature, byte[] annotations) argument
[all...]
H A DReflectAccess.java39 int modifiers,
47 modifiers,
58 int modifiers,
70 modifiers,
81 int modifiers,
90 modifiers,
36 newField(Class<?> declaringClass, String name, Class<?> type, int modifiers, int slot, String signature, byte[] annotations) argument
53 newMethod(Class<?> declaringClass, String name, Class<?>[] parameterTypes, Class<?> returnType, Class<?>[] checkedExceptions, int modifiers, int slot, String signature, byte[] annotations, byte[] parameterAnnotations, byte[] annotationDefault) argument
78 newConstructor(Class<T> declaringClass, Class<?>[] parameterTypes, Class<?>[] checkedExceptions, int modifiers, int slot, String signature, byte[] annotations, byte[] parameterAnnotations) argument
/openjdk7/jdk/test/java/nio/file/WatchService/
H A DWithSecurityManager.java58 WatchEvent.Modifier[] modifiers;
60 modifiers = new WatchEvent.Modifier[1];
61 modifiers[0] = ExtendedWatchEventModifier.FILE_TREE;
63 modifiers = new WatchEvent.Modifier[0];
70 modifiers);
/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DMenuKeyEvent.java62 * @param modifiers an int specifying any modifier keys held down,
71 public MenuKeyEvent(Component source, int id, long when, int modifiers, argument
74 super(source, id, when, modifiers, keyCode, keyChar);
H A DMenuDragMouseEvent.java64 * @param modifiers an int specifying any modifier keys held down,
79 int modifiers, int x, int y, int clickCount,
82 super(source, id, when, modifiers, x, y, clickCount, popupTrigger);
97 * @param modifiers an int specifying any modifier keys held down,
117 int modifiers, int x, int y, int xAbs,
121 super(source, id, when, modifiers, x, y, xAbs, yAbs, clickCount,
78 MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, MenuElement p[], MenuSelectionManager m) argument
116 MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, MenuElement p[], MenuSelectionManager m) argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DFlags.java34 /** Access flags and other modifiers for Java classes and members.
278 Set<Modifier> modifiers = modifierSets.get(flags);
279 if (modifiers == null) {
280 modifiers = java.util.EnumSet.noneOf(Modifier.class);
281 if (0 != (flags & PUBLIC)) modifiers.add(Modifier.PUBLIC);
282 if (0 != (flags & PROTECTED)) modifiers.add(Modifier.PROTECTED);
283 if (0 != (flags & PRIVATE)) modifiers.add(Modifier.PRIVATE);
284 if (0 != (flags & ABSTRACT)) modifiers.add(Modifier.ABSTRACT);
285 if (0 != (flags & STATIC)) modifiers.add(Modifier.STATIC);
286 if (0 != (flags & FINAL)) modifiers
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DWatchable.java52 * registration, is returned after changing the event set or modifiers to
53 * those specified by the {@code events} and {@code modifiers} parameters.
70 * @param modifiers
71 * the modifiers, if any, that modify how the object is registered
77 * if unsupported events or modifiers are specified
79 * if an invalid of combination of events are modifiers are specified
91 WatchEvent.Modifier... modifiers)
89 register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) argument
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_AWTEvent.h44 jfieldID modifiers; member in struct:InputEventIDs
/openjdk7/langtools/src/share/classes/com/sun/javadoc/
H A DProgramElementDoc.java78 * Get modifiers string.
86 String modifiers(); method in interface:ProgramElementDoc
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXDragSourceProtocolListener.java55 * @param modifiers the keyboard modifiers state for the reply
57 void handleDragReply(int action, int x, int y, int modifiers); argument

Completed in 279 milliseconds

1234567