本文整理了Java中javafx.scene.control.Label.textFillProperty()
方法的一些代码示例,展示了Label.textFillProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Label.textFillProperty()
方法的具体详情如下:
包路径:javafx.scene.control.Label
类名称: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));
内容来源于网络,如有侵权,请联系作者删除!