Top Description Fields Constructors Methods
org.reactfx.inhibeans.binding

public abstract Class LongBinding

extends LongBinding
implements Binding<Number>
Class Inheritance
All Implemented Interfaces
org.reactfx.inhibeans.binding.Binding, org.reactfx.inhibeans.value.ObservableValue, javafx.beans.value.ObservableValue, javafx.beans.Observable, org.reactfx.inhibeans.Observable, org.reactfx.Guardian, javafx.beans.binding.Binding
Annotations
@Deprecated
Imports
javafx.beans.InvalidationListener, javafx.beans.value.ChangeListener, .ObservableValue, org.reactfx.Guard, org.reactfx.value.Val, com.sun.javafx.binding.ExpressionHelper

Deprecated

Inhibitory version of javafx.beans.binding.LongBinding.

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
private ExpressionHelper<Number>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
addListener(ChangeListener<? super Number> listener)

Overrides javafx.beans.binding.LongBinding.addListener.

Implements javafx.beans.value.ObservableValue.addListener.

Adds a ChangeListener which will be notified whenever the value of the ObservableValue changes.

public Guard
block()

Implements org.reactfx.inhibeans.Observable.block.

Prevents invalidation and change events from being emitted, until the returned guard is released.

protected final void
onInvalidating()

Overrides javafx.beans.binding.LongBinding.onInvalidating.

The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid.

private void
public void
removeListener(InvalidationListener listener)

Overrides javafx.beans.binding.LongBinding.removeListener.

Implements javafx.beans.Observable.removeListener.

Removes the given listener from the list of listeners, that are notified whenever the value of the Observable becomes invalid.

public void
removeListener(ChangeListener<? super Number> listener)

Overrides javafx.beans.binding.LongBinding.removeListener.

Implements javafx.beans.value.ObservableValue.removeListener.

Removes the given listener from the list of listeners that are notified whenever the value of the ObservableValue changes.

public static LongBinding
Inherited from javafx.beans.binding.LongBinding:
bindcomputeValuedisposegetgetDependenciesinvalidateisValidtoStringunbind

Field Detail

blockedback to summary
private boolean blocked
fireOnReleaseback to summary
private boolean fireOnRelease
helperback to summary
private ExpressionHelper<Number> helper

Hides javafx.beans.binding.LongBinding.helper.

Constructor Detail

LongBindingback to summary
public LongBinding()

Method Detail

addListenerback to summary
public void addListener(InvalidationListener listener)

Overrides javafx.beans.binding.LongBinding.addListener.

Implements javafx.beans.Observable.addListener.

Override adding/removing listeners. ***

Annotations
@Override
addListenerback to summary
public void addListener(ChangeListener<? super Number> listener)

Overrides javafx.beans.binding.LongBinding.addListener.

Implements javafx.beans.value.ObservableValue.addListener.

Doc from javafx.beans.value.ObservableValue.addListener.

Adds a ChangeListener which will be notified whenever the value of the ObservableValue changes. If the same listener is added more than once, then it will be notified more than once. That is, no check is made to ensure uniqueness.

Note that the same actual ChangeListener instance may be safely registered for different ObservableValues.

The ObservableValue stores a strong reference to the listener which will prevent the listener from being garbage collected and may result in a memory leak. It is recommended to either unregister a listener by calling removeListener after use or to use an instance of WeakChangeListener avoid this situation.

Annotations
@Override
blockback to summary
public Guard block()

Implements org.reactfx.inhibeans.Observable.block.

Doc from org.reactfx.inhibeans.Observable.block.

Prevents invalidation and change events from being emitted, until the returned guard is released.

Annotations
@Override
onInvalidatingback to summary
protected final void onInvalidating()

Overrides javafx.beans.binding.LongBinding.onInvalidating.

Doc from javafx.beans.binding.LongBinding.onInvalidating.

The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. The default implementation is empty.

Annotations
@Override
releaseback to summary
private void release()
removeListenerback to summary
public void removeListener(InvalidationListener listener)

Overrides javafx.beans.binding.LongBinding.removeListener.

Implements javafx.beans.Observable.removeListener.

Doc from javafx.beans.Observable.removeListener.

Removes the given listener from the list of listeners, that are notified whenever the value of the Observable becomes invalid.

If the given listener has not been previously registered (i.e. it was never added) then this method call is a no-op. If it had been previously added then it will be removed. If it had been added more than once, then only the first occurrence will be removed.

Annotations
@Override
removeListenerback to summary
public void removeListener(ChangeListener<? super Number> listener)

Overrides javafx.beans.binding.LongBinding.removeListener.

Implements javafx.beans.value.ObservableValue.removeListener.

Doc from javafx.beans.value.ObservableValue.removeListener.

Removes the given listener from the list of listeners that are notified whenever the value of the ObservableValue changes.

If the given listener has not been previously registered (i.e. it was never added) then this method call is a no-op. If it had been previously added then it will be removed. If it had been added more than once, then only the first occurrence will be removed.

Annotations
@Override
wrapback to summary
public static LongBinding wrap(ObservableValue<? extends Number> source)

Hides org.reactfx.inhibeans.binding.Binding.wrap.

Annotations
@Deprecated