Accent color: changed javadoc since version from 1.6 to 2

This commit is contained in:
Karl Tauber
2021-09-25 23:53:57 +02:00
parent d333d0c9e4
commit 36d5747fbf
2 changed files with 7 additions and 7 deletions

View File

@@ -792,7 +792,7 @@ public abstract class FlatLaf
/**
* Gets global extra UI defaults; or {@code null}.
*
* @since 1.6
* @since 2
*/
public static Map<String, String> getGlobalExtraDefaults() {
return globalExtraDefaults;
@@ -815,7 +815,7 @@ public abstract class FlatLaf
* }</pre>
*
* @see #setExtraDefaults(Map)
* @since 1.6
* @since 2
*/
public static void setGlobalExtraDefaults( Map<String, String> globalExtraDefaults ) {
FlatLaf.globalExtraDefaults = globalExtraDefaults;
@@ -824,7 +824,7 @@ public abstract class FlatLaf
/**
* Gets extra UI defaults; or {@code null}.
*
* @since 1.6
* @since 2
*/
public Map<String, String> getExtraDefaults() {
return extraDefaults;
@@ -848,7 +848,7 @@ public abstract class FlatLaf
* }</pre>
*
* @see #setGlobalExtraDefaults(Map)
* @since 1.6
* @since 2
*/
public void setExtraDefaults( Map<String, String> extraDefaults ) {
this.extraDefaults = extraDefaults;

View File

@@ -90,7 +90,7 @@ public class ColorFunctions
* @param weight the weight (in range 0-1) to mix the two colors.
* Larger weight uses more of first color, smaller weight more of second color.
* @return mixture of colors
* @since 1.6
* @since 2
*/
public static Color tint( Color color, float weight ) {
return mix( Color.white, color, weight );
@@ -104,7 +104,7 @@ public class ColorFunctions
* @param weight the weight (in range 0-1) to mix the two colors.
* Larger weight uses more of first color, smaller weight more of second color.
* @return mixture of colors
* @since 1.6
* @since 2
*/
public static Color shade( Color color, float weight ) {
return mix( Color.black, color, weight );
@@ -120,7 +120,7 @@ public class ColorFunctions
* @return the luma (in range 0-1)
*
* @see <a href="https://en.wikipedia.org/wiki/Luma_(video)">https://en.wikipedia.org/wiki/Luma_(video)</a>
* @since 1.6
* @since 2
*/
public static float luma( Color color ) {
// see https://en.wikipedia.org/wiki/Luma_(video)