mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Accent color: changed javadoc since version from 1.6 to 2
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user