T - the type of the object that is held in this observablepublic class GluonObservableObject<T> extends javafx.beans.property.SimpleObjectProperty<T> implements GluonObservable, javafx.beans.value.WritableObjectValue<T>
| 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.
|
| Constructor and Description |
|---|
GluonObservableObject() |
| 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()
Gets the value of the property exception.
|
ConnectState |
getState()
Gets the value of the property state.
|
javafx.beans.property.ReadOnlyBooleanProperty |
initializedProperty()
A boolean property that is true when the observable has been initialized successfully after its initial
retrieval.
|
boolean |
isInitialized()
Gets the value of the property initialized.
|
void |
setException(java.lang.Throwable exception)
Sets the value of the property exception.
|
void |
setState(ConnectState state)
Sets the value of the property state.
|
javafx.beans.property.ReadOnlyObjectProperty<ConnectState> |
stateProperty()
Holds the current state of this observable.
|
addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, set, toString, unbindbindBidirectional, setValue, unbindBidirectionalasString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpressionpublic javafx.beans.property.ReadOnlyBooleanProperty initializedProperty
initializedProperty in interface GluonObservableisInitialized()public javafx.beans.property.ReadOnlyObjectProperty<ConnectState> stateProperty
stateProperty in interface GluonObservablegetState(),
setState(ConnectState)public javafx.beans.property.ReadOnlyObjectProperty<java.lang.Throwable> exceptionProperty
exceptionProperty in interface GluonObservablegetException(),
setException(Throwable)public boolean isInitialized()
isInitialized in interface GluonObservablepublic javafx.beans.property.ReadOnlyBooleanProperty initializedProperty()
GluonObservableinitializedProperty in interface GluonObservableisInitialized()public ConnectState getState()
getState in interface GluonObservablepublic void setState(ConnectState state)
public javafx.beans.property.ReadOnlyObjectProperty<ConnectState> stateProperty()
GluonObservablestateProperty in interface GluonObservablegetState(),
setState(ConnectState)public java.lang.Throwable getException()
getException in interface GluonObservablepublic void setException(java.lang.Throwable exception)
public javafx.beans.property.ReadOnlyObjectProperty<java.lang.Throwable> exceptionProperty()
GluonObservableexceptionProperty in interface GluonObservablegetException(),
setException(Throwable)