Class BaseTextToTextSwitcher<W extends com.axemble.vdp.ui.framework.widgets.CtlTextBox>
java.lang.Object
com.vdoc.sdk.commons.ui.widget.view.inline.edit.switcher.AbstractSwitcher<String,com.axemble.vdp.ui.framework.widgets.CtlText,W>
com.vdoc.sdk.commons.ui.widget.view.inline.edit.switcher.AbstractToTextSwitcher<com.axemble.vdp.ui.framework.widgets.CtlText,W>
com.vdoc.sdk.commons.ui.widget.view.inline.edit.switcher.BaseTextToTextSwitcher<W>
- Type Parameters:
W- the edit widget type
- All Implemented Interfaces:
IInlineEditSwitcher<String,com.axemble.vdp.ui.framework.widgets.CtlText, W>
- Direct Known Subclasses:
TextToTextAreaSwitcher,TextToTextBoxSwitcher
public class BaseTextToTextSwitcher<W extends com.axemble.vdp.ui.framework.widgets.CtlTextBox>
extends AbstractToTextSwitcher<com.axemble.vdp.ui.framework.widgets.CtlText,W>
Base text to text switcher
Created by wtoscer on 02/09/2015.
-
Field Summary
Fields inherited from class com.vdoc.sdk.commons.ui.widget.view.inline.edit.switcher.AbstractSwitcher
readWidget, writeWidget -
Constructor Summary
ConstructorsConstructorDescriptionBaseTextToTextSwitcher(com.axemble.vdp.ui.framework.widgets.CtlText readWidget, W writeWidget) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancel editingvoidset the current valuevoidupdate the read widget from the write widgetMethods inherited from class com.vdoc.sdk.commons.ui.widget.view.inline.edit.switcher.AbstractToTextSwitcher
getValueMethods inherited from class com.vdoc.sdk.commons.ui.widget.view.inline.edit.switcher.AbstractSwitcher
getReadWidget, getWriteWidget
-
Constructor Details
-
BaseTextToTextSwitcher
public BaseTextToTextSwitcher(com.axemble.vdp.ui.framework.widgets.CtlText readWidget, W writeWidget) Constructor- Parameters:
readWidget- the read render widgetwriteWidget- the edit render widget
-
-
Method Details
-
setValue
Description copied from interface:IInlineEditSwitcherset the current value -
updateWidgets
public void updateWidgets()Description copied from interface:IInlineEditSwitcherupdate the read widget from the write widget -
cancel
public void cancel()Description copied from interface:IInlineEditSwitcherCancel editing
-