<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_77) on Fri Apr 22 13:47:02 UTC 2016 --> <title>Uses of Class javafx.scene.text.Font (JavaFX 8)</title> <meta name="date" content="2016-04-22"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class javafx.scene.text.Font (JavaFX 8)"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?javafx/scene/text/class-use/Font.html" target="_top">Frames</a></li> <li><a href="Font.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Class javafx.scene.text.Font" class="title">Uses of Class<br>javafx.scene.text.Font</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#javafx.css">javafx.css</a></td> <td class="colLast"> <div class="block">Provides API for making properties styleable via CSS and for supporting pseudo-class state.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#javafx.scene.canvas">javafx.scene.canvas</a></td> <td class="colLast"> <div class="block">Provides the set of classes for canvas, an immediate mode style of rendering API.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="#javafx.scene.chart">javafx.scene.chart</a></td> <td class="colLast"> <div class="block">The JavaFX User Interface provides a set of chart components that are a very convenient way for data visualization.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#javafx.scene.control">javafx.scene.control</a></td> <td class="colLast"> <div class="block">The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><a href="#javafx.scene.text">javafx.scene.text</a></td> <td class="colLast"> <div class="block">Provides the set of classes for fonts and renderable Text Node.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="javafx.css"> <!-- --> </a> <h3>Uses of <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> in <a href="../../../../javafx/css/package-summary.html">javafx.css</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/css/package-summary.html">javafx.css</a> that return types with arguments of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createFontCssMetaData-java.lang.String-java.util.function.Function-">createFontCssMetaData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function)</code> <div class="block">Create a CssMetaData<S, Font> with initial value of <a href="../../../../javafx/scene/text/Font.html#getDefault--"><code>getDefault()</code></a>, and inherit flag defaulting to true.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createFontCssMetaData-java.lang.String-java.util.function.Function-javafx.scene.text.Font-">createFontCssMetaData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue)</code> <div class="block">Create a CssMetaData<S, Font> with initial value, and inherit flag defaulting to true.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createFontCssMetaData-java.lang.String-java.util.function.Function-javafx.scene.text.Font-boolean-">createFontCssMetaData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue, boolean inherits)</code> <div class="block">Create a CssMetaData<S, Font> with initial value, and inherit flag.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createStyleableFontProperty-S-java.lang.String-java.lang.String-">createStyleableFontProperty</a></span>(<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a> styleable, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertyName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cssProperty)</code> <div class="block">Create a StyleableProperty<Font> using previously created CssMetaData for the given <code>cssProperty</code>.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createStyleableFontProperty-S-java.lang.String-java.lang.String-java.util.function.Function-">createStyleableFontProperty</a></span>(<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a> styleable, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertyName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cssProperty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function)</code> <div class="block">Create a StyleableProperty<Font>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createStyleableFontProperty-S-java.lang.String-java.lang.String-java.util.function.Function-javafx.scene.text.Font-">createStyleableFontProperty</a></span>(<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a> styleable, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertyName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cssProperty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue)</code> <div class="block">Create a StyleableProperty<Font> with initial value.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createStyleableFontProperty-S-java.lang.String-java.lang.String-java.util.function.Function-javafx.scene.text.Font-boolean-">createStyleableFontProperty</a></span>(<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a> styleable, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertyName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cssProperty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue, boolean inherits)</code> <div class="block">Create a StyleableProperty<Font> with initial value and inherit flag.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../javafx/css/StyleConverter.html" title="class in javafx.css">StyleConverter</a><<a href="../../../../javafx/css/ParsedValue.html" title="class in javafx.css">ParsedValue</a>[],<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleConverter.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleConverter.html#getFontConverter--">getFontConverter</a></span>()</code> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/css/package-summary.html">javafx.css</a> with parameters of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/ParsedValue.html" title="type parameter in ParsedValue">T</a></code></td> <td class="colLast"><span class="typeNameLabel">ParsedValue.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/ParsedValue.html#convert-javafx.scene.text.Font-">convert</a></span>(<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> font)</code> <div class="block">Convenience method for calling <a href="../../../../javafx/css/StyleConverter.html#convert-javafx.css.ParsedValue-javafx.scene.text.Font-"><code>convert</code></a> on this <code>ParsedValue</code>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleConverter.html" title="type parameter in StyleConverter">T</a></code></td> <td class="colLast"><span class="typeNameLabel">StyleConverter.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleConverter.html#convert-javafx.css.ParsedValue-javafx.scene.text.Font-">convert</a></span>(<a href="../../../../javafx/css/ParsedValue.html" title="class in javafx.css">ParsedValue</a><<a href="../../../../javafx/css/StyleConverter.html" title="type parameter in StyleConverter">F</a>,<a href="../../../../javafx/css/StyleConverter.html" title="type parameter in StyleConverter">T</a>> value, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> font)</code> <div class="block">Convert from the parsed CSS value to the target property type.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createFontCssMetaData-java.lang.String-java.util.function.Function-javafx.scene.text.Font-">createFontCssMetaData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue)</code> <div class="block">Create a CssMetaData<S, Font> with initial value, and inherit flag defaulting to true.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createFontCssMetaData-java.lang.String-java.util.function.Function-javafx.scene.text.Font-boolean-">createFontCssMetaData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue, boolean inherits)</code> <div class="block">Create a CssMetaData<S, Font> with initial value, and inherit flag.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createStyleableFontProperty-S-java.lang.String-java.lang.String-java.util.function.Function-javafx.scene.text.Font-">createStyleableFontProperty</a></span>(<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a> styleable, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertyName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cssProperty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue)</code> <div class="block">Create a StyleableProperty<Font> with initial value.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createStyleableFontProperty-S-java.lang.String-java.lang.String-java.util.function.Function-javafx.scene.text.Font-boolean-">createStyleableFontProperty</a></span>(<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a> styleable, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertyName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cssProperty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue, boolean inherits)</code> <div class="block">Create a StyleableProperty<Font> with initial value and inherit flag.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Method parameters in <a href="../../../../javafx/css/package-summary.html">javafx.css</a> with type arguments of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createFontCssMetaData-java.lang.String-java.util.function.Function-">createFontCssMetaData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function)</code> <div class="block">Create a CssMetaData<S, Font> with initial value of <a href="../../../../javafx/scene/text/Font.html#getDefault--"><code>getDefault()</code></a>, and inherit flag defaulting to true.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createFontCssMetaData-java.lang.String-java.util.function.Function-javafx.scene.text.Font-">createFontCssMetaData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue)</code> <div class="block">Create a CssMetaData<S, Font> with initial value, and inherit flag defaulting to true.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/CssMetaData.html" title="class in javafx.css">CssMetaData</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createFontCssMetaData-java.lang.String-java.util.function.Function-javafx.scene.text.Font-boolean-">createFontCssMetaData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue, boolean inherits)</code> <div class="block">Create a CssMetaData<S, Font> with initial value, and inherit flag.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createStyleableFontProperty-S-java.lang.String-java.lang.String-java.util.function.Function-">createStyleableFontProperty</a></span>(<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a> styleable, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertyName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cssProperty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function)</code> <div class="block">Create a StyleableProperty<Font>.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createStyleableFontProperty-S-java.lang.String-java.lang.String-java.util.function.Function-javafx.scene.text.Font-">createStyleableFontProperty</a></span>(<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a> styleable, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertyName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cssProperty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue)</code> <div class="block">Create a StyleableProperty<Font> with initial value.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">StyleablePropertyFactory.</span><code><span class="memberNameLink"><a href="../../../../javafx/css/StyleablePropertyFactory.html#createStyleableFontProperty-S-java.lang.String-java.lang.String-java.util.function.Function-javafx.scene.text.Font-boolean-">createStyleableFontProperty</a></span>(<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a> styleable, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertyName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cssProperty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../javafx/css/StyleablePropertyFactory.html" title="type parameter in StyleablePropertyFactory">S</a>,<a href="../../../../javafx/css/StyleableProperty.html" title="interface in javafx.css">StyleableProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>>> function, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initialValue, boolean inherits)</code> <div class="block">Create a StyleableProperty<Font> with initial value and inherit flag.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../javafx/css/package-summary.html">javafx.css</a> with parameters of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../javafx/css/FontCssMetaData.html#FontCssMetaData-java.lang.String-javafx.scene.text.Font-">FontCssMetaData</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> property, <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> initial)</code> <div class="block">The property name is concatenated with "-weight", "-style", "-family" and "-size" to create the sub-properties.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="javafx.scene.canvas"> <!-- --> </a> <h3>Uses of <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> in <a href="../../../../javafx/scene/canvas/package-summary.html">javafx.scene.canvas</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/canvas/package-summary.html">javafx.scene.canvas</a> that return <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">GraphicsContext.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/canvas/GraphicsContext.html#getFont--">getFont</a></span>()</code> <div class="block">Gets the current Font.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/canvas/package-summary.html">javafx.scene.canvas</a> with parameters of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">GraphicsContext.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/canvas/GraphicsContext.html#setFont-javafx.scene.text.Font-">setFont</a></span>(<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> f)</code> <div class="block">Sets the current Font.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="javafx.scene.chart"> <!-- --> </a> <h3>Uses of <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> in <a href="../../../../javafx/scene/chart/package-summary.html">javafx.scene.chart</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/chart/package-summary.html">javafx.scene.chart</a> that return <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Axis.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/chart/Axis.html#getTickLabelFont--">getTickLabelFont</a></span>()</code> <div class="block">Gets the value of the property tickLabelFont.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/chart/package-summary.html">javafx.scene.chart</a> that return types with arguments of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">Axis.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/chart/Axis.html#tickLabelFontProperty--">tickLabelFontProperty</a></span>()</code> <div class="block">The font for all tick labels</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/chart/package-summary.html">javafx.scene.chart</a> with parameters of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Axis.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/chart/Axis.html#setTickLabelFont-javafx.scene.text.Font-">setTickLabelFont</a></span>(<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> value)</code> <div class="block">Sets the value of the property tickLabelFont.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="javafx.scene.control"> <!-- --> </a> <h3>Uses of <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> in <a href="../../../../javafx/scene/control/package-summary.html">javafx.scene.control</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/control/package-summary.html">javafx.scene.control</a> that return <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Labeled.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/control/Labeled.html#getFont--">getFont</a></span>()</code> <div class="block">Gets the value of the property font.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">TextInputControl.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/control/TextInputControl.html#getFont--">getFont</a></span>()</code> <div class="block">Gets the value of the property font.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Tooltip.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/control/Tooltip.html#getFont--">getFont</a></span>()</code> <div class="block">Gets the value of the property font.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/control/package-summary.html">javafx.scene.control</a> that return types with arguments of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">Labeled.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/control/Labeled.html#fontProperty--">fontProperty</a></span>()</code> <div class="block">The default font to use for text in the Labeled.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">TextInputControl.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/control/TextInputControl.html#fontProperty--">fontProperty</a></span>()</code> <div class="block">The default font to use for text in the TextInputControl.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">Tooltip.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/control/Tooltip.html#fontProperty--">fontProperty</a></span>()</code> <div class="block">The default font to use for text in the Tooltip.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/control/package-summary.html">javafx.scene.control</a> with parameters of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Labeled.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/control/Labeled.html#setFont-javafx.scene.text.Font-">setFont</a></span>(<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> value)</code> <div class="block">Sets the value of the property font.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">TextInputControl.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/control/TextInputControl.html#setFont-javafx.scene.text.Font-">setFont</a></span>(<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> value)</code> <div class="block">Sets the value of the property font.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Tooltip.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/control/Tooltip.html#setFont-javafx.scene.text.Font-">setFont</a></span>(<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> value)</code> <div class="block">Sets the value of the property font.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="javafx.scene.text"> <!-- --> </a> <h3>Uses of <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> in <a href="../../../../javafx/scene/text/package-summary.html">javafx.scene.text</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/text/package-summary.html">javafx.scene.text</a> that return <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#font-double-">font</a></span>(double size)</code> <div class="block">Searches for an appropriate font based on the default font family name and given font size.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#font-java.lang.String-">font</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> family)</code> <div class="block">Searches for an appropriate font based on the given font family name and default font size.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#font-java.lang.String-double-">font</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> family, double size)</code> <div class="block">Searches for an appropriate font based on the font family name and size.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#font-java.lang.String-javafx.scene.text.FontPosture-double-">font</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> family, <a href="../../../../javafx/scene/text/FontPosture.html" title="enum in javafx.scene.text">FontPosture</a> posture, double size)</code> <div class="block">Searches for an appropriate font based on the font family name and posture style.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#font-java.lang.String-javafx.scene.text.FontWeight-double-">font</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> family, <a href="../../../../javafx/scene/text/FontWeight.html" title="enum in javafx.scene.text">FontWeight</a> weight, double size)</code> <div class="block">Searches for an appropriate font based on the font family name and weight style.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#font-java.lang.String-javafx.scene.text.FontWeight-javafx.scene.text.FontPosture-double-">font</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> family, <a href="../../../../javafx/scene/text/FontWeight.html" title="enum in javafx.scene.text">FontWeight</a> weight, <a href="../../../../javafx/scene/text/FontPosture.html" title="enum in javafx.scene.text">FontPosture</a> posture, double size)</code> <div class="block">Searches for an appropriate font based on the font family name and weight and posture style.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#getDefault--">getDefault</a></span>()</code> <div class="block">Gets the default font which will be from the family "System", and typically the style "Regular", and be of a size consistent with the user's desktop environment, to the extent that can be determined.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Text.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Text.html#getFont--">getFont</a></span>()</code> <div class="block">Gets the value of the property font.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#impl_NativeFont-java.lang.Object-java.lang.String-java.lang.String-java.lang.String-double-">impl_NativeFont</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> f, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> family, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> style, double size)</code> <div class="block"><span class="deprecatedLabel">Deprecated.</span> <div class="block"><span class="deprecationComment">This is an internal API that is not intended for use and will be removed in the next version</span></div> </div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#loadFont-java.io.InputStream-double-">loadFont</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in, double size)</code> <div class="block">Loads a font resource from the specified input stream.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></code></td> <td class="colLast"><span class="typeNameLabel">Font.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Font.html#loadFont-java.lang.String-double-">loadFont</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> urlStr, double size)</code> <div class="block">Loads a font resource from the specified URL.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/text/package-summary.html">javafx.scene.text</a> that return types with arguments of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a>></code></td> <td class="colLast"><span class="typeNameLabel">Text.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Text.html#fontProperty--">fontProperty</a></span>()</code> <div class="block">Defines the font of text.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../javafx/scene/text/package-summary.html">javafx.scene.text</a> with parameters of type <a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a></span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Text.</span><code><span class="memberNameLink"><a href="../../../../javafx/scene/text/Text.html#setFont-javafx.scene.text.Font-">setFont</a></span>(<a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Font</a> value)</code> <div class="block">Sets the value of the property font.</div> </td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../javafx/scene/text/Font.html" title="class in javafx.scene.text">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../index.html?javafx/scene/text/class-use/Font.html" target="_top">Frames</a></li> <li><a href="Font.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><small><a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html">Copyright</a> (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.</small></small></p> </body> </html>