com.holonplatform.vaadin.components

## Interface PropertyBinding<T,B>

- Type Parameters:
    `T` - Property value type
    `B` - Bound component type
  All Superinterfaces:
    Serializable

      public interface PropertyBinding<T,B>
      extends Serializable

  Represents a binding between a `Property` and a specific type component.
  Since:
    5.0.0

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `PropertyBinding.PostProcessor<B>` Callback interface to perform configuration operations on a component bound to a `Property`.

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T,B> PropertyBinding<T,B>` | `create(com.holonplatform.core.property.Property<T> property, B component)` Create a new `PropertyBinding` instance.
    `B` | `getComponent()` Get the component to which the property is bound.
    `com.holonplatform.core.property.Property<T>` | `getProperty()` Get the `Property`.

- - ### Method Detail

    - #### getProperty

          com.holonplatform.core.property.Property<T> getProperty()

      Get the `Property`.
      Returns:
        The property

    - #### getComponent

          B getComponent()

      Get the component to which the property is bound.
      Returns:
        The bound component

    - #### create

          static <T,B> PropertyBinding<T,B> create(com.holonplatform.core.property.Property<T> property,
                                                   B component)

      Create a new `PropertyBinding` instance.
      Type Parameters:
        `T` - Property type
        `B` - Bound type
      Parameters:
        `property` - Property
        `component` - Bound component
      Returns:
        A new `PropertyBinding` instance

Copyright © 2017 The Holon Platform. All rights reserved.