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.
  • Constructor Details

    • BaseTextToTextSwitcher

      public BaseTextToTextSwitcher(com.axemble.vdp.ui.framework.widgets.CtlText readWidget, W writeWidget)
      Constructor
      Parameters:
      readWidget - the read render widget
      writeWidget - the edit render widget
  • Method Details

    • setValue

      public void setValue(String value)
      Description copied from interface: IInlineEditSwitcher
      set the current value
    • updateWidgets

      public void updateWidgets()
      Description copied from interface: IInlineEditSwitcher
      update the read widget from the write widget
    • cancel

      public void cancel()
      Description copied from interface: IInlineEditSwitcher
      Cancel editing