javafx.scene.control.Label.textFillProperty()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(161)

本文整理了Java中javafx.scene.control.Label.textFillProperty()方法的一些代码示例,展示了Label.textFillProperty()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.textFillProperty()方法的具体详情如下:
包路径:javafx.scene.control.Label
类名称:Label
方法名:textFillProperty

Label.textFillProperty介绍

暂无

代码示例

代码示例来源:origin: jfoenixadmin/JFoenix

updateColor();
final JFXRippler rippler = new JFXRippler(colorBox, JFXRippler.RipplerMask.FIT);
rippler.ripplerFillProperty().bind(displayNode.textFillProperty());
getChildren().setAll(rippler);
JFXDepthManager.setDepth(getSkinnable(), 1);

代码示例来源:origin: jfoenixadmin/JFoenix

} else if (getChildren().get(i) instanceof Label) {
  buttonRippler.setRipplerFill(((Label) getChildren().get(i)).getTextFill());
  ((Label) getChildren().get(i)).textFillProperty()
    .addListener((o, oldVal, newVal) -> buttonRippler.setRipplerFill(
      newVal));

代码示例来源:origin: jfoenixadmin/JFoenix

0,
  Interpolator.EASE_BOTH),
new KeyValue(selectedYearLabel.textFillProperty(),
  Color.WHITE,
  Interpolator.EASE_BOTH),
new KeyValue(selectedDateLabel.textFillProperty(),
  Color.rgb(255, 255, 255, 0.67),
  Interpolator.EASE_BOTH)))) {
  1,
  Interpolator.EASE_BOTH),
new KeyValue(selectedDateLabel.textFillProperty(),
  Color.WHITE,
  Interpolator.EASE_BOTH),
new KeyValue(selectedYearLabel.textFillProperty(),
  Color.rgb(255, 255, 255, 0.67),
  Interpolator.EASE_BOTH)))) {

代码示例来源:origin: org.controlsfx/controlsfx

FilterValue(R value, ColumnFilter<T,R> columnFilter) {
  this.value = value;
  this.columnFilter = columnFilter;
  final CheckBox checkBox = new CheckBox();
  final Label label = new Label();
  label.setText(Optional.ofNullable(value).map(Object::toString).orElse(null));
  scopeListener = (Observable v) -> label.textFillProperty().set(getInScopeProperty().get() ? Color.BLACK : Color.LIGHTGRAY);
  inScope.addListener(new WeakInvalidationListener(scopeListener));
  checkBox.selectedProperty().bindBidirectional(selectedProperty());
  getChildren().addAll(checkBox,label);
}

代码示例来源:origin: com.jfoenix/jfoenix

updateColor();
final JFXRippler rippler = new JFXRippler(colorBox, JFXRippler.RipplerMask.FIT);
rippler.ripplerFillProperty().bind(displayNode.textFillProperty());
getChildren().setAll(rippler);
JFXDepthManager.setDepth(getSkinnable(), 1);

代码示例来源:origin: com.jfoenix/jfoenix

0,
  Interpolator.EASE_BOTH),
new KeyValue(selectedYearLabel.textFillProperty(),
  Color.WHITE,
  Interpolator.EASE_BOTH),
new KeyValue(selectedDateLabel.textFillProperty(),
  Color.rgb(255, 255, 255, 0.67),
  Interpolator.EASE_BOTH)))) {
  1,
  Interpolator.EASE_BOTH),
new KeyValue(selectedDateLabel.textFillProperty(),
  Color.WHITE,
  Interpolator.EASE_BOTH),
new KeyValue(selectedYearLabel.textFillProperty(),
  Color.rgb(255, 255, 255, 0.67),
  Interpolator.EASE_BOTH)))) {

代码示例来源:origin: com.jfoenix/jfoenix

} else if (getChildren().get(i) instanceof Label) {
  buttonRippler.setRipplerFill(((Label) getChildren().get(i)).getTextFill());
  ((Label) getChildren().get(i)).textFillProperty()
    .addListener((o, oldVal, newVal) -> buttonRippler.setRipplerFill(
      newVal));

相关文章