Interface LabelUpdateFunction

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @Deprecated(since="6.6",
                forRemoval=true)
    public interface LabelUpdateFunction
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 6.6
    See Also:
    Executable
    • Method Detail

      • update

        void update​(org.zkoss.zul.Label label,
                    Editor editor,
                    InstantEditorLabelProvider labelProvider)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Updates label component basing on editor value.

        Base functionality should be to set label's value, but it can do more, e.g. set proper CSS class basing on the value.

        Parameters:
        label - component to update
        editor - editor which value should be reflected in the label
        labelProvider - label provider used to get string representation of editor's value