Class InstantEditorConfirmButtonClickListener
- java.lang.Object
-
- com.hybris.cockpitng.editor.instant.listeners.AbstractInstantEditorMouseEventListener
-
- com.hybris.cockpitng.editor.instant.listeners.InstantEditorConfirmButtonClickListener
-
- All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.MouseEvent>
- Direct Known Subclasses:
InstantEditorCancelButtonClickListener
public class InstantEditorConfirmButtonClickListener extends AbstractInstantEditorMouseEventListener
Confirm button click listener for Instant Editor.
-
-
Field Summary
-
Fields inherited from class com.hybris.cockpitng.editor.instant.listeners.AbstractInstantEditorMouseEventListener
KEY_OLD_VALUE
-
-
Constructor Summary
Constructors Constructor Description InstantEditorConfirmButtonClickListener(org.zkoss.zk.ui.HtmlBasedComponent labelContainer, org.zkoss.zul.Div editorContainer, Editor editor, EditorListener<java.lang.Object> listener, Executable labelUpdate)InstantEditorConfirmButtonClickListener(org.zkoss.zul.Label label, org.zkoss.zul.Div editorContainer, Editor editor, EditorListener<java.lang.Object> listener, InstantEditorLabelProvider labelProvider, LabelUpdateFunction labelUpdater)Deprecated, for removal: This API element is subject to removal in a future version.since 6.6
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ExecutablegetLabelComponentUpdate()protected InstantEditorLabelProvidergetLabelProvider()Deprecated, for removal: This API element is subject to removal in a future version.since 6.6protected LabelUpdateFunctiongetLabelUpdater()Deprecated, for removal: This API element is subject to removal in a future version.since 6.6voidonEvent(org.zkoss.zk.ui.event.MouseEvent event)protected voidsendValueChangedEvent()protected voidswitchToLabel()-
Methods inherited from class com.hybris.cockpitng.editor.instant.listeners.AbstractInstantEditorMouseEventListener
getEditor, getEditorContainer, getLabel, getLabelContainer, switchToEditor
-
-
-
-
Constructor Detail
-
InstantEditorConfirmButtonClickListener
public InstantEditorConfirmButtonClickListener(org.zkoss.zk.ui.HtmlBasedComponent labelContainer, org.zkoss.zul.Div editorContainer, Editor editor, EditorListener<java.lang.Object> listener, Executable labelUpdate)- Parameters:
labelContainer- label component containing string representation of the dataeditorContainer- container component for the underlying editoreditor- instant editor's underlying editorlistener- listener for events related to editorlabelUpdate- executable that updates label with new value
-
InstantEditorConfirmButtonClickListener
@Deprecated(since="6.6", forRemoval=true) public InstantEditorConfirmButtonClickListener(org.zkoss.zul.Label label, org.zkoss.zul.Div editorContainer, Editor editor, EditorListener<java.lang.Object> listener, InstantEditorLabelProvider labelProvider, LabelUpdateFunction labelUpdater)Deprecated, for removal: This API element is subject to removal in a future version.since 6.6
-
-
Method Detail
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.MouseEvent event) throws java.lang.Exception- Throws:
java.lang.Exception
-
switchToLabel
protected void switchToLabel()
- Overrides:
switchToLabelin classAbstractInstantEditorMouseEventListener
-
sendValueChangedEvent
protected void sendValueChangedEvent()
-
getLabelProvider
@Deprecated(since="6.6", forRemoval=true) protected InstantEditorLabelProvider getLabelProvider()Deprecated, for removal: This API element is subject to removal in a future version.since 6.6- See Also:
DefaultInstantEditorLabelRenderer
-
getLabelUpdater
@Deprecated(since="6.6", forRemoval=true) protected LabelUpdateFunction getLabelUpdater()Deprecated, for removal: This API element is subject to removal in a future version.since 6.6- See Also:
getLabelComponentUpdate()
-
getLabelComponentUpdate
protected Executable getLabelComponentUpdate()
-
-