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 property will be a <tt>SimpleStyleableObjectProperty</tt>. The returned property must be defined as a field in the Skin class of the given Control class. * @param metaData The CssMetaData instance * @param skin The Skin that contains the property field. * @param <S> Type of the Control * @param <V> value type of the property * @return a styleable property that can be used in the Skin of a Control * * @see SimpleStyleableObjectProperty */ public static <S extends Control, V> StyleableObjectProperty<V> createProperty(SkinPropertyBasedCssMetaData<S, V> metaData, SkinBase<S> skin) { return new SimpleStyleableObjectProperty<V>(metaData, skin, metaData.getPropertyName(), metaData.getInitialValue(skin.getSkinnable())); }