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

Print this page

        

*** 1748,1759 **** * @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) { --- 1748,1757 ----
*** 1828,1839 **** * @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; --- 1826,1835 ----
*** 1896,1907 **** * 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; --- 1892,1901 ----
*** 7214,7225 **** * 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; --- 7208,7217 ----
*** 7307,7318 **** * 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) { --- 7299,7308 ----
*** 7459,7470 **** * 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) { --- 7449,7458 ----
*** 8975,8986 **** * * @see ComponentOrientation * @see #invalidate * * @author Laura Werner, IBM - * @beaninfo - * bound: true */ public void setComponentOrientation(ComponentOrientation o) { ComponentOrientation oldValue = componentOrientation; componentOrientation = o; --- 8963,8972 ----