- java.lang.Object
-
- javafx.css.StyleConverter<String,String>
-
- javafx.css.converter.StringConverter
-
public final class StringConverter extends StyleConverter<String,String>
字符串类型转换嵌入式unicode字符- 从以下版本开始:
- 9
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 描述 static classStringConverter.SequenceConverter-
Nested classes/interfaces inherited from class javafx.css.StyleConverter
StyleConverter.StringStore
-
-
方法摘要
所有方法 静态方法 接口方法 具体的方法 Modifier and Type 方法 描述 Stringconvert(ParsedValue<String,String> value, Font font)从解析的CSS值转换为目标属性类型。static StyleConverter<String,String>getInstance()StringtoString()返回对象的字符串表示形式。-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class javafx.css.StyleConverter
cacheValue, clearCache, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter, readBinary, writeBinary
-
-
-
-
方法详细信息
-
getInstance
public static StyleConverter<String,String> getInstance()
-
convert
public String convert(ParsedValue<String,String> value, Font font)
说明从类别复制:StyleConverter从解析的CSS值转换为目标属性类型。- 重写:
-
convert在StyleConverter<String,String> - 参数
-
value- 要转换的ParsedValue -
font- 转换relative时使用的Font。 - 结果
- 转换的目标属性类型
-
-