Searched refs:hasFocus (Results 1 - 25 of 113) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DTableCellRenderer.java63 * <code>isSelected</code> and <code>hasFocus</code> values of
81 * @param hasFocus if true, render cell appropriately. For
92 boolean isSelected, boolean hasFocus,
91 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
/openjdk7/jdk/test/java/awt/Focus/FrameMinimizeTest/
H A DFrameMinimizeTest.java47 if (!b.hasFocus()) {
54 if (!b.hasFocus()) {
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DTreeCellRenderer.java49 * leaf and if <code>hasFocus</code> is true the node currently has
74 boolean leaf, int row, boolean hasFocus);
72 getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
H A DDefaultTreeCellRenderer.java115 protected boolean hasFocus; field in class:DefaultTreeCellRenderer
428 boolean hasFocus) {
430 expanded, leaf, row, hasFocus);
433 this.hasFocus = hasFocus;
519 if (hasFocus) {
424 getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/table/
H A DLongCellRenderer.java41 boolean isSelected, boolean hasFocus,
53 if (hasFocus) {
40 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
H A DSortHeaderCellRenderer.java72 boolean isSelected, boolean hasFocus,
71 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWButtonPeer.java86 public boolean hasFocus() { method in class:LWButtonPeer.JButtonDelegate
87 return getTarget().hasFocus();
H A DLWCheckboxPeer.java149 public boolean hasFocus() {
150 return getTarget().hasFocus();
155 public boolean hasFocus() {
156 return getTarget().hasFocus();
H A DLWTextFieldPeer.java143 public boolean hasFocus() { method in class:LWTextFieldPeer.JPasswordFieldDelegate
144 return getTarget().hasFocus();
H A DLWChoicePeer.java140 public boolean hasFocus() { method in class:LWChoicePeer.JComboBoxDelegate
141 return getTarget().hasFocus();
/openjdk7/jdk/test/java/awt/Focus/ClearGlobalFocusOwnerTest/
H A DClearGlobalFocusOwnerTest.java59 if (!button.hasFocus()) {
62 if (!button.hasFocus()) {
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsSplitPaneDivider.java61 Color bgColor = (splitPane.hasFocus()) ?
H A DWindowsTableHeaderUI.java76 boolean isSelected, hasFocus, hasRollover; field in class:WindowsTableHeaderUI.XPDefaultRenderer
84 boolean isSelected, boolean hasFocus,
87 hasFocus, row, column);
89 this.hasFocus = hasFocus;
175 } else if (isSelected || hasFocus || hasRollover) {
83 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
/openjdk7/jdk/test/java/awt/Focus/AppletInitialFocusTest/
H A DAppletInitialFocusTest.java53 if (!button.hasFocus()) {
/openjdk7/jdk/test/java/awt/Focus/RemoveAfterRequest/
H A DRemoveAfterRequest.java60 if (!btn1.hasFocus()) {
63 if (!btn1.hasFocus()) {
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DXTreeRenderer.java39 boolean leaf, int row, boolean hasFocus) {
41 tree, value, selected, expanded, leaf, row, hasFocus);
37 getTreeCellRendererComponent( JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleTreeCellRenderer.java99 boolean hasFocus) {
101 expanded, leaf, row, hasFocus);
120 if (hasFocus) {
96 getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTableHeaderUI.java228 boolean hasFocus,
232 if (isSelected || hasRollover || hasFocus) {
235 isSelected, hasFocus, table.isEnabled(),
265 hasFocus, row, column);
226 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
/openjdk7/jdk/test/java/awt/Focus/OwnedWindowFocusIMECrashTest/
H A DOwnedWindowFocusIMECrashTest.java74 if (!button.hasFocus()) {
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/FilterWindow/src/com/sun/hotspot/igv/filterwindow/
H A DCheckRenderer.java74 if (isSelected && list.hasFocus()) {
78 assert !list.hasFocus();
/openjdk7/jdk/test/java/awt/Focus/IconifiedFrameFocusChangeTest/
H A DIconifiedFrameFocusChangeTest.java76 if (!testButton.hasFocus()) {
79 if (!testButton.hasFocus()) {
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxButton.java134 boolean hasFocus = comboBox.hasFocus();
139 hasFocus |= comboBox.getEditor().getEditorComponent().hasFocus();
149 painter.state.set(hasFocus ? Focused.YES : Focused.NO);
H A DAquaHighlighter.java80 if (!c.hasFocus()) {
/openjdk7/jdk/test/java/awt/Focus/TranserFocusToWindow/
H A DTranserFocusToWindow.java112 if (comp.hasFocus()) {
119 if (!comp.hasFocus()) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalComboBoxUI.java71 * @param hasFocus whether or not the JComboBox has focus
76 boolean hasFocus) {
90 super.paintCurrentValue(g, bounds, hasFocus);
103 * @param hasFocus whether or not the JComboBox has focus
108 boolean hasFocus) {
116 if (hasFocus && !isPopupVisible(comboBox) &&
75 paintCurrentValue(Graphics g, Rectangle bounds, boolean hasFocus) argument
107 paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus) argument

Completed in 884 milliseconds

12345