Skip to content

Commit

Permalink
added since 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DevCharly committed Mar 21, 2021
1 parent b84dc5b commit 2945a36
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 2 deletions.
3 changes: 3 additions & 0 deletions flatlaf-core/src/main/java/com/formdev/flatlaf/FlatLaf.java
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,9 @@ static FontUIResource createCompositeFont( String family, int style, int size )
return (font instanceof FontUIResource) ? (FontUIResource) font : new FontUIResource( font );
}

/**
* @since 1.1
*/
public static ActiveValue createActiveFontValue( float scaleFactor ) {
return new ActiveFont( scaleFactor );
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* Support for custom window decorations with native window border.
*
* @author Karl Tauber
* @since 1.1
*/
public class FlatNativeWindowBorder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,9 @@ protected Border getMenuBarBorder() {

//---- class FlatTitleLabelUI ---------------------------------------------

/**
* @since 1.1
*/
protected class FlatTitleLabelUI
extends FlatLabelUI
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ public static Color getUIColor( String key, String defaultKey ) {
return (color != null) ? color : UIManager.getColor( defaultKey );
}

/**
* @since 1.1
*/
public static boolean getUIBoolean( String key, boolean defaultValue ) {
Object value = UIManager.get( key );
return (value instanceof Boolean) ? (Boolean) value : defaultValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
* https://support.microsoft.com/en-us/windows/snap-your-windows-885a9b1e-a983-a3b1-16cd-c531795e6241
*
* @author Karl Tauber
* @since 1.1
*/
class FlatWindowsNativeWindowBorder
implements FlatNativeWindowBorder.Provider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

package com.formdev.flatlaf.util;

/**
* @since 1.1
*/
public interface LoggingFacade
{
LoggingFacade INSTANCE = new LoggingFacadeImpl();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
import java.util.logging.Level;
import java.util.logging.Logger;

/**
* @since 1.1
*/
class LoggingFacadeImpl
implements LoggingFacade
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* Copies native library to users temporary folder before loading it.
*
* @author Karl Tauber
* @since 1.1
*/
public class NativeLibrary
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class SystemInfo
public static final boolean isMacOS_10_15_Catalina_orLater;

// OS architecture
public static final boolean isX86_64;
/** @since 1.1 */ public static final boolean isX86_64;

// Java versions
public static final long javaVersion;
Expand All @@ -55,7 +55,7 @@ public class SystemInfo
public static final boolean isKDE;

// other
public static final boolean isProjector;
/** @since 1.1 */ public static final boolean isProjector;

static {
// platforms
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

import com.formdev.flatlaf.FlatLaf;

/**
* @since 1.1
*/
class LoggingFacadeImpl
implements LoggingFacade
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* Provides the Flat LaF UI delegate for {@link com.jidesoft.swing.JideButton}.
*
* @author Karl Tauber
* @since 1.1
*/
public class FlatJideButtonUI
extends BasicJideButtonUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* Provides the Flat LaF UI delegate for {@link com.jidesoft.swing.JideLabel}.
*
* @author Karl Tauber
* @since 1.1
*/
public class FlatJideLabelUI
extends BasicJideLabelUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

/**
* @author Karl Tauber
* @since 1.1
*/
public class FlatJidePainter
extends BasicPainter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* Provides the Flat LaF UI delegate for {@link com.jidesoft.swing.JideSplitButton}.
*
* @author Karl Tauber
* @since 1.1
*/
public class FlatJideSplitButtonUI
extends BasicJideSplitButtonUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
* https://support.microsoft.com/en-us/windows/snap-your-windows-885a9b1e-a983-a3b1-16cd-c531795e6241
*
* @author Karl Tauber
* @since 1.1
*/
public class FlatWindowsNativeWindowBorder
implements FlatNativeWindowBorder.Provider
Expand Down

0 comments on commit 2945a36

Please sign in to comment.