mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-16 00:37:11 -06:00
behaviour --> behavior
This commit is contained in:
@@ -165,7 +165,7 @@ public interface FlatClientProperties
|
|||||||
* The rule "Button.primary" can be applied to buttons only.
|
* The rule "Button.primary" can be applied to buttons only.
|
||||||
* The rule ".secondary" can be applied to any component.
|
* The rule ".secondary" can be applied to any component.
|
||||||
* <p>
|
* <p>
|
||||||
* To have similar behaviour as in CSS, first the rule without type is applied,
|
* To have similar behavior as in CSS, first the rule without type is applied,
|
||||||
* then the rule with type.
|
* then the rule with type.
|
||||||
* E.g. setting style class to "foo" on a {@code JButton} uses rules
|
* E.g. setting style class to "foo" on a {@code JButton} uses rules
|
||||||
* from UI default keys "[style].foo" and "[style]Button.foo".
|
* from UI default keys "[style].foo" and "[style]Button.foo".
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ public class FlatStylingSupport
|
|||||||
* The rule "Button.primary" can be applied to buttons only.
|
* The rule "Button.primary" can be applied to buttons only.
|
||||||
* The rule ".secondary" can be applied to any component.
|
* The rule ".secondary" can be applied to any component.
|
||||||
* <p>
|
* <p>
|
||||||
* To have similar behaviour as in CSS, this method first gets the rule without type,
|
* To have similar behavior as in CSS, this method first gets the rule without type,
|
||||||
* then the rule with type and concatenates both rules.
|
* then the rule with type and concatenates both rules.
|
||||||
* E.g. invoking this method with parameters styleClass="foo" and type="Button" does following:
|
* E.g. invoking this method with parameters styleClass="foo" and type="Button" does following:
|
||||||
* <pre>{@code
|
* <pre>{@code
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ debug*/
|
|||||||
// - not opaque and
|
// - not opaque and
|
||||||
// - border is not a flat border and
|
// - border is not a flat border and
|
||||||
// - opaque was explicitly set (to false)
|
// - opaque was explicitly set (to false)
|
||||||
// (same behaviour as in AquaTextFieldUI)
|
// (same behavior as in AquaTextFieldUI)
|
||||||
if( !c.isOpaque() && FlatUIUtils.getOutsideFlatBorder( c ) == null && FlatUIUtils.hasOpaqueBeenExplicitlySet( c ) )
|
if( !c.isOpaque() && FlatUIUtils.getOutsideFlatBorder( c ) == null && FlatUIUtils.hasOpaqueBeenExplicitlySet( c ) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user