Interface Button.ButtonDataBindMapping

  • Enclosing class:
    Button

    public static interface Button.ButtonDataBindMapping
    Translates between a button's buttonData and context data during data binding.
    • Method Detail

      • toButtonData

        java.lang.Object toButtonData​(java.lang.Object value)
        Converts a context value to button data during a Component.load(Object) operation.
        Parameters:
        value - The value returned from the bound object which must be converted to a suitable value for the button's data.
        Returns:
        The converted button data.
      • valueOf

        java.lang.Object valueOf​(java.lang.Object buttonData)
        Converts button data to a context value during a Component.store(Object) operation.
        Parameters:
        buttonData - The button's current button data which must be converted to a suitable value for the object's property.
        Returns:
        The converted value suitable for the object.