public abstract class FontCssMetaData<S extends Styleable> extends CssMetaData<S,Font>
Constructor and Description |
---|
FontCssMetaData(String property,
Font initial)
The property name is concatenated with "-weight",
"-style", "-family" and "-size" to
create the sub-properties.
|
equals, getConverter, getInitialValue, getProperty, getStyleableProperty, getSubProperties, hashCode, isInherits, isSettable, set, toString
public FontCssMetaData(String property, Font initial)
new FontCssMetaData<Text>("-fx-font", Font.getDefault());
will create a CssMetaData for "-fx-font" with
sub-properties: "-fx-font-weight",
"-fx-font-style", "-fx-font-family"
and "-fx-font-size"property
- initial
- Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.