Spec-Zone .ru
спецификации, руководства, описания, API
|
private static class FXMLLoader.ExpressionTargetMapping extends java.lang.Object implements ChangeListener<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
path |
com.sun.javafx.fxml.expression.Expression |
source |
java.lang.Object |
target |
Constructor and Description |
---|
FXMLLoader.ExpressionTargetMapping(com.sun.javafx.fxml.expression.Expression source,
java.lang.Object target,
java.util.List<java.lang.String> path) |
Modifier and Type | Method and Description |
---|---|
void |
changed(ObservableValue<? extends java.lang.Object> observable,
java.lang.Object oldValue,
java.lang.Object newValue)
This method needs to be provided by an implementation of
ChangeListener . |
public final com.sun.javafx.fxml.expression.Expression source
public final java.lang.Object target
public final java.util.List<java.lang.String> path
public FXMLLoader.ExpressionTargetMapping(com.sun.javafx.fxml.expression.Expression source, java.lang.Object target, java.util.List<java.lang.String> path)
public void changed(ObservableValue<? extends java.lang.Object> observable, java.lang.Object oldValue, java.lang.Object newValue)
ChangeListener
ChangeListener
. It is called if the value of an
ObservableValue
changes.
In general is is considered bad practice to modify the observed value in this method.
changed
in interface ChangeListener<java.lang.Object>
observable
- The ObservableValue
which value changedoldValue
- The old valuenewValue
- The new valueCopyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to