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 typeR- the read widget typeW- 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 Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancel editingget the widget used inInlineEditMode.READmodegetValue()get the current valueget the widget used inInlineEditMode.WRITEmodevoidset the current valuevoidupdate the read widget from the write widget
-
Method Details
-
getValue
T getValue()get the current value- Returns:
-
setValue
set the current value -
getReadWidget
R getReadWidget()get the widget used inInlineEditMode.READmode- Returns:
-
getWriteWidget
W getWriteWidget()get the widget used inInlineEditMode.WRITEmode- Returns:
-
updateWidgets
void updateWidgets()update the read widget from the write widget -
cancel
void cancel()Cancel editing
-