< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/nimbus/DerivedColor.java

Print this page

        

*** 99,109 **** /** * Returns the RGB value representing the color in the default sRGB {@link java.awt.image.ColorModel}. (Bits 24-31 * are alpha, 16-23 are red, 8-15 are green, 0-7 are blue). * ! * @return the RGB value of the color in the default sRGB <code>ColorModel</code>. * @see java.awt.image.ColorModel#getRGBdefault * @see #getRed * @see #getGreen * @see #getBlue * @since 1.0 --- 99,109 ---- /** * Returns the RGB value representing the color in the default sRGB {@link java.awt.image.ColorModel}. (Bits 24-31 * are alpha, 16-23 are red, 8-15 are green, 0-7 are blue). * ! * @return the RGB value of the color in the default sRGB {@code ColorModel}. * @see java.awt.image.ColorModel#getRGBdefault * @see #getRed * @see #getGreen * @see #getBlue * @since 1.0
*** 155,170 **** } return value; } /** ! * Returns a string representation of this <code>Color</code>. This method * is intended to be used only for debugging purposes. The content and * format of the returned string might vary between implementations. The ! * returned string might be empty but cannot be <code>null</code>. * ! * @return a String representation of this <code>Color</code>. */ @Override public String toString() { Color src = UIManager.getColor(uiDefaultParentName); String s = "DerivedColor(color=" + getRed() + "," + getGreen() + "," + getBlue() + --- 155,170 ---- } return value; } /** ! * Returns a string representation of this {@code Color}. This method * is intended to be used only for debugging purposes. The content and * format of the returned string might vary between implementations. The ! * returned string might be empty but cannot be {@code null}. * ! * @return a String representation of this {@code Color}. */ @Override public String toString() { Color src = UIManager.getColor(uiDefaultParentName); String s = "DerivedColor(color=" + getRed() + "," + getGreen() + "," + getBlue() +
< prev index next >