/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | DefaultFocusTraversalPolicy.java | 91 * @param aComponent the Component whose fitness as a focus owner is to 93 * @return <code>true</code> if aComponent meets the above requirements; 96 protected boolean accept(Component aComponent) { argument 97 if (!(aComponent.isVisible() && aComponent.isDisplayable() && 98 aComponent.isEnabled())) 106 if (!(aComponent instanceof Window)) { 107 for (Container enableTest = aComponent.getParent(); 120 boolean focusable = aComponent.isFocusable(); 121 if (aComponent [all...] |
H A D | ContainerOrderFocusTraversalPolicy.java | 110 /*protected*/ private int getComponentIndex(List<Component> cycle, Component aComponent) { argument 111 return cycle.indexOf(aComponent); 136 private Container getTopmostProvider(Container focusCycleRoot, Component aComponent) { argument 137 Container aCont = aComponent.getParent(); 189 * Returns the Component that should receive the focus after aComponent. 190 * aContainer must be a focus cycle root of aComponent or a focus traversal policy provider. 201 * @param aContainer a focus cycle root of aComponent or a focus traversal policy provider 202 * @param aComponent a (possibly indirect) child of aContainer, or 204 * @return the Component that should receive the focus after aComponent, or 207 * root of aComponent o 210 getComponentAfter(Container aContainer, Component aComponent) argument 308 getComponentBefore(Container aContainer, Component aComponent) argument 556 accept(Component aComponent) argument [all...] |
H A D | FocusTraversalPolicy.java | 73 * Returns the Component that should receive the focus after aComponent. 74 * aContainer must be a focus cycle root of aComponent or a focus traversal 77 * @param aContainer a focus cycle root of aComponent or focus traversal 79 * @param aComponent a (possibly indirect) child of aContainer, or 81 * @return the Component that should receive the focus after aComponent, or 84 * root of aComponent or a focus traversal policy provider, or if 85 * either aContainer or aComponent is null 88 Component aComponent); 91 * Returns the Component that should receive the focus before aComponent. 92 * aContainer must be a focus cycle root of aComponent o 87 getComponentAfter(Container aContainer, Component aComponent) argument 105 getComponentBefore(Container aContainer, Component aComponent) argument [all...] |
H A D | DefaultKeyboardFocusManager.java | 1305 * Focuses the Component before aComponent, typically based on a 1308 * @param aComponent the Component that is the basis for the focus 1313 public void focusPreviousComponent(Component aComponent) { argument 1314 if (aComponent != null) { 1315 aComponent.transferFocusBackward(); 1320 * Focuses the Component after aComponent, typically based on a 1323 * @param aComponent the Component that is the basis for the focus 1328 public void focusNextComponent(Component aComponent) { argument 1329 if (aComponent != null) { 1330 aComponent 1346 upFocusCycle(Component aComponent) argument [all...] |
H A D | KeyboardFocusManager.java | 2002 * Focuses the Component after aComponent, typically based on a 2005 * @param aComponent the Component that is the basis for the focus 2009 public abstract void focusNextComponent(Component aComponent); argument 2012 * Focuses the Component before aComponent, typically based on a 2015 * @param aComponent the Component that is the basis for the focus 2019 public abstract void focusPreviousComponent(Component aComponent); argument 2023 * is set to aComponent's focus cycle root, and the current focus cycle 2025 * aComponent's focus cycle root is a Window, then typically the focus 2029 * @param aComponent the Component that is the basis for the focus 2032 public abstract void upFocusCycle(Component aComponent); argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | LayoutFocusTraversalPolicy.java | 74 * Returns the Component that should receive the focus after aComponent. 75 * aContainer must be a focus cycle root of aComponent. 86 * @param aContainer a focus cycle root of aComponent or a focus traversal policy provider 87 * @param aComponent a (possibly indirect) child of aContainer, or 89 * @return the Component that should receive the focus after aComponent, or 92 * root of aComponent or a focus traversal policy provider, or if either aContainer or 93 * aComponent is null 96 Component aComponent) { 97 if (aContainer == null || aComponent == null) { 98 throw new IllegalArgumentException("aContainer and aComponent canno 95 getComponentAfter(Container aContainer, Component aComponent) argument 131 getComponentBefore(Container aContainer, Component aComponent) argument 227 accept(Component aComponent) argument 271 accept(Component aComponent) argument [all...] |
H A D | SortingFocusTraversalPolicy.java | 113 private int getComponentIndex(List<Component> cycle, Component aComponent) { argument 116 index = Collections.binarySearch(cycle, aComponent, comparator); 119 log.fine("### During the binary search for " + aComponent + " the exception occured: ", e); 128 index = cycle.indexOf(aComponent); 164 Container getTopmostProvider(Container focusCycleRoot, Component aComponent) { argument 165 Container aCont = aComponent.getParent(); 217 * Returns the Component that should receive the focus after aComponent. 218 * aContainer must be a focus cycle root of aComponent or a focus traversal policy provider. 229 * @param aContainer a focus cycle root of aComponent or a focus traversal policy provider 230 * @param aComponent 238 getComponentAfter(Container aContainer, Component aComponent) argument 338 getComponentBefore(Container aContainer, Component aComponent) argument 583 accept(Component aComponent) argument 593 accept(Component aComponent) argument [all...] |
H A D | LegacyGlueFocusTraversalPolicy.java | 71 Component aComponent) { 72 Component hardCoded = aComponent, prevHardCoded; 85 getComponentAfter(focusCycleRoot, aComponent); 100 Component aComponent) { 101 Component hardCoded = aComponent, prevHardCoded; 114 getComponentBefore(focusCycleRoot, aComponent); 153 private boolean accept(Component aComponent) { argument 154 if (!(aComponent.isVisible() && aComponent.isDisplayable() && 155 aComponent 70 getComponentAfter(Container focusCycleRoot, Component aComponent) argument 99 getComponentBefore(Container focusCycleRoot, Component aComponent) argument [all...] |
H A D | DefaultFocusManager.java | 63 Component aComponent) 74 return policy.getComponentAfter(root, aComponent); 78 return layoutPolicy.getComponentAfter(root, aComponent); 85 Component aComponent) 96 return policy.getComponentBefore(root, aComponent); 100 return layoutPolicy.getComponentBefore(root, aComponent); 62 getComponentAfter(Container aContainer, Component aComponent) argument 84 getComponentBefore(Container aContainer, Component aComponent) argument
|
H A D | DelegatingDefaultFocusManager.java | 59 public void focusNextComponent(Component aComponent) { argument 60 delegate.focusNextComponent(aComponent); 62 public void focusPreviousComponent(Component aComponent) { argument 63 delegate.focusPreviousComponent(aComponent); 156 public void upFocusCycle(Component aComponent) { argument 157 delegate.upFocusCycle(aComponent);
|
H A D | RepaintManager.java | 604 public Rectangle getDirtyRegion(JComponent aComponent) { argument 605 RepaintManager delegate = getDelegate(aComponent); 607 return delegate.getDirtyRegion(aComponent); 611 r = dirtyComponents.get(aComponent); 620 * Mark a component completely dirty. <b>aComponent</b> will be 623 public void markCompletelyDirty(JComponent aComponent) { argument 624 RepaintManager delegate = getDelegate(aComponent); 626 delegate.markCompletelyDirty(aComponent); 629 addDirtyRegion(aComponent,0,0,Integer.MAX_VALUE,Integer.MAX_VALUE); 633 * Mark a component completely clean. <b>aComponent</ 636 markCompletelyClean(JComponent aComponent) argument 653 isCompletelyDirty(JComponent aComponent) argument [all...] |
H A D | JEditorPane.java | 203 Component aComponent) { 207 aComponent); 218 Component aComponent) { 222 aComponent); 239 protected boolean accept(Component aComponent) { 240 return (aComponent != JEditorPane.this) 241 ? super.accept(aComponent)
|
H A D | JComponent.java | 1367 * @param aComponent the <code>Component</code> that should follow this 1375 public void setNextFocusableComponent(Component aComponent) { argument 1380 putClientProperty(NEXT_FOCUS, aComponent); 1382 registerNextFocusableComponent(aComponent);
|
H A D | SwingUtilities.java | 116 * Return the rectangle (0,0,bounds.width,bounds.height) for the component <code>aComponent</code> 118 public static Rectangle getLocalBounds(Component aComponent) { argument 119 Rectangle b = new Rectangle(aComponent.getBounds());
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CAccessibility.java | 539 final AccessibleComponent aComponent = aContext.getAccessibleComponent(); 540 ret[0] = (aComponent != null); 541 ret[1] = ((aComponent != null) && (aComponent.isFocusTraversable()));
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTreeUI.java | 2807 Component aComponent; 2809 aComponent = currentCellRenderer.getTreeCellRendererComponent 2815 rendererPane.add(aComponent); 2816 aComponent.validate(); 2818 Dimension prefSize = aComponent.getPreferredSize();
|