public interface GluonObservable
DataProvider
class happen in an asynchronous background thread. This interface
can therefor be used to get information about the current state of the observable entity while the operation is
running as well as the final state of the entity when the operation has completed.Type | Property and Description |
---|---|
javafx.beans.property.ReadOnlyObjectProperty<java.lang.Throwable> |
exception
Holds the exception that was thrown when a synchronization operation failed.
|
javafx.beans.property.ReadOnlyBooleanProperty |
initialized
A boolean property that is true when the observable has been initialized successfully after its initial
retrieval.
|
javafx.beans.property.ReadOnlyObjectProperty<ConnectState> |
state
Holds the current state of this observable.
|
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ReadOnlyObjectProperty<java.lang.Throwable> |
exceptionProperty()
Holds the exception that was thrown when a synchronization operation failed.
|
java.lang.Throwable |
getException()
In case an exception occurred during processing, this method will
return the exception.
|
ConnectState |
getState()
Return the current state of this observable.
|
javafx.beans.property.ReadOnlyBooleanProperty |
initializedProperty()
A boolean property that is true when the observable has been initialized successfully after its initial
retrieval.
|
boolean |
isInitialized()
Return the initialized state of this observable.
|
javafx.beans.property.ReadOnlyObjectProperty<ConnectState> |
stateProperty()
Holds the current state of this observable.
|
javafx.beans.property.ReadOnlyBooleanProperty initializedProperty
isInitialized()
javafx.beans.property.ReadOnlyObjectProperty<ConnectState> stateProperty
getState()
javafx.beans.property.ReadOnlyObjectProperty<java.lang.Throwable> exceptionProperty
getException()
boolean isInitialized()
javafx.beans.property.ReadOnlyBooleanProperty initializedProperty()
isInitialized()
ConnectState getState()
javafx.beans.property.ReadOnlyObjectProperty<ConnectState> stateProperty()
getState()
java.lang.Throwable getException()
null
will be returned.javafx.beans.property.ReadOnlyObjectProperty<java.lang.Throwable> exceptionProperty()
getException()