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, unbind
bindBidirectional, setValue, unbindBidirectional
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
public javafx.beans.property.ReadOnlyBooleanProperty initializedProperty
initializedProperty
in interface GluonObservable
isInitialized()
public javafx.beans.property.ReadOnlyObjectProperty<ConnectState> stateProperty
stateProperty
in interface GluonObservable
getState()
,
setState(ConnectState)
public javafx.beans.property.ReadOnlyObjectProperty<java.lang.Throwable> exceptionProperty
exceptionProperty
in interface GluonObservable
getException()
,
setException(Throwable)
public boolean isInitialized()
isInitialized
in interface GluonObservable
public javafx.beans.property.ReadOnlyBooleanProperty initializedProperty()
GluonObservable
initializedProperty
in interface GluonObservable
isInitialized()
public ConnectState getState()
getState
in interface GluonObservable
public void setState(ConnectState state)
public javafx.beans.property.ReadOnlyObjectProperty<ConnectState> stateProperty()
GluonObservable
stateProperty
in interface GluonObservable
getState()
,
setState(ConnectState)
public java.lang.Throwable getException()
getException
in interface GluonObservable
public void setException(java.lang.Throwable exception)
public javafx.beans.property.ReadOnlyObjectProperty<java.lang.Throwable> exceptionProperty()
GluonObservable
exceptionProperty
in interface GluonObservable
getException()
,
setException(Throwable)