Package org.eclipse.gef.common.adapt
Class IAdaptable.Bound.Impl<T extends IAdaptable>
java.lang.Object
org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl<T>
- Type Parameters:
T- The type ofIAdaptablewhich this class is bound to.
- All Implemented Interfaces:
IAdaptable.Bound<T>
- Enclosing interface:
- IAdaptable.Bound<A extends IAdaptable>
public static class IAdaptable.Bound.Impl<T extends IAdaptable>
extends Object
implements IAdaptable.Bound<T>
Default implementation of
IAdaptable.Bound that manages a
ReadOnlyObjectProperty for the IAdaptable.-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.ReadOnlyObjectProperty<T>A read-only object property providing theIAdaptablethisIAdaptable.Boundis bound to. -
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
IAdaptable.Bound.Impl<T extends IAdaptable> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.ReadOnlyObjectProperty<T>A read-only object property providing theIAdaptablethisIAdaptable.Boundis bound to.Gets the value of the property adaptable.voidsetAdaptable(T adaptable) Sets the value of the property adaptable.
-
Property Details
-
adaptable
- Specified by:
adaptablePropertyin interfaceIAdaptable.Bound<T extends IAdaptable>- See Also:
-
-
Constructor Details
-
Impl
public Impl()
-
-
Method Details
-
adaptableProperty
Description copied from interface:IAdaptable.BoundA read-only object property providing theIAdaptablethisIAdaptable.Boundis bound to.- Specified by:
adaptablePropertyin interfaceIAdaptable.Bound<T extends IAdaptable>- See Also:
-
getAdaptable
Gets the value of the property adaptable.- Specified by:
getAdaptablein interfaceIAdaptable.Bound<T extends IAdaptable>- Property description:
- Returns:
- The
IAdaptablethisIAdaptable.Boundis currently bound to, ornullif thisIAdaptable.Boundis currently not bound to anIAdaptable.
-
setAdaptable
Sets the value of the property adaptable.- Specified by:
setAdaptablein interfaceIAdaptable.Bound<T extends IAdaptable>- Property description:
- Parameters:
adaptable- TheIAdaptablethisIAdaptable.Boundis bound to ornullto unbind thisIAdaptable.Bound.
-