mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
added since 1.1
This commit is contained in:
@@ -499,6 +499,9 @@ public abstract class FlatLaf
|
||||
return (font instanceof FontUIResource) ? (FontUIResource) font : new FontUIResource( font );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.1
|
||||
*/
|
||||
public static ActiveValue createActiveFontValue( float scaleFactor ) {
|
||||
return new ActiveFont( scaleFactor );
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ import com.formdev.flatlaf.util.SystemInfo;
|
||||
* Support for custom window decorations with native window border.
|
||||
*
|
||||
* @author Karl Tauber
|
||||
* @since 1.1
|
||||
*/
|
||||
public class FlatNativeWindowBorder
|
||||
{
|
||||
|
||||
@@ -815,6 +815,9 @@ debug*/
|
||||
|
||||
//---- class FlatTitleLabelUI ---------------------------------------------
|
||||
|
||||
/**
|
||||
* @since 1.1
|
||||
*/
|
||||
protected class FlatTitleLabelUI
|
||||
extends FlatLabelUI
|
||||
{
|
||||
|
||||
@@ -122,6 +122,9 @@ public class FlatUIUtils
|
||||
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;
|
||||
|
||||
@@ -62,6 +62,7 @@ import com.formdev.flatlaf.util.SystemInfo;
|
||||
* 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
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
|
||||
package com.formdev.flatlaf.util;
|
||||
|
||||
/**
|
||||
* @since 1.1
|
||||
*/
|
||||
public interface LoggingFacade
|
||||
{
|
||||
LoggingFacade INSTANCE = new LoggingFacadeImpl();
|
||||
|
||||
@@ -20,6 +20,9 @@ import com.formdev.flatlaf.FlatLaf;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* @since 1.1
|
||||
*/
|
||||
class LoggingFacadeImpl
|
||||
implements LoggingFacade
|
||||
{
|
||||
|
||||
@@ -31,6 +31,7 @@ import java.nio.file.StandardCopyOption;
|
||||
* Copies native library to users temporary folder before loading it.
|
||||
*
|
||||
* @author Karl Tauber
|
||||
* @since 1.1
|
||||
*/
|
||||
public class NativeLibrary
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
@@ -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
|
||||
|
||||
@@ -18,6 +18,9 @@ package com.formdev.flatlaf.util;
|
||||
|
||||
import com.formdev.flatlaf.FlatLaf;
|
||||
|
||||
/**
|
||||
* @since 1.1
|
||||
*/
|
||||
class LoggingFacadeImpl
|
||||
implements LoggingFacade
|
||||
{
|
||||
|
||||
@@ -25,6 +25,7 @@ import com.jidesoft.plaf.basic.BasicJideButtonUI;
|
||||
* Provides the Flat LaF UI delegate for {@link com.jidesoft.swing.JideButton}.
|
||||
*
|
||||
* @author Karl Tauber
|
||||
* @since 1.1
|
||||
*/
|
||||
public class FlatJideButtonUI
|
||||
extends BasicJideButtonUI
|
||||
|
||||
@@ -31,6 +31,7 @@ import com.jidesoft.plaf.basic.BasicJideLabelUI;
|
||||
* Provides the Flat LaF UI delegate for {@link com.jidesoft.swing.JideLabel}.
|
||||
*
|
||||
* @author Karl Tauber
|
||||
* @since 1.1
|
||||
*/
|
||||
public class FlatJideLabelUI
|
||||
extends BasicJideLabelUI
|
||||
|
||||
@@ -34,6 +34,7 @@ import com.jidesoft.swing.JideSplitButton;
|
||||
|
||||
/**
|
||||
* @author Karl Tauber
|
||||
* @since 1.1
|
||||
*/
|
||||
public class FlatJidePainter
|
||||
extends BasicPainter
|
||||
|
||||
@@ -40,6 +40,7 @@ import com.jidesoft.swing.JideSwingUtilities;
|
||||
* Provides the Flat LaF UI delegate for {@link com.jidesoft.swing.JideSplitButton}.
|
||||
*
|
||||
* @author Karl Tauber
|
||||
* @since 1.1
|
||||
*/
|
||||
public class FlatJideSplitButtonUI
|
||||
extends BasicJideSplitButtonUI
|
||||
|
||||
@@ -84,6 +84,7 @@ import com.sun.jna.win32.W32APIOptions;
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user