/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CEmbeddedFrame.java | 41 private boolean focused = true; field in class:CEmbeddedFrame 113 public void handleFocusEvent(boolean focused) { argument 114 this.focused = focused; 115 if (focused) { 124 responder.handleWindowFocusEvent(focused, null); 143 if (focused && parentWindowActive) {
|
/openjdk7/jdk/test/java/awt/Focus/WindowInitialFocusTest/ |
H A D | WindowInitialFocusTest.java | 27 @summary A Window should be initially focused on its showing (XAWT bug). 43 AtomicBoolean focused = new AtomicBoolean(false); field in class:WindowInitialFocusTest 71 synchronized (focused) { 72 focused.set(true); 73 focused.notifyAll(); 80 // Test 1. Show the window, check that it become focused. 85 if (!Util.waitForCondition(focused, 2000L)) { 86 throw new TestFailedException("the window didn't get focused on its showing!"); 89 // Test 2. Show unfocusable window, check that it doesn't become focused. 95 focused [all...] |
/openjdk7/jdk/src/macosx/classes/apple/laf/ |
H A D | JRSUIConstants.java | 365 private static final PropertyEncoding focused = new PropertyEncoding(MASK, SHIFT); field in class:JRSUIConstants.Focused 368 super(focused, value); 413 private static final PropertyEncoding focused = new PropertyEncoding(MASK, SHIFT); field in class:JRSUIConstants.ArrowsOnly 416 super(focused, value); 429 private static final PropertyEncoding focused = new PropertyEncoding(MASK, SHIFT); field in class:JRSUIConstants.FrameOnly 432 super(focused, value); 445 private static final PropertyEncoding focused = new PropertyEncoding(MASK, SHIFT); field in class:JRSUIConstants.SegmentTrailingSeparator 448 super(focused, value); 477 private static final PropertyEncoding focused = new PropertyEncoding(MASK, SHIFT); field in class:JRSUIConstants.NothingToScroll 480 super(focused, valu 493 private static final PropertyEncoding focused = new PropertyEncoding(MASK, SHIFT); field in class:JRSUIConstants.WindowTitleBarSeparator 509 private static final PropertyEncoding focused = new PropertyEncoding(MASK, SHIFT); field in class:JRSUIConstants.WindowClipCorners [all...] |
/openjdk7/jdk/test/java/awt/Focus/FocusOwnerFrameOnClick/ |
H A D | FocusOwnerFrameOnClick.java | 50 AtomicBoolean focused = new AtomicBoolean(false); field in class:FocusOwnerFrameOnClick 102 throw new TestFailedException("The frame wasn't focused on click");
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XEmbedServerTester.java | 45 boolean focused; field in class:XEmbedServerTester 308 throw new RuntimeException("Accelerator has been activated in focused client"); 354 throw new RuntimeException("Accelerator has been activated in focused client"); 479 boolean weFocused = focused; 577 throw new RuntimeException("Wrong focused server component, should be 0, but it is " + focusedServerComponent); 582 throw new RuntimeException("Wrong focused server component, should be 2, but it is " + focusedServerComponent); 586 if (!focused) { 594 if (focused) { 599 if (!focused) { 650 focused [all...] |
H A D | ListHelper.java | 310 // FIXME: multi-select needs separate focused index 334 // FIXME: for multi-select, move the focused item, not the selected item 527 // FIXME: if none of the items were focused, paint focus around the 539 boolean focused) { 553 if (focused) { 534 paintItem(Graphics g, Color[] colors, String string, int x, int y, int width, int height, boolean selected, boolean focused) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthLookAndFeel.java | 125 boolean focused, boolean enabled, 131 if (focused) { 138 if (focused) { 145 if (focused) { 950 * the specified component differ between focused and unfocused states. 124 setSelectedUI(ComponentUI uix, boolean selected, boolean focused, boolean enabled, boolean rollover) argument
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | AWTView.m | 581 // finds the focused accessable element, and if it's a text element, obtains the text from it 584 id focused = [self accessibilityFocusedUIElement]; 585 if (![focused isKindOfClass:[JavaTextAccessibility class]]) return nil; 586 return [(JavaTextAccessibility *)focused accessibilitySelectedTextAttribute]; 599 // finds the focused accessable element, and if it's a text element, sets the text in it 602 id focused = [self accessibilityFocusedUIElement]; 603 if (![focused isKindOfClass:[JavaTextAccessibility class]]) return NO; 604 [(JavaTextAccessibility *)focused accessibilitySetSelectedTextAttribute:text];
|
H A D | JavaComponentAccessibility.m | 406 // We use the former heuristic; if the component focus-traversable, add a focused attribute 705 // We use the former heuristic; if the component focus-traversable, add a focused attribute 1116 jobject focused = JNFCallStaticObjectMethod(env, jm_getFocusOwner, fComponent); // AWT_THREADING Safe (AWTRunLoop) 1117 if (focused != NULL) { 1118 if (JNFIsInstanceOf(env, focused, &sjc_Accessible)) { 1119 value = [JavaComponentAccessibility createWithAccessible:focused withEnv:env withView:fView];
|
H A D | AWTWindow.m | 566 - (void) _deliverWindowFocusEvent:(BOOL)focused oppositeWindow:(AWTWindow *)opposite { 574 JNFCallVoidMethod(env, platformWindow, jm_deliverWindowFocusEvent, (jboolean)focused, oppositeWindow);
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | GTKPainter.java | 727 // For focused sliders, we paint focus rect outside the bounds passed. 729 boolean focused = ((state & SynthConstants.FOCUSED) != 0); 731 if (focused) { 766 if (focused) { 1052 boolean focused = 1055 if (ENGINE.paintCachedImage(g, x, y, w, h, id, focused)) { 1058 ENGINE.startPainting(g, x, y, w, h, id, focused); 1081 if (focused) {
|
/openjdk7/jdk/src/macosx/native/com/apple/laf/ |
H A D | JRSUIConstantSync.m | 117 ASSIGN_KEY(focused);
|