Searched refs:focusable (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/beans/infos/
H A DComponentBeanInfo.java46 focusable = new PropertyDescriptor("focusable", beanClass);
54 focusable.setBound(true);
56 PropertyDescriptor[] rv = {name, background, foreground, font, enabled, visible, focusable };
/openjdk7/jdk/src/share/classes/java/awt/
H A DDefaultFocusTraversalPolicy.java44 * DefaultFocusTraversalPolicy will reject all Components with non-focusable
51 * Components have non-focusable peers, and all other Components have focusable
86 * accepted if and only if it is focusable. If, however, the Component is
120 boolean focusable = aComponent.isFocusable();
122 return focusable;
H A DComponent.java417 private boolean focusable = true; field in class:Component
7062 * focusable; <code>false</code> otherwise
7072 return focusable;
7078 * @return <code>true</code> if this Component is focusable;
7088 * Sets the focusable state of this Component to the specified value. This
7091 * @param focusable indicates whether this Component is focusable
7097 public void setFocusable(boolean focusable) { argument
7100 oldFocusable = this.focusable;
7101 this.focusable
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaBorder.java116 Component focusable = c;
121 focusable = vp.getView();
123 if (focusable instanceof JTextComponent) return false;
125 } else if (focusable instanceof JTextComponent) {
127 if (!((javax.swing.text.JTextComponent)focusable).isEditable()) return false;
130 return (focusable != null && focusable instanceof JComponent && ((JComponent)focusable).hasFocus());
/openjdk7/jdk/test/javax/swing/JPopupMenu/6827786/
H A Dbug6827786.java41 private static Component focusable; field in class:bug6827786
60 focusable.requestFocus();
97 if (!focusable.isFocusOwner()) {
144 focusable = new JButton("Set Focus Here");
145 frame.add(focusable);
/openjdk7/jdk/test/java/awt/Focus/NonFocusableWindowTest/
H A DNoEventsTest.java27 @summary Tests that non-focusable windows doesn't generate any focus events when accessed.
63 // Create several pairs - focusable Frame with focusable component(button) and non-focusable:
65 main_frame = new Frame("focusable frame");
98 // 1. Click on all controls, check for no focus events for non-focusable, right focus events for focusable
108 // Verify that click on non-focusable window causes no focus lost on active window
114 // Verify that toFront, toBack doesn't cause non-focusable window to become active
127 // zooming/unzooming doesn't cause non-focusable
178 NoEventsTest(int row, int col, boolean focusable, boolean resizable) argument
202 TestWindow(int row, int col, boolean focusable, Frame owner) argument
225 TestDialog(int row, int col, boolean focusable, boolean resizable, Frame owner) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKStyleFactory.java74 boolean focusable = sb.isFocusable();
75 key = new ComplexKey(wt, sp, horiz, ltr, focusable);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthArrowButton.java64 public void setFocusable(boolean focusable) {} argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWWindowPeer.java1275 boolean focusable = getTarget().isFocusableWindow();
1281 return focusable && ownerPeer.getTarget().isFocusableWindow();
1283 return focusable;
1304 focusLog.fine("the window is not focusable");
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicComboBoxUI.java1731 else if ( propertyName == "focusable" ) {
1732 boolean focusable = comboBox.isFocusable();
1734 editor.setFocusable(focusable);
1736 arrowButton.setFocusable(focusable);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Frame.cpp398 * When a non-focusable toplevel is shown alone the Java process
399 * is not foreground. If one shows another (focusable) toplevel
440 * If this Frame is non-focusable then we should implement move and size operation for it by
507 * when minimizing non-focusable window.
514 * If this Frame is non-focusable then we should implement move and size operation for it by
1267 BOOL focusable = f->IsFocusableWindow(); local
1278 wp.showCmd = focusable ? SW_MINIMIZE : SW_SHOWMINNOACTIVE;
1280 wp.showCmd = focusable ? SW_SHOWMAXIMIZED : SW_MAXIMIZE;
1282 wp.showCmd = focusable ? SW_RESTORE : SW_SHOWNOACTIVATE;
H A Dawt_Window.cpp738 // Activate the window if it is focusable and inactive
2025 * - be focusable;
2028 BOOL focusable = m_isFocusableWindow && !::IsWindow(AwtWindow::GetModalBlocker(GetHWnd())); local
2036 focusable = focusable && owner->IsFocusableWindow();
2038 return focusable;
2142 BOOL focusable = w->IsFocusableWindow(); local
2145 if (!focusable || !autoRequestFocus)
2150 if (focusable && autoRequestFocus)

Completed in 1016 milliseconds