Class AbstractSwitcher<T,R extends com.axemble.vdp.ui.framework.foundation.Widget,W extends com.axemble.vdp.ui.framework.widgets.CtlInputWidget>
java.lang.Object
com.vdoc.sdk.commons.ui.widget.view.inline.edit.switcher.AbstractSwitcher<T,R,W>
- Type Parameters:
T- the stockage typeR- the read widget typeW- the edit widget type
- All Implemented Interfaces:
IInlineEditSwitcher<T,R, W>
- Direct Known Subclasses:
AbstractTextToListSingleSelectionComponent,AbstractToTextSwitcher,ResourceToAutocompleteListSwitcher,TextToDateSwitcher
public abstract class AbstractSwitcher<T,R extends com.axemble.vdp.ui.framework.foundation.Widget,W extends com.axemble.vdp.ui.framework.widgets.CtlInputWidget>
extends Object
implements IInlineEditSwitcher<T,R,W>
Abstract switcher
Created by wtoscer on 02/09/2015.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the widget used inInlineEditMode.READmodeget the widget used inInlineEditMode.WRITEmodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vdoc.sdk.commons.ui.widget.view.inline.edit.interfaces.IInlineEditSwitcher
cancel, getValue, setValue, updateWidgets
-
Field Details
-
readWidget
The read render widget -
writeWidget
The edit render widget
-
-
Constructor Details
-
AbstractSwitcher
Constructor- Parameters:
readWidget- the read render widgetwriteWidget- the edit render widget
-
-
Method Details
-
getReadWidget
Description copied from interface:IInlineEditSwitcherget the widget used inInlineEditMode.READmode- Specified by:
getReadWidgetin interfaceIInlineEditSwitcher<T,R extends com.axemble.vdp.ui.framework.foundation.Widget, W extends com.axemble.vdp.ui.framework.widgets.CtlInputWidget> - Returns:
-
getWriteWidget
Description copied from interface:IInlineEditSwitcherget the widget used inInlineEditMode.WRITEmode- Specified by:
getWriteWidgetin interfaceIInlineEditSwitcher<T,R extends com.axemble.vdp.ui.framework.foundation.Widget, W extends com.axemble.vdp.ui.framework.widgets.CtlInputWidget> - Returns:
-