You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2021/01/14 16:56:58 UTC

svn commit: r1885491 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java

Author: rwhitcomb
Date: Thu Jan 14 16:56:57 2021
New Revision: 1885491

URL: http://svn.apache.org/viewvc?rev=1885491&view=rev
Log:
PIVOT-1051: Update some documentation around "decodeFont".

Modified:
    pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java?rev=1885491&r1=1885490&r2=1885491&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java Thu Jan 14 16:56:57 2021
@@ -401,7 +401,9 @@ public abstract class ComponentSkin impl
      *
      * @param value Either a JSON dictionary {@link Theme#deriveFont describing
      * a font relative to the current theme}, or one of the
-     * {@link Font#decode(String) standard Java font specifications}.
+     * {@link Font#decode(String) standard Java font specifications}, with the
+     * additional capability of supplying a list of font names (comma-separated)
+     * (similar to CSS) if desired.
      * @return The font corresponding to the specification.
      * @throws IllegalArgumentException if the given string is {@code null}
      * or empty or the font specification cannot be decoded.