Class ConfigurableFlowValidationHandler
- java.lang.Object
-
- com.hybris.cockpitng.widgets.configurableflow.validation.ConfigurableFlowValidationHandler
-
- All Implemented Interfaces:
ValidationFocusTransferHandler
public class ConfigurableFlowValidationHandler extends java.lang.Object implements ValidationFocusTransferHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBREADCRUMB_DIV_ID-
Fields inherited from interface com.hybris.cockpitng.components.validation.ValidationFocusTransferHandler
ON_FOCUS_TRANSFER_REQUESTED, ON_FOCUS_TRANSFERRED, TRANSFER_ERROR_OTHER, TRANSFER_ERROR_UNKNOWN_PATH, TRANSFER_SUCCESS
-
-
Constructor Summary
Constructors Constructor Description ConfigurableFlowValidationHandler(ConfigurableFlowController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.zkoss.zk.ui.ComponentfindPropertyComponent(org.zkoss.zk.ui.Component comp, java.lang.String property)protected voidfocusComponent(org.zkoss.zk.ui.Component component, java.lang.String property, boolean queue)intfocusValidationPath(org.zkoss.zk.ui.Component parent, java.lang.String property)Tries to transfer focus to field bound to specified pathprotected java.lang.StringgetFullQualifier(PropertyListType rootList, PropertyType propertyType)protected StepTyperetrievePropertyStep(java.lang.Object stepOrSubflow, java.lang.String property)protected StepTyperetrievePropertyStep(java.lang.String property)RetrieveStepTypefor given propertyprotected StepTyperetrieveStep(StepType stepType, java.lang.String property)
-
-
-
Field Detail
-
BREADCRUMB_DIV_ID
public static final java.lang.String BREADCRUMB_DIV_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigurableFlowValidationHandler
public ConfigurableFlowValidationHandler(ConfigurableFlowController controller)
-
-
Method Detail
-
focusValidationPath
public int focusValidationPath(org.zkoss.zk.ui.Component parent, java.lang.String property)Description copied from interface:ValidationFocusTransferHandlerTries to transfer focus to field bound to specified path- Specified by:
focusValidationPathin interfaceValidationFocusTransferHandler- Parameters:
parent- parent component of fieldsproperty- path to be focused- Returns:
- result of transfer
- See Also:
ValidationFocusTransferHandler.TRANSFER_SUCCESS,ValidationFocusTransferHandler.TRANSFER_ERROR_UNKNOWN_PATH,ValidationFocusTransferHandler.TRANSFER_ERROR_OTHER
-
retrievePropertyStep
protected StepType retrievePropertyStep(java.lang.String property)
RetrieveStepTypefor given property
-
retrievePropertyStep
protected StepType retrievePropertyStep(java.lang.Object stepOrSubflow, java.lang.String property)
-
getFullQualifier
protected java.lang.String getFullQualifier(PropertyListType rootList, PropertyType propertyType)
-
findPropertyComponent
protected org.zkoss.zk.ui.Component findPropertyComponent(org.zkoss.zk.ui.Component comp, java.lang.String property)
-
focusComponent
protected void focusComponent(org.zkoss.zk.ui.Component component, java.lang.String property, boolean queue)
-
-