Interface IInlineEditSwitcher<T,R extends com.axemble.vdp.ui.framework.foundation.Widget,W extends com.axemble.vdp.ui.framework.widgets.CtlInputWidget>

Type Parameters:
T - the stockage type
R - the read widget type
W - the write widget type
All Known Implementing Classes:
AbstractSwitcher, AbstractTextToListSingleSelectionComponent, AbstractToTextSwitcher, BaseTextToTextSwitcher, HyperLinkToTextBoxSwitcher, ResourceToAutocompleteListSwitcher, TextToAutocompleteListSwitcher, TextToComboBoxSwitcher, TextToDateSwitcher, TextToFloatFieldSwitcher, TextToRadioGroupSwitcher, TextToTextAreaSwitcher, TextToTextBoxSwitcher

public interface IInlineEditSwitcher<T,R extends com.axemble.vdp.ui.framework.foundation.Widget,W extends com.axemble.vdp.ui.framework.widgets.CtlInputWidget>
the switcher is used to obfuscate the switcher and updating value complexity
Author:
famaridon
  • Method Details

    • getValue

      T getValue()
      get the current value
      Returns:
    • setValue

      void setValue(T value)
      set the current value
    • getReadWidget

      R getReadWidget()
      get the widget used in InlineEditMode.READ mode
      Returns:
    • getWriteWidget

      W getWriteWidget()
      get the widget used in InlineEditMode.WRITE mode
      Returns:
    • updateWidgets

      void updateWidgets()
      update the read widget from the write widget
    • cancel

      void cancel()
      Cancel editing