Package com.jgoodies.looks
Class MicroLayoutPolicies
- java.lang.Object
-
- com.jgoodies.looks.MicroLayoutPolicies
-
public final class MicroLayoutPolicies extends java.lang.Object
Provides predefined MicroLayoutPolicy implementations.- Since:
- 2.1
- Version:
- $Revision: 1.8 $
- See Also:
MicroLayout
,MicroLayouts
,MicroLayoutPolicy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
MicroLayoutPolicies.DefaultPlasticPolicy
Implements the default font lookup for the Plastic L&f family when running in a Windows environment.private static class
MicroLayoutPolicies.DefaultWindowsPolicy
Implements the default font lookup on the Windows platform.
-
Constructor Summary
Constructors Modifier Constructor Description private
MicroLayoutPolicies()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MicroLayoutPolicy
getDefaultPlasticPolicy()
Returns the default MicroLayoutPolicy for the Plastic L&fs.static MicroLayoutPolicy
getDefaultWindowsPolicy()
Returns the default MicroLayoutPolicy for the Windows L&f.
-
-
-
Method Detail
-
getDefaultPlasticPolicy
public static MicroLayoutPolicy getDefaultPlasticPolicy()
Returns the default MicroLayoutPolicy for the Plastic L&fs. Uses component insets that are similar to the Windows L&f micro layout, making it easier to- Returns:
- a Windows-like micro layout policy for the Plastic L&fs
-
getDefaultWindowsPolicy
public static MicroLayoutPolicy getDefaultWindowsPolicy()
Returns the default MicroLayoutPolicy for the Windows L&f. It aims to describe component insets that follow the native guidelines.- Returns:
- the default micro layout policy for the Windows platform.
-
-