Top Inners Constructors Methods
org.kordamp.ikonli.javafx

public Class FontIconConverter

extends StyleConverter<String, Ikon>
Class Inheritance
Imports
javafx.css.ParsedValue, .StyleConverter, javafx.scene.text.Font, org.kordamp.ikonli.Ikon

Author
Andres Almiray

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
public static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Ikon
convert(ParsedValue<String, Ikon>
The ParsedValue to convert
value
,
Font
The Font to use when converting a relative value.
font
)

Overrides javafx.css.StyleConverter.convert.

Convert from the parsed CSS value to the target property type.

public static StyleConverter<String, Ikon>
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Constructor Detail

FontIconConverterback to summary
private FontIconConverter()

Method Detail

convertback to summary
public Ikon convert(ParsedValue<String, Ikon> value, Font font)

Overrides javafx.css.StyleConverter.convert.

Doc from javafx.css.StyleConverter.convert.

Convert from the parsed CSS value to the target property type.

Parameters
value:ParsedValue<String, Ikon>

The ParsedValue to convert

font:Font

The Font to use when converting a relative value.

Returns:Ikon

the converted target property type

Annotations
@Override
getInstanceback to summary
public static StyleConverter<String, Ikon> getInstance()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
org.kordamp.ikonli.javafx back to summary

private Class FontIconConverter.Holder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final FontIconConverter
pack-priv static final FontIconConverter.SequenceConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
pack-priv static final FontIconConverter INSTANCE
SEQUENCE_INSTANCEback to summary
pack-priv static final FontIconConverter.SequenceConverter SEQUENCE_INSTANCE

Constructor Detail

Holderback to summary
private Holder()
org.kordamp.ikonli.javafx back to summary

public final Class FontIconConverter.SequenceConverter

extends StyleConverter<String, Ikon[]>
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Ikon[]
convert(ParsedValue<String, Ikon[]>
The ParsedValue to convert
value
,
Font
The Font to use when converting a relative value.
font
)

Overrides javafx.css.StyleConverter.convert.

Convert from the parsed CSS value to the target property type.

public static FontIconConverter.SequenceConverter
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Constructor Detail

SequenceConverterback to summary
private SequenceConverter()

Method Detail

convertback to summary
public Ikon[] convert(ParsedValue<String, Ikon[]> value, Font font)

Overrides javafx.css.StyleConverter.convert.

Doc from javafx.css.StyleConverter.convert.

Convert from the parsed CSS value to the target property type.

Parameters
value:ParsedValue<String, Ikon[]>

The ParsedValue to convert

font:Font

The Font to use when converting a relative value.

Returns:Ikon[]

the converted target property type

Annotations
@Override
getInstanceback to summary
public static FontIconConverter.SequenceConverter getInstance()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override