public class DefaultEditorAreaValidationHandler extends Object implements ValidationFocusTransferHandler, WidgetComponentRendererListener<org.zkoss.zk.ui.Component,EditorArea,Object>
ON_FOCUS_TRANSFER_REQUESTED, ON_FOCUS_TRANSFERRED, TRANSFER_ERROR_OTHER, TRANSFER_ERROR_UNKNOWN_PATH, TRANSFER_SUCCESS| Constructor and Description |
|---|
DefaultEditorAreaValidationHandler(org.zkoss.zk.ui.Component parent,
DefaultEditorAreaController controller,
ValidatableContainer validatableContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
componentRendered(WidgetComponentRendererEvent<org.zkoss.zk.ui.Component,EditorArea,Object> event)
Informs that a component has been properly rendered.
|
protected boolean |
containsCustomProperty(Section section,
String property) |
protected boolean |
containsProperty(AbstractSection sectionDefinition,
String property) |
protected boolean |
containsProperty(AbstractTab tabDefinition,
String property) |
protected boolean |
containsProperty(Stream<AbstractPositioned> stream,
String property) |
protected ValidationHandler |
createProxyValidationHandler() |
protected org.zkoss.zk.ui.Component |
findPropertyComponent(org.zkoss.zk.ui.Component comp,
String property) |
protected org.zkoss.zul.Tab |
findPropertyTab(String property) |
protected AbstractTab |
findPropertyTabDefinition(String property) |
int |
focusValidationPath(org.zkoss.zk.ui.Component parent,
String property)
Tries to transfer focus to field bound to specified path
|
protected org.zkoss.zk.ui.Component |
visitComponent(org.zkoss.zk.ui.Component parent,
String property) |
protected void |
visitEditorComponent(org.zkoss.zk.ui.Component component,
String property) |
public DefaultEditorAreaValidationHandler(org.zkoss.zk.ui.Component parent,
DefaultEditorAreaController controller,
ValidatableContainer validatableContainer)
public void componentRendered(WidgetComponentRendererEvent<org.zkoss.zk.ui.Component,EditorArea,Object> event)
WidgetComponentRendererListenerMethod is invoked for top-most component but also for all children that are rendered by this renderer.
componentRendered in interface WidgetComponentRendererListener<org.zkoss.zk.ui.Component,EditorArea,Object>event - details about renderprotected ValidationHandler createProxyValidationHandler()
public int focusValidationPath(org.zkoss.zk.ui.Component parent,
String property)
ValidationFocusTransferHandlerfocusValidationPath in interface ValidationFocusTransferHandlerparent - parent component of fieldsproperty - path to be focusedValidationFocusTransferHandler.TRANSFER_SUCCESS,
ValidationFocusTransferHandler.TRANSFER_ERROR_UNKNOWN_PATH,
ValidationFocusTransferHandler.TRANSFER_ERROR_OTHERprotected void visitEditorComponent(org.zkoss.zk.ui.Component component,
String property)
protected org.zkoss.zk.ui.Component findPropertyComponent(org.zkoss.zk.ui.Component comp,
String property)
protected org.zkoss.zk.ui.Component visitComponent(org.zkoss.zk.ui.Component parent,
String property)
protected boolean containsProperty(Stream<AbstractPositioned> stream, String property)
protected boolean containsProperty(AbstractSection sectionDefinition, String property)
protected boolean containsProperty(AbstractTab tabDefinition, String property)
protected AbstractTab findPropertyTabDefinition(String property)
protected org.zkoss.zul.Tab findPropertyTab(String property)
Copyright © 2018. All rights reserved.