本文整理了Java中javafx.scene.layout.Region.layoutXProperty
方法的一些代码示例,展示了Region.layoutXProperty
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Region.layoutXProperty
方法的具体详情如下:
包路径:javafx.scene.layout.Region
类名称:Region
方法名:layoutXProperty
暂无
代码示例来源:origin: jfoenixadmin/JFoenix
new KeyValue(child.layoutXProperty(), blockX, Interpolator.LINEAR),
new KeyValue(child.layoutYProperty(), blockY, Interpolator.LINEAR));
animationMap.put(child, new CachedTransition(child, new Timeline(keyFrame)) {{
new KeyValue(child.layoutXProperty(), blockX, Interpolator.LINEAR),
new KeyValue(child.layoutYProperty(), blockY, Interpolator.LINEAR));
animationMap.put(child, new CachedTransition(child, new Timeline(keyFrame)) {{
代码示例来源:origin: jfoenixadmin/JFoenix
.bind(Bindings.createDoubleBinding(() -> toggleNode.getLayoutX() + toggleNode.getWidth() / 2,
toggleNode.widthProperty(),
toggleNode.layoutXProperty()));
newVal.layoutYProperty()
.bind(Bindings.createDoubleBinding(() -> toggleNode.getLayoutY() + toggleNode.getHeight() / 2,
代码示例来源:origin: com.jfoenix/jfoenix
new KeyValue(child.layoutXProperty(), blockX, Interpolator.LINEAR),
new KeyValue(child.layoutYProperty(), blockY, Interpolator.LINEAR));
animationMap.put(child, new CachedTransition(child, new Timeline(keyFrame)) {{
new KeyValue(child.layoutXProperty(), blockX, Interpolator.LINEAR),
new KeyValue(child.layoutYProperty(), blockY, Interpolator.LINEAR));
animationMap.put(child, new CachedTransition(child, new Timeline(keyFrame)) {{
代码示例来源:origin: com.jfoenix/jfoenix
.bind(Bindings.createDoubleBinding(() -> toggleNode.getLayoutX() + toggleNode.getWidth() / 2,
toggleNode.widthProperty(),
toggleNode.layoutXProperty()));
newVal.layoutYProperty()
.bind(Bindings.createDoubleBinding(() -> toggleNode.getLayoutY() + toggleNode.getHeight() / 2,
内容来源于网络,如有侵权,请联系作者删除!