src/java.desktop/share/classes/java/awt/Component.java

Print this page

        

*** 1761,1772 **** * @return this component's foreground color; if this component does * not have a foreground color, the foreground color of its parent * is returned * @see #setForeground * @since 1.0 - * @beaninfo - * bound: true */ @Transient public Color getForeground() { Color foreground = this.foreground; if (foreground != null) { --- 1761,1770 ----
*** 1841,1852 **** * @param c the color to become this component's color; * if this parameter is <code>null</code>, then this * component will inherit the background color of its parent * @see #getBackground * @since 1.0 - * @beaninfo - * bound: true */ public void setBackground(Color c) { Color oldColor = background; ComponentPeer peer = this.peer; background = c; --- 1839,1848 ----
*** 1909,1920 **** * if this parameter is <code>null</code> then this * component will inherit the font of its parent * @see #getFont * @see #invalidate * @since 1.0 - * @beaninfo - * bound: true */ public void setFont(Font f) { Font oldFont, newFont; synchronized(getTreeLock()) { oldFont = font; --- 1905,1914 ----
*** 7232,7243 **** * value overrides the Component's default focusability. * * @param focusable indicates whether this Component is focusable * @see #isFocusable * @since 1.4 - * @beaninfo - * bound: true */ public void setFocusable(boolean focusable) { boolean oldFocusable; synchronized (this) { oldFocusable = this.focusable; --- 7226,7235 ----
*** 7325,7336 **** * KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS, or if keystrokes * contains null, or if any keystroke represents a KEY_TYPED event, * or if any keystroke already maps to another focus traversal * operation for this Component * @since 1.4 - * @beaninfo - * bound: true */ public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes) { if (id < 0 || id >= KeyboardFocusManager.TRAVERSAL_KEY_LENGTH - 1) { --- 7317,7326 ----
*** 7477,7488 **** * enabled for this Component * @see #getFocusTraversalKeysEnabled * @see #setFocusTraversalKeys * @see #getFocusTraversalKeys * @since 1.4 - * @beaninfo - * bound: true */ public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled) { boolean oldFocusTraversalKeysEnabled; synchronized (this) { --- 7467,7476 ----
*** 8993,9004 **** * * @see ComponentOrientation * @see #invalidate * * @author Laura Werner, IBM - * @beaninfo - * bound: true */ public void setComponentOrientation(ComponentOrientation o) { ComponentOrientation oldValue = componentOrientation; componentOrientation = o; --- 8981,8990 ----