public final ObjectProperty<String> glyphNameProperty() { if (glyphName == null) { glyphName = new SimpleStyleableObjectProperty<>(StyleableProperties.GLYPH_NAME, GlyphIcon.this, "glyphName"); } return glyphName; }
/** * @return the icon property */ public ObjectProperty<FontIcon> iconProperty() { if (this.icon == null) { this.icon = new SimpleStyleableObjectProperty<FontIcon>(StyleableProperties.ICON, FontIcon.UNKNOWN); } return this.icon; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, GenericCloseButtonDialog.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, OpenPatricianSpinner.this, "font", Font.getDefault()); } return font; }
public final ObjectProperty<Number> glyphSizeProperty() { if (glyphSize == null) { glyphSize = new SimpleStyleableObjectProperty<>(StyleableProperties.GLYPH_SIZE, GlyphIcon.this, "glyphSize"); glyphSize.setValue(DEFAULT_ICON_SIZE); } return glyphSize; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, MeetingRoomDialog.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, HanseaticInfoDialog.this, "font", Font.getDefault()); } return font; }
/** * @return the icon property */ public ObjectProperty<FontIcon> iconProperty() { if (this.icon == null) { this.icon = new SimpleStyleableObjectProperty<FontIcon>(StyleableProperties.ICON, FontIcon.create('?')); } return this.icon; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, PublicNoticeDialog.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, OpenPatricianButton.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, OpenPatricianDialogInput.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, OpenPatricianSlider.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, DisplayMessageOverlayLabel.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, CityWallBuildingDialog.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, DecoratedText.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, AldermanOfficeDialog.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, OutriggerNoticeDialog.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Font> fontProperty() { if (font == null) { font = new SimpleStyleableObjectProperty<>(StyleableProperties.FONT, OpenPatricianWoodenTextInput.this, "font", Font.getDefault()); } return font; }
public StyleableObjectProperty<Paint> selectionBorderColorProperty() { if (selectionBorderColor == null) { selectionBorderColor = new SimpleStyleableObjectProperty<>( StyleableProperties.SELECTION_BORDER_COLOR, Window.this, "selectionBorderColor", new Color(0.3, 0.7, 1.0, 1.0)); } return selectionBorderColor; }
/** * Creates a StyleableObjectProperty instance that is parametrized by the given parameters. The returned property must be defined as a field in the given Styleable class. The property will be a <tt>SimpleStyleableObjectProperty</tt> * @param metaData The CssMetaData instance * @param styleable The styleable that contains the property field. Mostly this will be a JavaFX Control class * @param <S> Type of the Styleable * @param <V> value type of the property * @return a styleable property that can be used in a Styleable class like a Control * * @see SimpleStyleableObjectProperty */ public static <S extends Styleable, V> StyleableObjectProperty<V> createProperty(DefaultPropertyBasedCssMetaData<S, V> metaData, S styleable) { return new SimpleStyleableObjectProperty<V>(metaData, styleable, metaData.getPropertyName(), metaData.getInitialValue(styleable)); }