Uses of Interface
org.zkoss.zk.ui.Component
Packages that use Component
Package
Description
-
Uses of Component in org.zkoss.bind
Classes in org.zkoss.bind with type parameters of type ComponentModifier and TypeClassDescriptionclassBindComposer<T extends Component>Base composer to apply ZK Bind.interfaceGeneric binding conversion interface.Methods in org.zkoss.bind that return ComponentModifier and TypeMethodDescriptionBindContext.getComponent()Returns the associated component context.Binder.getView()Returns associated root component of this binder.Methods in org.zkoss.bind with parameters of type ComponentModifier and TypeMethodDescriptionvoidBinder.addChildrenInitBinding(Component comp, String initExpr, Map<String, Object> initArgs, String converterExpr, Map<String, Object> converterArgs) init children of a component by an expression, it only execute oncevoidBinder.addChildrenLoadBindings(Component comp, String loadExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) Add new children-load-bindings.voidBinder.addCommandBinding(Component comp, String evtnm, String commandExpr, Map<String, Object> commandArgs) Add a new command binding.voidinit a component form by expression, it only execute oncevoidBinder.addFormLoadBindings(Component comp, String id, String loadExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs) Add new form-load-bindings.voidBinder.addFormSaveBindings(Component comp, String id, String saveExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs, String validatorExpr, Map<String, Object> validatorArgs) Add new form-save-bindings.voidBinder.addGlobalCommandBinding(Component comp, String evtnm, String commandExpr, Map<String, Object> commandArgs) Add a new global-command binding.voidBinder.addPropertyInitBinding(Component comp, String attr, String initExpr, Map<String, Object> initArgs, String converterExpr, Map<String, Object> converterArgs) init a component property by a expression, it only execute oncevoidBinder.addPropertyLoadBindings(Component comp, String attr, String loadExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) Add new property-load-bindings.voidBinder.addPropertySaveBindings(Component comp, String attr, String saveExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs, String validatorExpr, Map<String, Object> validatorArgs) Add new property-save-bindings.voidBinder.addReferenceBinding(Component comp, String attr, String loadExpr, Map<String, Object> bindingArgs) Add a new reference-binding.voidDestroys the binder with a root component and viewModel object.voidBindComposer.didActivate(Component comp) BindComposer.doBeforeCompose(Page page, Component parent, ComponentInfo compInfo) voidBindComposer.doBeforeComposeChildren(Component comp) voidInitializes the binder with a root component and viewModel object.voidInitializes the binder with a root component and viewModel object.voidvoidBinder.loadComponent(Component comp, boolean loadinit) Load the load-binding of the component.voidBinder.removeBindings(Component comp) Remove all managed bindings that associated with the specified component.voidBinder.removeBindings(Component comp, String key) Remove all managed Binding that associated with the specified component and attribute name, event name, or form id.voidBinder.setTemplate(Component comp, String attr, String templateExpr, Map<String, Object> templateArgs) set template to a component property by an expressionvoidBindComposer.willPassivate(Component comp) Method parameters in org.zkoss.bind with type arguments of type ComponentModifier and TypeMethodDescriptionvoidBinder.removeBindings(Set<Component> comps) Remove all managed bindings that associated with the specified components.Constructors in org.zkoss.bind with parameters of type Component -
Uses of Component in org.zkoss.bind.callback
Methods in org.zkoss.bind.callback with parameters of type Component -
Uses of Component in org.zkoss.bind.converter
Methods in org.zkoss.bind.converter with parameters of type ComponentModifier and TypeMethodDescriptionFormatedDateConverter.coerceToBean(Object val, Component comp, BindContext ctx) Convert String to Date.FormatedNumberConverter.coerceToBean(Object val, Component comp, BindContext ctx) Convert String to Number.FormattedTimeConverter.coerceToBean(Object val, Component comp, BindContext ctx) Convert String to Date.ObjectBooleanConverter.coerceToBean(Object val, Component comp, BindContext ctx) Given an object value and return whether it is a "true" object.UriConverter.coerceToBean(Object val, Component component, BindContext ctx) FormatedDateConverter.coerceToUi(Object val, Component comp, BindContext ctx) Convert Date to String.FormatedNumberConverter.coerceToUi(Object val, Component comp, BindContext ctx) Convert Number to String.FormattedTimeConverter.coerceToUi(Object val, Component comp, BindContext ctx) Convert Date to String.ObjectBooleanConverter.coerceToUi(Object val, Component comp, BindContext ctx) Given a Boolean value and return associated "true" object if true; or "false" object if null or falseUriConverter.coerceToUi(Object val, Component component, BindContext ctx) -
Uses of Component in org.zkoss.bind.converter.sys
Classes in org.zkoss.bind.converter.sys with type parameters of type ComponentModifier and TypeClassDescriptionclassAbstractListModelConverter<C extends Component>The abstractConverterimplementation for converting collection to ListModel and vice versa.classAbstractSelectedIndexConverter<C extends Component>Convert selected index to bean and vice versa.Methods in org.zkoss.bind.converter.sys with parameters of type ComponentModifier and TypeMethodDescriptionChildrenBindingConverter.coerceToBean(Object val, Component component, BindContext ctx) ComboboxSelectedItemConverter.coerceToBean(Object val, Component comp, BindContext ctx) DefaultJSONBindingParamConverter.coerceToBean(Object val, Component component, BindContext ctx) ErrorMessageConverter.coerceToBean(Object val, Component component, BindContext ctx) FormattedTemporalConverter.coerceToBean(String compAttr, Component component, BindContext ctx) Convert String to Temporal.ListboxSelectedItemConverter.coerceToBean(Object val, Component comp, BindContext ctx) ListboxSelectedItemsConverter.coerceToBean(Object val, Component comp, BindContext ctx) RadiogroupSelectedItemConverter.coerceToBean(Object val, Component comp, BindContext ctx) SelectboxSelectedItemConverter.coerceToBean(Object val, Component comp, BindContext ctx) TabboxSelectedTabConverter.coerceToBean(Object val, Component comp, BindContext ctx) TreeModelConverter.coerceToBean(Object val, Component component, BindContext ctx) TreeSelectedItemConverter.coerceToBean(Object val, Component comp, BindContext ctx) TreeSelectedItemsConverter.coerceToBean(Object val, Component comp, BindContext ctx) ChildrenBindingConverter.coerceToUi(Object val, Component component, BindContext ctx) ComboboxSelectedItemConverter.coerceToUi(Object val, Component comp, BindContext ctx) DefaultJSONBindingParamConverter.coerceToUi(Object val, Component component, BindContext ctx) ErrorMessageConverter.coerceToUi(Object val, Component component, BindContext ctx) FormattedTemporalConverter.coerceToUi(T beanProp, Component component, BindContext ctx) Convert Temporal to String.ListboxSelectedItemConverter.coerceToUi(Object val, Component comp, BindContext ctx) ListboxSelectedItemsConverter.coerceToUi(Object val, Component comp, BindContext ctx) RadiogroupSelectedItemConverter.coerceToUi(Object val, Component comp, BindContext ctx) SelectboxSelectedItemConverter.coerceToUi(Object val, Component comp, BindContext ctx) TabboxSelectedTabConverter.coerceToUi(Object val, Component comp, BindContext ctx) TreeModelConverter.coerceToUi(Object val, Component component, BindContext ctx) TreeSelectedItemConverter.coerceToUi(Object val, Component comp, BindContext ctx) TreeSelectedItemsConverter.coerceToUi(Object val, Component comp, BindContext ctx) -
Uses of Component in org.zkoss.bind.impl
Methods in org.zkoss.bind.impl that return ComponentModifier and TypeMethodDescriptionprotected Component[]AbstractRenderer.filterOutShadows(Component parent, Component[] items) ValidationMessagesImpl.getAssociate(String key) ValidationMessagesImpl.getAssociates(String key) BindContextImpl.getComponent()BindingImpl.getComponent()TemplateResolverImpl.getComponent()SimpleBindXelContext.getSelf()BinderImpl.getView()Methods in org.zkoss.bind.impl with parameters of type ComponentModifier and TypeMethodDescriptionvoidBinderImpl.addChildrenInitBinding(Component comp, String initExpr, Map<String, Object> initArgs, String converterExpr, Map<String, Object> converterArgs) voidBinderImpl.addChildrenLoadBindings(Component comp, String loadExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) voidBinderImpl.addCommandBinding(Component comp, String evtnm, String commandExpr, Map<String, Object> args) voidBinderImpl.addFormAssociatedSaveBinding(Component associatedComp, String formId, SaveBinding saveBinding, String fieldName) voidBinderImpl.addFormInitBinding(Component comp, String id, String initExpr, Map<String, Object> initArgs) voidBinderImpl.addFormLoadBindings(Component comp, String id, String loadExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs) voidBinderImpl.addFormSaveBindings(Component comp, String id, String saveExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs, String validatorExpr, Map<String, Object> validatorArgs) voidBinderImpl.addGlobalCommandBinding(Component comp, String evtnm, String commandExpr, Map<String, Object> args) protected voidAbstractRenderer.addItemReference(Component modelOwner, Component comp, int index, String varnm) voidValidationMessagesImpl.addMessages(Component comp, String attr, String key, String[] messages) voidValidationMessagesImpl.addMessages(Component comp, String attr, String key, String[] messages, Object value) voidBinderImpl.addPropertyInitBinding(Component comp, String attr, String initExpr, Map<String, Object> initArgs, String converterExpr, Map<String, Object> converterArgs) voidBinderImpl.addPropertyLoadBindings(Component comp, String attr, String loadExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) voidBinderImpl.addPropertySaveBindings(Component comp, String attr, String saveExpr, String[] beforeCmds, String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs, String validatorExpr, Map<String, Object> validatorArgs) voidBinderImpl.addReferenceBinding(Component comp, String attr, String loadExpr, Map<String, Object> bindingArgs) voidReferenceBindingHandler.addReferenceBinding(Component comp, String attr, ReferenceBinding binding) protected voidAbstractRenderer.addTemplateTracking(Component templateComp, Component eachComp, Object data, int index, int size) voidTemplateResolverImpl.addTemplateTracking(Component eachComp, Object eachData, int index, int size) voidValidationMessagesImpl.clearKeyMessages(Component comp, String key) voidValidationMessagesImpl.clearMessages(Component comp) voidValidationMessagesImpl.clearMessages(Component comp, String attr) protected voidAbstractBindingHandler.clearValidationMessages(Binder binder, Component component, String attr) voidprotected voidBinderImpl.doExecute(Component comp, String command, Map<String, Object> commandArgs, BindContext ctx, Set<Property> notifys) protected voidBinderImpl.doLoadAfter(Component comp, String command, BindContext ctx) protected voidBinderImpl.doLoadBefore(Component comp, String command, BindContext ctx) protected voidBinderImpl.doSaveAfter(Component comp, String command, Event evt, BindContext ctx, Set<Property> notifys) protected voidBinderImpl.doSaveBefore(Component comp, String command, Event evt, BindContext ctx, Set<Property> notifys) protected booleanBinderImpl.doValidate(Component comp, String command, Event evt, BindContext ctx, Set<Property> notifys) static <T> TBindEvaluatorXUtil.eval(BindEvaluatorX evalx, Component comp, String expression, Class<T> expectedType) static <T> TBindEvaluatorXUtil.eval(BindEvaluatorX evalx, Component comp, String expression, Class<T> expectedType, Map<String, Object> implicit) BindEvaluatorXUtil.evalArgs(BindEvaluatorX eval, Component comp, Map<String, Object> args, Map<String, Object> implicit) protected ObjectTemplateResolverImpl.evaluateTemplate(Component eachComp, Object eachData, int index, int size) protected ObjectTemplateResolverImpl.evaluateTemplate(Component eachComp, Object eachData, int index, int size, String subType) protected Component[]AbstractRenderer.filterOutShadows(Component parent, Component[] items) static StringMiscUtil.formatLocationMessage(String message, Component comp) static Binderstatic BinderBinderImpl.getBindings(Component comp) ValidationMessagesImpl.getFieldValue(Component comp, String key) Object[]ValidationMessagesImpl.getFieldValues(Component comp, String key) BinderImpl.getFormAssociatedSaveBindings(Component comp) String[]ValidationMessagesImpl.getKeyMessages(Component comp, String key) BinderImpl.getLoadPromptBindings(Component comp, String attr) String[]ValidationMessagesImpl.getMessages(Component comp) String[]ValidationMessagesImpl.getMessages(Component comp, String attr) AnnotationUtil.getNonSystemProperties(Component comp) protected BindingTemplateResolverImpl.getTemplateBinding(Component eachComp, Object eachData, int index, int size) BinderImpl.getTemplateResolver(Component comp, String attr) Class<?>BindEvaluatorXImpl.getType(BindContext ctx, Component comp, ExpressionX expression) BindEvaluatorXImpl.getValue(BindContext ctx, Component comp, ExpressionX expression) BindEvaluatorXImpl.getValueReference(BindContext ctx, Component comp, ExpressionX expression) booleanBinderImpl.hasValidator(Component comp, String attr) voidvoidAnnotateBinderHelper.initComponentBindings(Component comp) static booleanBinderUtil.isHandling(Component comp) booleanBindEvaluatorXImpl.isReadOnly(BindContext ctx, Component comp, ExpressionX expression) voidBinderImpl.loadComponent(Component comp, boolean loadinit) Internal Use only. init and load the componentprotected voidBinderImpl.loadComponent0(Component comp, boolean loadinit) protected TemplateAbstractRenderer.lookupTemplate(Component comp, String name) protected TemplateBindComboitemRenderer.lookupTemplate(Component comp, String name) static voidBinderUtil.markHandling(Component comp, Binder binder) static BindContextBindContextUtil.newBindContext(Binder binder, Binding binding, boolean save, String command, Component comp, Event event) protected CommandBindingBinderImpl.newCommandBinding(Component comp, String evtnm, String cmdScript, Map<String, Object> args) Make this extenable.protected InitChildrenBindingBinderImpl.newInitChildrenBinding(Component comp, String initExpr, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) Make this extenable.protected InitFormBindingBinderImpl.newInitFormBinding(Component comp, String formId, String initExpr, Map<String, Object> bindingArgs) Make this extenable.protected InitPropertyBindingBinderImpl.newInitPropertyBinding(Component comp, String attr, String loadAttr, Class<?> attrType, String initExpr, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) Make this extenable.protected LoadChildrenBindingBinderImpl.newLoadChildrenBinding(Component comp, String loadExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) Make this extenable.protected LoadFormBindingBinderImpl.newLoadFormBinding(Component comp, String formId, String loadExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs) Make this extenable.protected LoadPropertyBindingBinderImpl.newLoadPropertyBinding(Component comp, String attr, String loadAttr, Class<?> attrType, String loadExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) Make this extenable.protected SaveFormBindingBinderImpl.newSaveFormBinding(Component comp, String formId, String saveExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String validatorExpr, Map<String, Object> validatorArgs) Make this extenable.protected SavePropertyBindingBinderImpl.newSavePropertyBinding(Component comp, String attr, String saveAttr, String saveExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs, String validatorExpr, Map<String, Object> validatorArgs) Make this extenable.protected XelContextBindEvaluatorXImpl.newXelContext(BindContext ctx, Component comp) voidBinderImpl.removeBindings(Component comp) Remove all bindings that associated with the specified component.voidBinderImpl.removeBindings(Component comp, String key) Remove all bindings that associated with the specified component and key (_fieldExpr|evtnm|formid).voidReferenceBindingHandler.removeReferenceBinding(Component comp) voidReferenceBindingHandler.removeReferenceBinding(Component comp, String attr) voidvoidvoidBinderPropertiesRenderer.renderProperties(Component comp, ContentRenderer render) protected TemplateAbstractRenderer.resolveTemplate(Component templateComp, Component comp, Object data, int index, int size, String defaultName) protected TemplateAbstractRenderer.resolveTemplate(Component templateComp, Component comp, Object data, int index, int size, String defaultName, String subType) TemplateResolverImpl.resolveTemplate(Component eachComp, Object eachData, int index, int size) TemplateResolverImpl.resolveTemplate(Component eachComp, Object eachData, int index, int size, String subType) static voidBindContextUtil.setCommandArgs(Binder binder, Component comp, BindContext ctx, Map<String, Object> args) voidParamCall.setComponent(Component comp) static voidBindContextUtil.setConverterArgs(Binder binder, Component comp, BindContext ctx, PropertyBinding binding) voidValidationMessagesImpl.setMessages(Component comp, String attr, String key, String[] messages) voidValidationMessagesImpl.setMessages(Component comp, String attr, String key, String[] messages, Object value) voidBinderImpl.setTemplate(Component comp, String attr, String templateExpr, Map<String, Object> templateArgs) static voidBindContextUtil.setValidatorArgs(Binder binder, Component comp, BindContext ctx, SaveFormBinding binding) static voidBindContextUtil.setValidatorArgs(Binder binder, Component comp, BindContext ctx, SavePropertyBinding binding) voidBindEvaluatorXImpl.setValue(BindContext ctx, Component comp, ExpressionX expression, Object value) voidstatic voidBinderUtil.unmarkHandling(Component comp) Method parameters in org.zkoss.bind.impl with type arguments of type ComponentConstructors in org.zkoss.bind.impl with parameters of type ComponentModifierConstructorDescriptionBindContextImpl(Binder binder, Binding binding, boolean save, String command, Component comp, Event event) protectedBindingKey(Component x, String y) protectedChildrenBindingImpl(Binder binder, Component comp, String accessExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) ChildrenBindingListDataListener(Component comp, BindContext ctx, Converter<?, ListModel<?>, Component> conv) CommandBindingImpl(Binder binder, Component comp, String evtnm, String cmdScript, Map<String, Object> args) protectedFormBindingImpl(Binder binder, Component comp, String formId, String accessExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs) InitChildrenBindingImpl(Binder binder, Component comp, String initExpr, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) InitFormBindingImpl(Binder binder, Component comp, String formId, String initExpr, Map<String, Object> bindingArgs) InitPropertyBindingImpl(Binder binder, Component comp, String attr, String loadAttr, Class<?> attrType, String initExpr, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) LoadChildrenBindingImpl(Binder binder, Component comp, String loadExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) LoadFormBindingImpl(Binder binder, Component comp, String formId, String loadExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs) LoadPropertyBindingImpl(Binder binder, Component comp, String attr, String loadAttr, Class<?> attrType, String loadExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) protectedPropertyBindingImpl(Binder binder, Component comp, String fieldName, String fieldExpr, String accessExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs) PropertyExpression(Component cmp, String field) ReferenceBindingImpl(Binder binder, Component comp, String attr, String expression) SaveFormBindingImpl(Binder binder, Component comp, String formId, String saveExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String validatorExpr, Map<String, Object> validatorArgs) SavePropertyBindingImpl(Binder binder, Component comp, String attr, String saveAttr, String saveExpr, ConditionType conditionType, String command, Map<String, Object> bindingArgs, String converterExpr, Map<String, Object> converterArgs, String validatorExpr, Map<String, Object> validatorArgs) SimpleBindXelContext(Component cmp, Binder binder, VariableResolver resolver, FunctionMapper mapper) TemplateResolverImpl(Binder binder, Component comp, String attr, String templateExpr, Map<String, Object> templateArgs) Constructor parameters in org.zkoss.bind.impl with type arguments of type ComponentModifierConstructorDescriptionChildrenBindingListDataListener(Component comp, BindContext ctx, Converter<?, ListModel<?>, Component> conv) -
Uses of Component in org.zkoss.bind.sys
Methods in org.zkoss.bind.sys that return ComponentModifier and TypeMethodDescriptionValidationMessages.getAssociate(String key) Returns the first associated component from the given key, if any.ValidationMessages.getAssociates(String key) Returns all associated components from the given key, if any.Binding.getComponent()Returns the associated component of this binding.Methods in org.zkoss.bind.sys with parameters of type ComponentModifier and TypeMethodDescriptionvoidBinderCtrl.addFormAssociatedSaveBinding(Component associatedComp, String formId, SaveBinding saveBinding, String fieldName) Add a association between formId and a associated save binding(save binding inside a form), the form has to exist in the parent componentsvoidValidationMessages.addMessages(Component comp, String attr, String key, String[] messages) add validation messages to componentvoidValidationMessages.addMessages(Component comp, String attr, String key, String[] messages, Object value) add validation messages to componentvoidTemplateResolver.addTemplateTracking(Component eachComp, Object eachData, int index, int size) Add template tracking to componentvoidValidationMessages.clearKeyMessages(Component comp, String key) clear validation message of component and a special message keyvoidValidationMessages.clearMessages(Component comp) clear validation message of componentvoidValidationMessages.clearMessages(Component comp, String attr) clear validation message of componentValidationMessages.getFieldValue(Component comp, String key) Returns the first field value from the given key and component, if any.Object[]ValidationMessages.getFieldValues(Component comp, String key) Returns all field values from the given key and component, if any.Get the form of the componentBinderCtrl.getFormAssociatedSaveBindings(Component formComp) Get associated save bindings of a form in a componentString[]ValidationMessages.getKeyMessages(Component comp, String key) get validation message of component and a special keyBinderCtrl.getLoadPromptBindings(Component comp, String attr) get all load prompt binding of the component and attributeString[]ValidationMessages.getMessages(Component comp) get validation messages of a componentString[]ValidationMessages.getMessages(Component comp, String attr) get validation messages of a component and special attributeBinderCtrl.getTemplateResolver(Component comp, String attr) get the template resolver that sets byBinder.setTemplate(Component, String, String, java.util.Map)Class<?>BindEvaluatorX.getType(BindContext ctx, Component comp, ExpressionX expression) Returns the result type of the specified expression.BindEvaluatorX.getValue(BindContext ctx, Component comp, ExpressionX expression) Sets the specified value to the property resolved from the specified expression.BindEvaluatorX.getValueReference(BindContext ctx, Component comp, ExpressionX expression) Returns the result reference of the specified expression.booleanBinderCtrl.hasValidator(Component comp, String attr) is there a validator on the attribute of componentbooleanBindEvaluatorX.isReadOnly(BindContext ctx, Component comp, ExpressionX expression) Returns whether the specified expression a read only expression.TemplateResolver.resolveTemplate(Component eachComp, Object eachData, int index, int size, String subType) Resolve the template for the componentvoidValidationMessages.setMessages(Component comp, String attr, String key, String[] messages) set validation messages to component, it will replace previous messagesvoidValidationMessages.setMessages(Component comp, String attr, String key, String[] messages, Object value) set validation messages to component, it will replace previous messagesvoidBindEvaluatorX.setValue(BindContext ctx, Component comp, ExpressionX expression, Object value) Sets the specified value to the property resolved from the specified expression.voidStore the form in the component with id -
Uses of Component in org.zkoss.bind.sys.debugger
Methods in org.zkoss.bind.sys.debugger that return ComponentMethods in org.zkoss.bind.sys.debugger with parameters of type ComponentModifier and TypeMethodDescriptionvoidBindingAnnotationInfoChecker.checkBinder(Component comp) check binder annotationvoidBindingAnnotationInfoChecker.checkBinding(Binder binder, Component comp) check binding annotationvoidBindingAnnotationInfoChecker.checkValidationMessages(Component comp) check validation message annotationvoidBindingAnnotationInfoChecker.checkViewModel(Component comp) check view model annotation -
Uses of Component in org.zkoss.bind.sys.debugger.impl
Methods in org.zkoss.bind.sys.debugger.impl with parameters of type ComponentModifier and TypeMethodDescriptionvoidDefaultAnnotationInfoChecker.checkBinder(Component comp) voidDefaultAnnotationInfoChecker.checkBinding(Binder binder, Component comp) voidDefaultAnnotationInfoChecker.checkValidationMessages(Component comp) voidDefaultAnnotationInfoChecker.checkViewModel(Component comp) -
Uses of Component in org.zkoss.bind.sys.debugger.impl.info
Methods in org.zkoss.bind.sys.debugger.impl.info that return ComponentConstructors in org.zkoss.bind.sys.debugger.impl.info with parameters of type ComponentModifierConstructorDescriptionAddBindingInfo(String subtype, Component comp, String condition, String fromExpr, String toExpr, Map<String, Object> args, String note) AddCommandBindingInfo(String subtype, Component comp, String event, String commandExpr, Map<String, Object> args, String note) AnnoWarnInfo(Component comp, String attr, String anno, String note) CommandInfo(String subtype, Component comp, String event, String commandExpr, String command, Map<String, Object> args, String note) protectedExecutionInfoBase(String type, String subtype, Component comp, String note) LoadInfo(String subtype, Component comp, String condition, String fromExpr, String toExpr, Object value, Map<String, Object> args, String note) NotifyChangeInfo(Component comp, Object base, Object prop, String note) SaveInfo(String subtype, Component comp, String condition, String fromExpr, String toExpr, Object value, Map<String, Object> args, String note) ValidationInfo(String subtype, Component comp, String validatorExpr, String validator, Object result, Map<String, Object> args, String note) -
Uses of Component in org.zkoss.bind.sys.tracker
Methods in org.zkoss.bind.sys.tracker with parameters of type ComponentModifier and TypeMethodDescriptionvoidTracker.addDependsOn(Component srcComp, String[] srcSeries, Binding srcBinding, Component dependsOnComp, String[] dependsOnSeries) Add a depends-on tracking between the source property name series and depends-on property name series.voidTracker.addTracking(Component comp, String[] series, Binding binding) Add a tracking that associate a binding to a dot series under the specifiedComponentvoidTracker.removeTrackings(Component comp) Remove all tracking associated with the specifiedComponent.Method parameters in org.zkoss.bind.sys.tracker with type arguments of type ComponentModifier and TypeMethodDescriptionvoidTracker.removeTrackings(Set<Component> comps) Remove all tracking associated with the specifiedComponentset. -
Uses of Component in org.zkoss.bind.tracker.impl
Fields in org.zkoss.bind.tracker.impl with type parameters of type ComponentModifier and TypeFieldDescriptionprotected Map<Component,Map<Object, TrackerNode>> TrackerImpl._compMapMethods in org.zkoss.bind.tracker.impl that return types with arguments of type ComponentModifier and TypeMethodDescriptionprotected Map<Component,Map<Object, TrackerNode>> TrackerImpl.initCompMap()Methods in org.zkoss.bind.tracker.impl with parameters of type ComponentModifier and TypeMethodDescriptionvoidTrackerImpl.addDependsOn(Component srcComp, String[] srcSeries, Binding srcBinding, Component dependsOnComp, String[] dependsOnSeries) voidTrackerImpl.addTracking(Component comp, String[] series, Binding binding) voidBindUiLifeCycle.afterComponentAttached(Component comp, Page page) voidBindUiLifeCycle.afterComponentDetached(Component comp, Page prevpage) voidBindUiLifeCycle.afterComponentMoved(Component parent, Component child, Component prevparent) voidBindUiLifeCycle.afterShadowAttached(ShadowElement shadow, Component host) voidBindUiLifeCycle.afterShadowDetached(ShadowElement shadow, Component prevhost) protected TrackerNodeTrackerImpl.getOrCreateTrackerNode(Component comp, String[] series) protected voidBindUiLifeCycle.handleComponentAttached(Component comp) protected voidBindUiLifeCycle.handleComponentDetached(Component comp) booleanBindUiLifeCycle.Extension.isLifeCycleHandling(Component comp) voidBindUiLifeCycle.Extension.markLifeCycleHandling(Component comp) static voidBindUiLifeCycle.markLifeCycleHandling(Component comp) Internal use only.voidBindUiLifeCycle.Extension.removeLifeCycleHandling(Component comp) voidTrackerImpl.removeTrackings(Component comp) Method parameters in org.zkoss.bind.tracker.impl with type arguments of type Component -
Uses of Component in org.zkoss.bind.xel.zel
Methods in org.zkoss.bind.xel.zel with parameters of type ComponentModifier and TypeMethodDescriptionstatic voidBindELContext.addDependsOnTracking(Binding srcBinding, List<String> srcPath, Component srcComp, String dependsOnPath, Component dependsOnComp) Prepare the dependsOn nodesstatic voidstatic StringBindELContext.getModelName(Component comp) static ObjectBindELContext.removeModel(Component comp) -
Uses of Component in org.zkoss.clientbind
Classes in org.zkoss.clientbind with type parameters of type ComponentMethods in org.zkoss.clientbind that return ComponentModifier and TypeMethodDescriptionValidationMessagesMonitor.getAssociate(String s) ValidationMessagesMonitor.getAssociates(String s) ClientSaveFormBindingImpl.getComponent()ClientSavePropertyBindingImpl.getComponent()Methods in org.zkoss.clientbind with parameters of type ComponentModifier and TypeMethodDescriptionvoidValidationMessagesMonitor.addMessages(Component component, String s, String s1, String[] strings) voidValidationMessagesMonitor.addMessages(Component component, String s, String s1, String[] strings, Object o) voidValidationMessagesMonitor.clearKeyMessages(Component component, String s) voidValidationMessagesMonitor.clearMessages(Component component) voidValidationMessagesMonitor.clearMessages(Component component, String s) GsonConverter.coerceToBean(Object compAttr, Component component, BindContext ctx) voidClientBindComposer.didActivate(Component comp) ClientBindComposer.doBeforeCompose(Page page, Component component, ComponentInfo componentInfo) protected ObjectClientBindComposer.doConvertCoerceToBean(Object origin, Component comp, String converterExpr, Map<String, Object> coverterParams) protected booleanClientBindComposer.doValidate(Map<String, Object> validatorData, Map<String, Object> validatorProperty, Object bean, Component comp, String prop, Object value) booleanClientBinder.doValidate(Component comp, SaveFormBinding binding, boolean isValid) booleanClientBinder.doValidate(Component comp, SavePropertyBinding binding, boolean isValid) protected ObjectClientBindComposer.evalExpression(Component target, String expression) ClientBinderResolver.evaluate(Component comp, Expression expression) protected ConverterClientBindComposer.findConverter(Component target, String expr) ValidationMessagesMonitor.getFieldValue(Component component, String s) Object[]ValidationMessagesMonitor.getFieldValues(Component component, String s) String[]ValidationMessagesMonitor.getKeyMessages(Component component, String s) String[]ValidationMessagesMonitor.getMessages(Component component) String[]ValidationMessagesMonitor.getMessages(Component component, String s) Class<?>ClientBinderResolver.getType(BindContext ctx, Component comp, ExpressionX expression) ClientBinderResolver.getValue(BindContext ctx, Component comp, ExpressionX expression) ClientBinderResolver.getValueReference(BindContext ctx, Component comp, ExpressionX expression) voidClientBindComposer.handleModel(Map<String, Object> allBindings, Component comp, String expr, Map<String, String[]> converterInfo) protected ObjectClientBindComposer.initInnerViewModel(BindEvaluatorX evalx, Component comp, String vmname, Object vm) booleanClientBinderResolver.isReadOnly(BindContext ctx, Component comp, ExpressionX expression) protected XelContextClientBinderResolver.newXelContext(BindContext ctx, Component comp) protected BindContextClientBindComposer.prepareConverterContext(Component target, Map<String, Object> paramsFromClient) voidBinderPropertiesRenderer.renderProperties(Component component, ContentRenderer contentRenderer) voidValidationMessagesMonitor.setMessages(Component component, String s, String s1, String[] strings) voidValidationMessagesMonitor.setMessages(Component component, String s, String s1, String[] strings, Object o) voidClientBinderResolver.setValue(BindContext ctx, Component comp, ExpressionX expression, Object value) protected voidClientBindComposer.traverseComponentBindings(Component comp) voidClientBindComposer.willPassivate(Component comp) Constructors in org.zkoss.clientbind with parameters of type ComponentModifierConstructorDescriptionClientBinderResolver(Component view, BindEvaluatorX bindEvaluatorX) ClientSaveFormBindingImpl(ClientBinder binder, Component comp, String fieldName, Property property, String validatorExpr, Map<String, Object> validatorArgs, Map formProps, String formId) ClientSavePropertyBindingImpl(ClientBinder binder, Component comp, String fieldName, Property property, String validatorExpr, Map<String, Object> validatorArgs, Set<Property> properties) -
Uses of Component in org.zkoss.clientbind.converter
Methods in org.zkoss.clientbind.converter with parameters of type ComponentModifier and TypeMethodDescriptionEncodedURLConverter.coerceToBean(Object val, Component component, BindContext ctx) EncodedURLConverter.coerceToUi(Object val, Component component, BindContext ctx) -
Uses of Component in org.zkoss.clientbind.ui.sys
Methods in org.zkoss.clientbind.ui.sys with parameters of type Component -
Uses of Component in org.zkoss.stateless.ui
Classes in org.zkoss.stateless.ui that implement ComponentModifier and TypeClassDescriptionclassA transient component for renderingIComponentto client.classInternal use only.classInternal use only.Methods in org.zkoss.stateless.ui with type parameters of type ComponentModifier and TypeMethodDescriptionReturns a locator to the given uuid.Locator.of(T component) Returns a locator to the givenComponent.Returns a locator to the given id ofIComponent.Methods in org.zkoss.stateless.ui that return ComponentModifier and TypeMethodDescriptionIStubsComponent.getFellowIfAny(String compId) Locator.toComponent()Converts this locator to ZK Component forClientsAPI to use.Locator.toComponent(CheckedConsumer2<Event, Scope> eventHandlers) Converts this locator to ZK Component forEvents.postEvent(Event)API to use.Self.toComponent()Self.toComponent(CheckedConsumer2<Event, Scope> eventHandlers) Methods in org.zkoss.stateless.ui with parameters of type ComponentModifier and TypeMethodDescriptionvoidUiEngineExtension.afterCreate(Component[] comps) default voidStatelessComposer.doAfterCompose(Component t) Marks as final implementation for subclass; Instead, implementsIComponentBuilder.build(BuildContext)for building an immutables components tree to the given view if any.static IStubComponentvoidvoidVolatileIStubsComponent.replace(Component comp, boolean bFellow, boolean bListener, boolean bChildren) -
Uses of Component in org.zkoss.stateless.ui.http
Methods in org.zkoss.stateless.ui.http with parameters of type ComponentModifier and TypeMethodDescriptionCloudBasedIdGenerator.nextAnonymousComponentUuid(Component comp, ComponentInfo compInfo) CloudBasedIdGenerator.nextComponentUuid(Desktop desktop, Component comp, ComponentInfo compInfo) -
Uses of Component in org.zkoss.stateless.ui.util
Classes in org.zkoss.stateless.ui.util that implement ComponentFields in org.zkoss.stateless.ui.util declared as ComponentMethods in org.zkoss.stateless.ui.util with type parameters of type ComponentModifier and TypeMethodDescriptionVolatileComponent.getChildren()static <T extends Component,I extends IComponent>
IImmutables.proxyIComponent(T t) Makes a proxy ofComponentintoIComponent.Methods in org.zkoss.stateless.ui.util that return ComponentModifier and TypeMethodDescriptionVolatileComponent.getFellowIfAny(String s) VolatileComponent.getFellowIfAny(String s, boolean b) VolatileComponent.getFirstChild()VolatileComponent.getLastChild()VolatileComponent.getNextSibling()VolatileComponent.getParent()VolatileComponent.getPreviousSibling()VolatileComponent.getRoot()Methods in org.zkoss.stateless.ui.util that return types with arguments of type ComponentMethods in org.zkoss.stateless.ui.util with parameters of type ComponentModifier and TypeMethodDescriptionbooleanVolatileComponent.addForward(String s, Component component, String s1) booleanVolatileComponent.addForward(String s, Component component, String s1, Object o) booleanVolatileComponent.appendChild(Component component) voidVolatileComponent.beforeChildAdded(Component child, Component insertBefore) voidVolatileComponent.beforeChildRemoved(Component child) voidVolatileComponent.beforeParentChanged(Component parent) VolatileComponent.getShadowVariable(Component component, String s, boolean b) booleanVolatileComponent.insertBefore(Component component, Component component1) voidVolatileComponent.onChildAdded(Component child) voidVolatileComponent.onChildRemoved(Component child) voidVolatileComponent.onParentChanged(Component parent) static IComponentImmutables.proxyIChild(Component instance) static IComponentImmutables.proxyIChild(Component instance, Class<? extends Component> skipClass) static List<? extends IComponent>Immutables.proxyIChildren(Component instance) booleanVolatileComponent.removeChild(Component component) booleanVolatileComponent.removeForward(String s, Component component, String s1) voidvoidVolatileComponent.setPageBefore(Page page, Component component) voidMethod parameters in org.zkoss.stateless.ui.util with type arguments of type ComponentModifier and TypeMethodDescriptionstatic IComponentImmutables.proxyIChild(Component instance, Class<? extends Component> skipClass) Constructors in org.zkoss.stateless.ui.util with parameters of type Component -
Uses of Component in org.zkoss.zhtml
Classes in org.zkoss.zhtml that implement ComponentModifier and TypeClassDescriptionclassThe A tag.classThe ABBR tag.classThe ADDRESS tag.classThe AREA tag.classThe ARTICLE tag.classThe ASIDE tag.classThe AUDIO tag.classThe B tag.classThe BASE tag.classThe BDI tag.classThe BDO tag.classThe BLOCKQUOTE tag.classThe BODY tag.classThe BR tag.classThe BUTTON tag.classThe CANVAS tag.classThe CAPTION tag.classThe CITE tag.classThe CODE tag.classThe COL tag.classThe COLGROUP tag.classThe DATA tag.classThe DATALIST tag.classThe DD tag.classThe DEL tag.classThe DETAILS tag.classThe DFN tag.classThe dialog tagclassThe DIV tag.classThe DL tag.classThe DT tag.classThe EM tag.classThe EMBED tag.classThe FIELDSET tag.classThe FIGCAPTION tag.classThe FIGURE tag.classA fileupload dialog used to let user upload a file.classThe FOOTER tag.classThe FORM tag.classThe H1 tag.classThe H2 tag.classThe H3 tag.classThe H4 tag.classThe H5 tag.classThe H6 tag.classThe HEAD tag.classThe HEADER tag.classThe hgroup tag represents a heading and related content.classThe HR tag.classThe HTML tag.classThe I tag.classThe IFRAME tag.classThe IMG tag.classThe input tag.classThe INS tag.classThe KBD tag.classThe LABEL tag.classThe LEGEND tag.classThe LI tag.classThe LINK tag.classThe main tag.classThe MAP tag.classThe MARK tag.classThe MENU tag.classThe META tag.classThe METER tag.classThe NAV tag.classThe Noscript tag.classThe OBJECT tag.classThe OL tag.classThe OPTGROUP tag.classThe OPTION tag.classThe OUTPUT tag.classThe P tag.classThe Picture tagclassThe PRE tag.classThe PROGRESS tag.classThe Q tag.classThe raw component used to generate raw HTML elements.classThe RP tag.classThe RT tag.classThe RUBY tag.classThe S tag.classThe SAMP tag.classThe SCRIPT tag.classThe SECTION tag.classThe SELECT tag.classThe slot tagclassThe SMALL tag.classThe SOURCE tag.classThe SPAN tag.classThe STRONG tag.classThe STYLE tag.classThe SUB tag.classThe SUMMARY tag.classThe Sup tag.classThe TABLE tag.classThe TBODY tag.classThe TD tag.classThe TEMPLATE tag.classRepresents a piece of text (of DOM).classThe TEXTAREA tag.classThe TFOOT tag.classThe TH tag.classThe THEAD tag.classThe TIME tag.classThe TITLE tag.classThe TR tag.classThe TRACK tag.classThe U tag.classThe UL tag.classThe VAR tag.classThe VIDEO tag.classThe WBR tag.classThe component used to generate CSS and JavaScrpt declarations.Methods in org.zkoss.zhtml with parameters of type ComponentModifier and TypeMethodDescriptionvoidBody.beforeParentChanged(Component parent) voidHead.beforeParentChanged(Component parent) voidHtml.beforeParentChanged(Component parent) void -
Uses of Component in org.zkoss.zhtml.impl
Classes in org.zkoss.zhtml.impl that implement ComponentModifier and TypeClassDescriptionclassThe raw component used to generate raw HTML elements.classRepresents a tag that shall generate the child elements directly.Methods in org.zkoss.zhtml.impl with parameters of type ComponentModifier and TypeMethodDescriptionstatic StringPageRenderer.childrenToContent(Component comp) Converts the children of the give component into a string-typed content, or null if no children at all.voidTagRenderContext.renderBegin(Component comp, Map clientEvents, String specialRendererOutput, boolean lookup) Renders the beginning JavaScript code snippet for the component.voidRenders the ending JavaScript code snippet for the component. -
Uses of Component in org.zkoss.zk.au
Methods in org.zkoss.zk.au with type parameters of type ComponentModifier and TypeMethodDescriptionAuRequests.convertToItems(Desktop desktop, List<String> uuids) Converts the data of the specified request to a set of Component.Methods in org.zkoss.zk.au that return ComponentModifier and TypeMethodDescriptionAuRequest.getComponent()Returns the component that this request is applied for, or null if it applies to the whole page or a general request.Constructors in org.zkoss.zk.au with parameters of type ComponentModifierConstructorDescriptionAuResponse(String cmd, Component depends, Object data) Constructs a response with one or zero data.AuResponse(String cmd, Component depends, Object[] data) Constructs a response with multiple data.JSONComponent(Component comp) -
Uses of Component in org.zkoss.zk.au.out
Methods in org.zkoss.zk.au.out with parameters of type ComponentModifier and TypeMethodDescriptionstatic ObjectRetrieves the data associated with an echo event.Constructors in org.zkoss.zk.au.out with parameters of type ComponentModifierConstructorDescriptionAuAppendChild(Component comp, Collection<String> contents) AuClearBusy(Component comp) Constructs a command to remove a busy message covering only the specified component.AuClearWrongValue(Component comp) Unlike other constructors, the object instantiated by this method depends on the specified comp.AuClearWrongValue(Component[] comps) Constructs an echo response that will cause an event to fire when the client echoes back.Constructs an echo response that will cause an event to fire when the client echoes back.AuInsertAfter(Component anchor, Collection<String> contents) AuInsertBefore(Component anchor, Collection<String> contents) Construct AuInvoke to call the peer widget's member function with no argument.Construct AuInvoke to call the peer widget's member function with one boolean argument.Construct AuInvoke to call the peer widget's member function with one double argument.Construct AuInvoke to call the peer widget's member function with one int argument.Construct AuInvoke to call the peer widget's member function with one argument.Construct AuInvoke to call the peer widget's member function with an array of the given arguments.Construct AuInvoke to call the peer widget's member function with two arguments.Construct AuInvoke to call the peer widget's member function with three arguments.Construct AuInvoke to call a client function with variable number of arguments.AuNotification(String msg, String type, Page page, Component ref, int x, int y, int duration, boolean closable) Shows notification at given coordinateAuNotification(String msg, String type, Page page, Component ref, String position, int duration, boolean closable) Shows notification at predefined position.AuResizeWidget(Component comp) Constructs a command to force ZK Client re-calculate the size of the given widget.AuScrollIntoView(Component comp) Constructor.AuSetAttribute(Component comp, String attr, Object val) Construct an instance for miscellaneous values, such as Boolean, Integer and so on.AuSetAttributes(Component comp, AuSetAttribute... attrs) Construct an instance for miscellaneous values, such as Boolean, Integer and so on.AuShowBusy(Component comp, String mesg) Constructs a busy message covering only the specified component.AuSyncErrorbox(Component comp) A constructor for asking the client to sync position of a widget and its the errorbox.AuWrongValue(Component comp, String message) Constructor parameters in org.zkoss.zk.au.out with type arguments of type Component -
Uses of Component in org.zkoss.zk.ui
Classes in org.zkoss.zk.ui that implement ComponentModifier and TypeClassDescriptionclassA skeletal implementation ofComponent.classA skeletal implementation for HTML based components.classThe implementation of a macro component for HTML-based clients.classA component used to represent XML elements that are associated with the native namespace (http://www.zkoss.org/2005/zk/native).classA skeleton of shadow element that represents as a shadow tree.Methods in org.zkoss.zk.ui with type parameters of type ComponentModifier and TypeMethodDescriptionAbstractComponent.getChildren()Returns a live list of children.Component.getChildren()Returns a live list of children.HtmlShadowElement.getDistributedChildren()ShadowElement.getDistributedChildren()Returns a list of distributed components of the shadow tree, including its descendant.Methods in org.zkoss.zk.ui that return ComponentModifier and TypeMethodDescriptionExecution.createComponents(String uri, Map<?, ?> arg) Creates components that don't belong to any page from a page file specified by an URI.Execution.createComponents(String uri, Component parent, Map<?, ?> arg) Creates components from a page file specified by an URI.Execution.createComponents(String uri, Component parent, Component insertBefore, VariableResolver resolver) Creates components from a page file specified by an URI with a custom variable resolver and inserts before a particular component.Execution.createComponents(String uri, Component parent, Component insertBefore, VariableResolver resolver, Map<?, ?> arg) Creates components from a page file specified by an URI with a custom variable resolver and inserts before a particular component.Execution.createComponents(String uri, Page page, VariableResolver resolver, Map<?, ?> arg) Creates components that belong to the given page from a page file specified by an URI.Execution.createComponents(PageDefinition pagedef, Map<?, ?> arg) Creates components that don't belong to any page from the specified page definition.Execution.createComponents(PageDefinition pagedef, Component parent, Map<?, ?> arg) Creates components from the specified page definition.Execution.createComponents(PageDefinition pagedef, Component parent, Component insertBefore, VariableResolver resolver) Creates components from the specified page definition with a custom variable resolver and inserts before a particular component.static final ComponentExecutions.createComponents(String uri, Component parent, Map<?, ?> arg) Creates components from a page file specified by an URI.static Component[]Executions.createComponents(String uri, Page page, VariableResolver resolver, Map<?, ?> arg) Creates components that belong to the given page from a page file specified by an URI.static final ComponentExecutions.createComponents(PageDefinition pagedef, Component parent, Map<?, ?> arg) Creates components based on the specified page definition.static Component[]Executions.createComponents(WebApp wapp, String uri, Map<?, ?> arg) Creates components that don't belong to any page from a page file specified by an URI.static Component[]Executions.createComponents(WebApp wapp, PageDefinition pagedef, Map<?, ?> arg) Creates components that don't belong to any page from the specified page definition.Execution.createComponentsDirectly(Reader reader, String extension, Map<?, ?> arg) Creates components that don't belong to any page from the raw content read from the specified reader.Execution.createComponentsDirectly(Reader reader, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content read from the specified reader.Execution.createComponentsDirectly(Reader reader, String extension, Component parent, Component insertBefore, VariableResolver resolver) Creates components from the raw content read from the specified reader with a custom variable resolver and inserts before a particular component.Execution.createComponentsDirectly(String content, String extension, Map<?, ?> arg) Creates components that don't belong to any page from the raw content specified by a string.Execution.createComponentsDirectly(String content, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content specified by a string.Execution.createComponentsDirectly(String content, String extension, Component parent, Component insertBefore, VariableResolver resolver) Creates components from the raw content specified by a string with a custom variable resolver and inserts before a particular component.Execution.createComponentsDirectly(Document content, String extension, Map<?, ?> arg) Creates components that don't belong to any page from the raw content specified by a DOM tree.Execution.createComponentsDirectly(Document content, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content specified by a DOM tree.Execution.createComponentsDirectly(Document content, String extension, Component parent, Component insertBefore, VariableResolver resolver) Creates components from the raw content specified by a DOM tree with a custom variable resolver and inserts before a particular component.static ComponentExecutions.createComponentsDirectly(Reader reader, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content read from the specified reader.static final ComponentExecutions.createComponentsDirectly(String content, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content specified by a string.static final ComponentExecutions.createComponentsDirectly(Document content, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content specified by a DOM tree.static Component[]Executions.createComponentsDirectly(WebApp wapp, Reader reader, String extension, Map<?, ?> arg) Creates components that don't belong to any page from the raw content read from the specified reader.static Component[]Executions.createComponentsDirectly(WebApp wapp, String content, String extension, Map<?, ?> arg) Creates components that don't belong to any page from the raw content specified by a string.static Component[]Executions.createComponentsDirectly(WebApp wapp, Document content, String extension, Map<?, ?> arg) Creates components that don't belong to any page from the raw content specified by a DOM tree.Path.getComponent()Returns the component with this path, or null if no such component.static final ComponentPath.getComponent(String path) Returns the component of the specified path, or null if no such component.static final ComponentPath.getComponent(IdSpace is, String path) Returns the component of the specified path which is related to the specified ID space, or null if no such component.WrongValueException.getComponent()Returns the component that causes this exception, or null.Desktop.getComponentByUuid(String uuid) Returns the component of the specified UUID (getUuid()).Desktop.getComponentByUuidIfAny(String uuid) Returns the component of the specified UUID (getUuid()), or null if not found.The same asAbstractPage.getFellow(String).Returns a component of the specified ID in the same ID space.Returns a component of the specified ID in the same ID space.Returns a component of the specified ID in this ID space.Returns a component of the specified ID in this ID space.AbstractComponent.getFellowIfAny(String compId) AbstractComponent.getFellowIfAny(String compId, boolean recurse) AbstractPage.getFellowIfAny(String compId) AbstractPage.getFellowIfAny(String compId, boolean recurse) The same asAbstractPage.getFellowIfAny(String).Component.getFellowIfAny(String id) Returns a component of the specified ID in the same ID space, or null if not found.Component.getFellowIfAny(String id, boolean recurse) Returns a component of the specified ID in the same ID space, or null if not found.IdSpace.getFellowIfAny(String id) Returns a component of the specified ID in this ID space, or null if not found.IdSpace.getFellowIfAny(String id, boolean recurse) Returns a component of the specified ID in this ID space, or null if not found.AbstractComponent.getFirstChild()Component.getFirstChild()Returns the first child component, or null if no child at all.HtmlShadowElement.getFirstInsertion()Returns the first component of its insertion range.ShadowElement.getFirstInsertion()Returns the first component of its insertion range.ShadowElementCtrl.getFirstInsertion()Returns the first component of its insertion range.AbstractPage.getFirstRoot()Page.getFirstRoot()Returns the first root component.AbstractComponent.getLastChild()Component.getLastChild()Returns the last child component, or null if no child at all.HtmlShadowElement.getLastInsertion()Returns the last component of its insertion range.ShadowElement.getLastInsertion()Returns the last component of its insertion range.ShadowElementCtrl.getLastInsertion()Returns the last component of its insertion range.AbstractPage.getLastRoot()Page.getLastRoot()Returns the last root component.HtmlShadowElement.getNextInsertion()Returns the next insertion point, it may be a component, a shadow element, or null.ShadowElement.getNextInsertion()Returns the next insertion point, it may be a component, a shadow element, or null.ShadowElementCtrl.getNextInsertion()Returns the next insertion point, it may be a component, a shadow element, or null.HtmlShadowElement.getNextInsertionComponentIfAny()Returns the next component before this shadow, if any.AbstractComponent.getNextSibling()Component.getNextSibling()Returns the next sibling, or null if it is the last child.AbstractComponent.getParent()Component.getParent()Returns the parent component, or null if this is the root component.HtmlShadowElement.getPreviousInsertion()Returns the previous insertion point, it may be a component, a shadow element, or null.ShadowElement.getPreviousInsertion()Returns the previous insertion point, it may be a component, a shadow element, or null.ShadowElementCtrl.getPreviousInsertion()Returns the previous insertion point, it may be a component, a shadow element, or null.HtmlShadowElement.getPreviousInsertionComponentIfAny()Returns the first component before this shadow, if any.AbstractComponent.getPreviousSibling()Component.getPreviousSibling()Returns the previous sibling, or null if it is the first child.AbstractComponent.getRoot()Returns the root of the specified component.Component.getRoot()Returns the root of this component.static ComponentReturns the root component of the specified one.HtmlShadowElement.getShadowHost()ShadowElement.getShadowHost()Returns the owner component that hosts this shadow element.HtmlShadowElement.getShadowHostIfAny()ShadowElementCtrl.getShadowHostIfAny()Return the shadow host from it or its ancestor, if any.static final ComponentComponents.pathToComponent(String path, Component ref) Converts a path, generated byComponents.componentToPath(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Component), to a component.Find the first component that matches the given CSS3 selector.Methods in org.zkoss.zk.ui that return types with arguments of type ComponentModifier and TypeMethodDescriptionDesktop.getComponents()Returns all components contained in this desktop.AbstractComponent.getFellows()AbstractPage.getFellows()Component.getFellows()Returns all fellows in the same ID space of this component.IdSpace.getFellows()Returns all fellows in this ID space.AbstractComponent.getIndexCacheMap(Component host) HtmlShadowElement.getIndexCacheMap(Component host) Internal useAbstractPage.getRoots()Page.getRoots()Returns a readonly list of the root components.static Collection<Component>Components.getVisibleChildren(Component comp) Returns a collection of visible children.AbstractComponent.initIndexCacheMap(Component host) HtmlShadowElement.initIndexCacheMap(Component host) Internal useAbstractComponent.Children.listIterator(int index) Returns an iterable object for components that match the given CSS3 selector.Methods in org.zkoss.zk.ui with parameters of type ComponentModifier and TypeMethodDescriptionbooleanAbstractComponent.addForward(String orgEvent, Component target, String targetEvent) booleanAbstractComponent.addForward(String orgEvent, Component target, String targetEvent, Object eventData) booleanComponent.addForward(String originalEvent, Component target, String targetEvent) Adds a forward condition to forward the event received by this component to another component.booleanComponent.addForward(String originalEvent, Component target, String targetEvent, Object eventData) Adds a forward condition to forward the event received by this component to another component with extra event data.protected voidCalled when this component is moved from the specified parent and/or page to the new page.voidHtmlShadowElement.afterHostChildAdded(Component child, int indexOfChild) voidShadowElementCtrl.afterHostChildAdded(Component child, int indexOfChild) Called when a child is added to the host.voidHtmlShadowElement.afterHostChildRemoved(Component child) voidShadowElementCtrl.afterHostChildRemoved(Component child) Called when a child is removed to the host.booleanAbstractComponent.appendChild(Component child) Appends a child to the end of all children.booleanComponent.appendChild(Component child) Appends a child.voidAbstractComponent.beforeChildAdded(Component child, Component insertBefore) Default: does nothing.voidHtmlShadowElement.beforeChildAdded(Component child, Component refChild) voidAbstractComponent.beforeChildRemoved(Component child) Default: does nothing.voidHtmlShadowElement.beforeHostChildAdded(Component child, Component insertBefore, int indexOfInsertBefore) voidShadowElementCtrl.beforeHostChildAdded(Component child, Component insertBefore, int indexOfInsertBefore) Called before the host adding a child.voidHtmlShadowElement.beforeHostChildRemoved(Component child, int indexOfChild) voidShadowElementCtrl.beforeHostChildRemoved(Component child, int indexOfChild) Called before the host removing a child.voidHtmlShadowElement.beforeHostParentChanged(Component parent) voidShadowElementCtrl.beforeHostParentChanged(Component parent) Called before the host changing the parent.voidAbstractComponent.beforeParentChanged(Component parent) Default: If parent is null, execute the @Destroy method if any.voidHtmlShadowElement.beforeParentChanged(Component parent) static final StringComponents.componentToPath(Component comp, Component ref) Converts a component to a path (relevant to another component).protected abstract voidComposes the shadow element.Execution.createComponents(String uri, Component parent, Map<?, ?> arg) Creates components from a page file specified by an URI.Execution.createComponents(String uri, Component parent, Component insertBefore, VariableResolver resolver) Creates components from a page file specified by an URI with a custom variable resolver and inserts before a particular component.Execution.createComponents(String uri, Component parent, Component insertBefore, VariableResolver resolver, Map<?, ?> arg) Creates components from a page file specified by an URI with a custom variable resolver and inserts before a particular component.Execution.createComponents(PageDefinition pagedef, Component parent, Map<?, ?> arg) Creates components from the specified page definition.Execution.createComponents(PageDefinition pagedef, Component parent, Component insertBefore, VariableResolver resolver) Creates components from the specified page definition with a custom variable resolver and inserts before a particular component.static final ComponentExecutions.createComponents(String uri, Component parent, Map<?, ?> arg) Creates components from a page file specified by an URI.static final ComponentExecutions.createComponents(PageDefinition pagedef, Component parent, Map<?, ?> arg) Creates components based on the specified page definition.Execution.createComponentsDirectly(Reader reader, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content read from the specified reader.Execution.createComponentsDirectly(Reader reader, String extension, Component parent, Component insertBefore, VariableResolver resolver) Creates components from the raw content read from the specified reader with a custom variable resolver and inserts before a particular component.Execution.createComponentsDirectly(String content, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content specified by a string.Execution.createComponentsDirectly(String content, String extension, Component parent, Component insertBefore, VariableResolver resolver) Creates components from the raw content specified by a string with a custom variable resolver and inserts before a particular component.Execution.createComponentsDirectly(Document content, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content specified by a DOM tree.Execution.createComponentsDirectly(Document content, String extension, Component parent, Component insertBefore, VariableResolver resolver) Creates components from the raw content specified by a DOM tree with a custom variable resolver and inserts before a particular component.static ComponentExecutions.createComponentsDirectly(Reader reader, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content read from the specified reader.static final ComponentExecutions.createComponentsDirectly(String content, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content specified by a string.static final ComponentExecutions.createComponentsDirectly(Document content, String extension, Component parent, Map<?, ?> arg) Creates components from the raw content specified by a DOM tree.protected voidAbstractComponent.destroyIndexCacheMap(Component host) voidHtmlShadowElement.destroyIndexCacheMap(Component host) Internal useEvaluates the specified expression with ${link #getVariableResolver} andPage.getFunctionMapper()of the page of the specified component.static final ObjectEvaluates the specified expression by use of the current context (Executions.getCurrent()).static ComposerComponents.getComposer(Component comp) Returns the composer object, or null if not found.static PageComponents.getCurrentPage(Component comp) Returns the page of the give component, or the current page if the component is null or it doesn't belong to any page.Desktop.getDynamicMediaURI(Component comp, String pathInfo) Returns URI for a dynamic generated media associated with a component.Execution.getEvaluator(Component comp, Class<? extends ExpressionFactory> expfcls) Returns the evaluator of the current execution.static final EvaluatorExecutions.getEvaluator(Component comp, Class<? extends ExpressionFactory> expfcls) Returns the evaluator of the current execution.static ObjectComponents.getImplicit(Component comp, String name) Returns the implicit object of the specified name, or null if not found.static ObjectComponents.getImplicit(Page page, Component comp, String name) Returns the implicit object of the specified name, or null if not found.static intHtmlShadowElement.getIndex(ShadowElement owner, Component insertion, Map<Component, Integer> cacheMap) AbstractComponent.getIndexCacheMap(Component host) HtmlShadowElement.getIndexCacheMap(Component host) Internal usestatic final StringReturns the path of the specified component.static ComponentReturns the root component of the specified one.AbstractComponent.getShadowVariable(Component baseChild, String name, boolean recurse) Component.getShadowVariable(Component baseChild, String name, boolean recurse) Returns the shadow variable enclosed with the base component, which associated with this component or its parent component; or null if not found.protected ObjectAbstractComponent.getShadowVariable0(Component baseChild, String name, boolean recurse) protected StringAbstractComponent.getSpecialRendererOutput(Component comp) static Collection<Component>Components.getVisibleChildren(Component comp) Returns a collection of visible children.Page.getZScriptFunction(Component comp, String name, Class[] argTypes) Returns the function of the specified name by searching the logical scope of the specified component in all the loaded interpreters.Page.getZScriptVariable(Component comp, String name) Returns the value of the variable of the specified name by searching the logical scope of the specified component in all the loaded interpreters, if any.AbstractComponent.initIndexCacheMap(Component host) HtmlShadowElement.initIndexCacheMap(Component host) Internal usestatic HtmlShadowElement.DirectionHtmlShadowElement.inRange(HtmlShadowElement se, Component target) Returns the direction of the target component according to the given shadow element.booleanAbstractComponent.insertBefore(Component newChild, Component refChild) booleanComponent.insertBefore(Component newChild, Component refChild) Inserts a child before the reference child.static booleanComponents.isAncestor(Component node1, Component node2) Tests whether node1 is an ancestor of node 2.static booleanComponents.isRealVisible(Component comp) Returns whether this component is real visible (all its parents are visible).static TemplateA shortcut of lookup(comp, comp, name, null, false)static TemplateA shortcut of lookup(comp, base, name, null, false)static TemplateA shortcut of lookup(comp, base, name, compBase, false)static TemplateTemplates.lookup(Component comp, Component base, String name, Component compBase, boolean excludeBase) Lookup the template with some information.booleanHtmlShadowElement.mergeToHost(Component host) Merge the host into the current shadow, unlikeHtmlShadowElement.setShadowHost(Component, Component)voidAbstractComponent.onChildAdded(Component child) Default: handles special event listeners.voidHtmlShadowElement.onChildAdded(Component child) voidAbstractComponent.onChildRemoved(Component child) Default: handles special event listeners.protected voidHtmlShadowElement.onHostAttached(Component host) voidHtmlShadowElement.onHostChildAdded(Component child) Default: does nothing.voidShadowElementCtrl.onHostChildAdded(Component child) Called when a child of a host is added into this shadow element.voidHtmlShadowElement.onHostChildRemoved(Component child) Default: does nothing.voidShadowElementCtrl.onHostChildRemoved(Component child) Called when a child of a host is added into this shadow element.protected voidHtmlShadowElement.onHostDetached(Component host) voidAbstractComponent.onParentChanged(Component parent) static final ComponentComponents.pathToComponent(String path, Component ref) Converts a path, generated byComponents.componentToPath(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Component), to a component.voidQueues the give event for the specified target to this execution.static voidComponents.removeAllChildren(Component comp) Removes all children of the specified component.booleanAbstractComponent.removeChild(Component child) booleanComponent.removeChild(Component child) Removes a child.booleanAbstractComponent.removeForward(String orgEvent, Component target, String targetEvent) booleanComponent.removeForward(String originalEvent, Component target, String targetEvent) Removes a forward condition that was added byaddForward(String, Component, String).protected voidReplace the specified component with this component in the component tree.static voidReplaces a component with another.static voidComponents.replaceChildren(Component parent, Collection<Component> newChildren) Replaces all children of the specified component.HtmlShadowElement.resolveVariable(Component child, String name, boolean recurse) ShadowElementCtrl.resolveVariable(Component child, String name, boolean recurse) Returns the variable associated with this base component or null if not found.booleanHtmlMacroComponent.setInlineParent(Component parent, Component beforeSibling) voidAbstractComponent.setPageBefore(Page page, Component refRoot) voidComponent.setPageBefore(Page page, Component refRoot) Sets what page this component belongs to, and insert this component right before the reference component.voidvoidSets the parent component.voidChanges the parent.voidprotected static voidHtmlShadowElement.setPrevInsertion(Component target, Component prevInsertion) voidHtmlShadowElement.setShadowHost(Component host, Component insertBefore) voidShadowElementCtrl.setShadowHost(Component host, Component insertBefore) Sets the owner component that hosts this shadow element.protected voidHtmlShadowElement.shrinkRange(Component firstChild, Component lastChild) static voidComponents.smartUpdate(Component comp, String key, Object value, boolean append) Adds the smartUpdate command to the specific component.protected voidHtmlShadowElement.stretchRange(Component firstChild, Component lastChild) voidHtmlShadowElement.updateFirstInsertion(Component newFirstInsertion) Updates the given first insertion to this shadow element.voidHtmlShadowElement.updateLastInsertion(Component newLastInsertion) Updates the given last insertion to this shadow element.voidHtmlShadowElement.updateNextInsertion(Component newNextInsertion) Updates the given next insertion to this shadow element.voidHtmlShadowElement.updatePreviousInsertion(Component newPreviousInsertion) Updates the given previous insertion to this shadow element.Method parameters in org.zkoss.zk.ui with type arguments of type ComponentModifier and TypeMethodDescriptionprotected static voidAbstractComponent.addClientEvent(Class<? extends Component> cls, String evtnm, int flags) Adds an event that the client might send to the server.Page.getComponentDefinition(Class<? extends Component> cls, boolean recurse) Returns the component definition of the specified class, or null if not found.protected StringAbstractComponent.getDefaultMold(Class<? extends Component> klass) Returns the default mold for the given class.static intHtmlShadowElement.getIndex(ShadowElement owner, Component insertion, Map<Component, Integer> cacheMap) static voidComponents.replaceChildren(Component parent, Collection<Component> newChildren) Replaces all children of the specified component.static voidComponents.sort(List<? extends Component> list, int from, int to, Comparator<? super Component> cpr) Sorts the components in the list.static voidComponents.sort(List<? extends Component> list, int from, int to, Comparator<? super Component> cpr) Sorts the components in the list.static voidComponents.sort(List<? extends Component> list, Comparator<? super Component> cpr) Sorts the components in the list.static voidComponents.sort(List<? extends Component> list, Comparator<? super Component> cpr) Sorts the components in the list.Constructors in org.zkoss.zk.ui with parameters of type ComponentModifierConstructorDescriptionArithmeticWrongValueException(Component comp, int code) ArithmeticWrongValueException(Component comp, int code, Object fmtArg) ArithmeticWrongValueException(Component comp, int code, Object[] fmtArgs) ArithmeticWrongValueException(Component comp, int code, Object[] fmtArgs, Object value) ArithmeticWrongValueException(Component comp, String msg, Object value) ArithmeticWrongValueException(Component comp, String msg, Throwable cause, Object value) Returns the path of the specified component.WrongValueException(Component comp, int code) Constructs a wrong value exception to show an error box at the client.WrongValueException(Component comp, int code, Object fmtArg) Constructs a wrong value exception to show an error box at the client.WrongValueException(Component comp, int code, Object[] fmtArgs) Constructs a wrong value exception to show an error box at the client.WrongValueException(Component comp, String msg) Constructs a wrong value exception to show an error box at the client.WrongValueException(Component comp, String msg, Throwable cause) Constructs a wrong value exception. -
Uses of Component in org.zkoss.zk.ui.event
Classes in org.zkoss.zk.ui.event with type parameters of type ComponentModifier and TypeClassDescriptionclassSelectEvent<T extends Component,E> Represents an event cause by user's the list selection is changed at the client.static interfaceSelectEvent.SelectedObjectHandler<T extends Component>A handle to retrieve selected objects from selected items (components) if possible.Methods in org.zkoss.zk.ui.event with type parameters of type ComponentModifier and TypeMethodDescriptionstatic final <T extends Component,E>
SelectEvent<T,E> SelectEvent.getSelectEvent(AuRequest request) Converts an AU request to a select event.static final <T extends Component,E>
SelectEvent<T,E> SelectEvent.getSelectEvent(AuRequest request, SelectEvent.SelectedObjectHandler<T> handler) Converts an AU request to a select event.Methods in org.zkoss.zk.ui.event that return ComponentModifier and TypeMethodDescriptionMouseEvent.getAreaComponent()Returns the component representing the area that the click occurs, or null if not associated with any component.final ComponentDropEvent.getDragged()Returns the component being dragged and drop toEvent.getTarget().KeyEvent.getReference()Returns the reference item that is the component causing the key event to be fired.OpenEvent.getReference()Returns the reference that causesEvent.getTarget()to be opened.final ComponentEvent.getTarget()Returns the target component that receives this event, or null if broadcast.Methods in org.zkoss.zk.ui.event with parameters of type ComponentModifier and TypeMethodDescriptionvoidEventThreadResume.abortResume(Component comp, Event evt) Called when the suspended event thread is aborted.static final voidEvents.addEventListeners(Component comp, Object controller) Add onXxx event handler defined in controller object to the specified component.voidEventThreadResume.afterResume(Component comp, Event evt) Called after the suspended event thread is resumed.voidEventThreadSuspend.afterSuspend(Component comp, Event evt) Called in the servlet thread after the event processing thread has been suspended.voidEventThreadResume.beforeResume(Component comp, Event evt) Called just before the suspended event thread is resumed.voidEventThreadSuspend.beforeSuspend(Component comp, Event evt, Object obj) Called before the event processing thread is suspended.voidGenericEventListener.bindComponent(Component comp) A convenient method that help you register this event listener to the specified target component.voidCleans up the event processing thread.voidCalled in the serlvet thread to clean up.static final voidEchos an event.static final voidEchos an event.static UploadEventUploadEvent.getUploadEvent(String name, Component component, AuRequest request) Creates an instance ofUploadEventbased on the event name and component, theUploadEventcontains the upload media(s) from user.booleanInitialize the event processing thread before processing the event.static booleanEvents.isListened(Component comp, String evtnm, boolean asap) Returns whether an event handler or listener is available for the specified component and event.static final voidPosts an instance ofEventto the current execution with the specified priority.static final voidQueues the give event for the specified target to this execution.static final voidPosts an instance ofEventto the current execution.static final voidQueues the give event for the specified target to this execution.voidPrepares the initialization at the servlet thread.static voidSends the event to the target, and processes it immediately.static voidSends the event to the specified component and process it immediately.voidGenericEventListener.unbindComponent(Component comp) A convenient method that help you remove this event listener from the specified target component.Constructors in org.zkoss.zk.ui.event with parameters of type ComponentModifierConstructorDescriptionAfterSizeEvent(String name, Component target, int width, int height) Constructs an AfterSizeEvent.CheckEvent(String name, Component target, boolean checked) Constructs a check-relevant event.CheckEvent(String name, Component target, Boolean checked) Constructs a check-relevant event.CreateEvent(String name, Component target, Map<?, ?> args) DOMExceptionEvent(String name, Component target, String errorName, String errorMessage) DropEvent(String name, Component target, Component dragged, int x, int y, int pageX, int pageY, int keys) Constructs a drop event.Constructs an error-relevant event.Constructs a simple event.Constructs a simple event.ForwardEvent(String name, Component target, Event origin) Constructs a forward event.ForwardEvent(String name, Component target, Event origin, Object data) Constructs a forward event.FulfillEvent(String name, Component target, Event origin) Constructs a fulfill event.FulfillEvent(String name, Component target, Event origin, Object data) Constructs a fulfill event.InputEvent(String name, Component target, String val, Object oldValue) Constructs a input-relevant event.InputEvent(String name, Component target, String val, Object oldValue, boolean selbk, int start) Constructs an input eventKeyEvent(String name, Component target, int keyCode, boolean ctrlKey, boolean shiftKey, boolean altKey) KeyEvent(String name, Component target, int keyCode, boolean ctrlKey, boolean shiftKey, boolean altKey, boolean metaKey, Component ref) Constructs an event with MetaKeyKeyEvent(String name, Component target, int keyCode, boolean ctrlKey, boolean shiftKey, boolean altKey, Component ref) Constructs a mouse relevant event.MaximizeEvent(String name, Component target, String left, String top, String width, String height, boolean maximized) MinimizeEvent(String name, Component target, String left, String top, String width, String height, boolean minimized) MouseEvent(String name, Component target) Construct a mouse relevant event with coordinate or area.MouseEvent(String name, Component target, int x, int y, int pageX, int pageY) Constructs a mouse relevant event.MouseEvent(String name, Component target, int x, int y, int pageX, int pageY, int keys) Constructs a mouse relevant event.MouseEvent(String name, Component target, String area, int keys) Constructs a mouse relevant event with a logic name called area.Constructs a mouse relevant event.Constructs an onOpen event.Constructs an onOpen event for a context menu, a tooltip or a popup.Constructs an onOpen event.ScriptErrorEvent(String name, Component target, String message, String stack) ScrollEvent(String name, Component target, double pos) Constructs an scroll-relevant event.ScrollEvent(String name, Component target, double dPos, boolean outBound) Constructs an scroll-relevant event.ScrollEvent(String name, Component target, int pos) Constructs an scroll-relevant event.ScrollEvent(String name, Component target, int pos, boolean outBound) Constructs an scroll-relevant event.SelectEvent(String name, Component target, Set<T> selectedItems) Constructs a selection event.SelectEvent(String name, Component target, Set<T> selectedItems, Set<T> previousSelectedItems, Set<T> unselectedItems, Set<E> selectedObjects, Set<E> prevSelectedObjects, Set<E> unselectedObjects, T ref, Object data, int keys) Constructs a selection event containing the data objects that model provided.Constructs a selection event.Constructs a selection event.SelectionEvent(String name, Component target, int start, int end, String txt) Constructs a selection event.Constructs a mouse relevant event.SlideEvent(String name, Component target, boolean slide) Constructs an onOpen event.Constructs a sort event.StateChangeEvent(String name, Component target, Integer state) Constructs the state change event.StubEvent(String name, Component target, String cmd, String uuid, String id, Map<String, Object> data) Constructs a check-relevant event.SwipeEvent(String name, Component target, int swipeX, int swipeY, int swipeTime, String swipeDir) UploadEvent(String name, Component target, Media[] meds) Constructs the upload event.Constructs an URI update event.ZIndexEvent(String name, Component target, int zIndex) Constructs a mouse relevant event. -
Uses of Component in org.zkoss.zk.ui.ext
Methods in org.zkoss.zk.ui.ext that return ComponentModifier and TypeMethodDescriptionCreates a native component with the specified content.Methods in org.zkoss.zk.ui.ext with parameters of type ComponentModifier and TypeMethodDescriptionstatic StringUploads.getRealUpload(Component comp, String upload) Gets the real upload setting for client.static voidUploads.parseUpload(Component comp, String upload) Parse the setting and update the upload-related attributes with the component.booleanMacro.setInlineParent(Component parent, Component beforeSibling) Sets the parent to the given one and insert the children of the inline macro right before the given sibling (beforeSibling). -
Uses of Component in org.zkoss.zk.ui.ext.render
Methods in org.zkoss.zk.ui.ext.render that return ComponentModifier and TypeMethodDescriptionCropper.getCropOwner()Returns the owner of the cropping scope.Methods in org.zkoss.zk.ui.ext.render that return types with arguments of type ComponentModifier and TypeMethodDescriptionCropper.getAvailableAtClient()Returns a set of child components that are available at the client, or null if ALL available. -
Uses of Component in org.zkoss.zk.ui.http
Methods in org.zkoss.zk.ui.http with parameters of type ComponentModifier and TypeMethodDescriptionExecutionImpl.getEvaluator(Component comp, Class<? extends ExpressionFactory> expfcls) -
Uses of Component in org.zkoss.zk.ui.impl
Classes in org.zkoss.zk.ui.impl with type parameters of type ComponentModifier and TypeClassDescriptionclassMultiComposer<T extends Component>To proxy a collection of composers.Methods in org.zkoss.zk.ui.impl that return ComponentModifier and TypeMethodDescriptionAbstractExecution.createComponents(String uri, Map<?, ?> arg) AbstractExecution.createComponents(String uri, Component parent, Map<?, ?> arg) AbstractExecution.createComponents(String uri, Component parent, Component insertBefore, VariableResolver resolver) AbstractExecution.createComponents(String uri, Component parent, Component insertBefore, VariableResolver resolver, Map<?, ?> arg) AbstractExecution.createComponents(String uri, Page page, VariableResolver resolver, Map<?, ?> arg) AbstractExecution.createComponents(PageDefinition pagedef, Map<?, ?> arg) AbstractExecution.createComponents(PageDefinition pagedef, Component parent, Map<?, ?> arg) AbstractExecution.createComponents(PageDefinition pagedef, Component parent, Component insertBefore, VariableResolver resolver) UiEngineImpl.createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, VariableResolver resolver, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(Reader reader, String ext, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(Reader reader, String ext, Component parent, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(Reader reader, String ext, Component parent, Component insertBefore, VariableResolver resolver) AbstractExecution.createComponentsDirectly(String content, String ext, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(String content, String ext, Component parent, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(String content, String ext, Component parent, Component insertBefore, VariableResolver resolver) AbstractExecution.createComponentsDirectly(Document content, String ext, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(Document content, String ext, Component parent, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(Document content, String ext, Component parent, Component insertBefore, VariableResolver resolver) final ComponentEventProcessingThreadImpl.getComponent()final ComponentEventProcessor.getComponent()Returns the component.DesktopImpl.getComponentByUuid(String uuid) DesktopImpl.getComponentByUuidIfAny(String uuid) final ComponentPageImpl.getOwner()ProxyEvent.getRealTarget()Returns the real target.DesktopImpl.mapComponent(String uuid, Component comp) AbstractUiFactory.newComponent(Page page, Component parent, ComponentDefinition compdef, String clsnm) AbstractUiFactory.newComponent(Page page, Component parent, ComponentInfo compInfo, Component insertBefore) AbstractUiFactory.newComponent(Page page, Component parent, ShadowInfo compInfo, Component insertBefore) Methods in org.zkoss.zk.ui.impl that return types with arguments of type ComponentMethods in org.zkoss.zk.ui.impl with parameters of type ComponentModifier and TypeMethodDescriptionvoidDesktopImpl.addComponent(Component comp) voidPageImpl.addDeferredZScript(Component parent, ZScript zscript) voidUiEngineImpl.addInvalidate(Component comp) voidvoidUiEngineImpl.addSmartUpdate(Component comp, String attr, Object value, boolean append) voidUiEngineImpl.addSmartUpdate(Component comp, String attr, Object value, int priority) voidUiEngineImpl.addUuidChanged(Component comp) voidDesktopImpl.afterComponentAttached(Component comp, Page page) voidDesktopImpl.afterComponentDetached(Component comp, Page prevpage) voidDesktopImpl.afterComponentMoved(Component parent, Component child, Component prevparent) voidUiEngineExtension.afterCreate(Component[] comps) voidUiEngineImpl.Extension.afterCreate(Component[] comps) Called after the whole component tree has been created by this engine.voidUiEngineImpl.clearSmartUpdate(Component comp) AbstractExecution.createComponents(String uri, Component parent, Map<?, ?> arg) AbstractExecution.createComponents(String uri, Component parent, Component insertBefore, VariableResolver resolver) AbstractExecution.createComponents(String uri, Component parent, Component insertBefore, VariableResolver resolver, Map<?, ?> arg) AbstractExecution.createComponents(PageDefinition pagedef, Component parent, Map<?, ?> arg) AbstractExecution.createComponents(PageDefinition pagedef, Component parent, Component insertBefore, VariableResolver resolver) UiEngineImpl.createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, VariableResolver resolver, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(Reader reader, String ext, Component parent, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(Reader reader, String ext, Component parent, Component insertBefore, VariableResolver resolver) AbstractExecution.createComponentsDirectly(String content, String ext, Component parent, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(String content, String ext, Component parent, Component insertBefore, VariableResolver resolver) AbstractExecution.createComponentsDirectly(Document content, String ext, Component parent, Map<?, ?> arg) AbstractExecution.createComponentsDirectly(Document content, String ext, Component parent, Component insertBefore, VariableResolver resolver) booleanUiEngineImpl.disableClientUpdate(Component comp, boolean disable) MultiComposer.doBeforeCompose(Page page, Component parent, ComponentInfo compInfo) static ComponentInfoUtils.getComponentInfo(Component comp) Returns the component info associated with the given component, or null if not available.DesktopImpl.getDynamicMediaURI(Component comp, String pathInfo) UiEngineImpl.getNativeContent(Component comp, List<NodeInfo> children, Native.Helper helper) DesktopImpl.getNextUuid(Component comp) PageImpl.getZScriptFunction(Component comp, String name, Class[] argTypes) PageImpl.getZScriptVariable(Component comp, String name) booleanUiEngineImpl.isInvalidated(Component comp) DesktopImpl.mapComponent(String uuid, Component comp) AbstractUiFactory.newComponent(Page page, Component parent, ComponentDefinition compdef, String clsnm) AbstractUiFactory.newComponent(Page page, Component parent, ComponentInfo compInfo, Component insertBefore) AbstractUiFactory.newComponent(Page page, Component parent, ShadowInfo compInfo, Component insertBefore) StaticIdGenerator.nextComponentUuid(Desktop desktop, Component comp, ComponentInfo compInfo) voidDesktopImpl.onPiggybackListened(Component comp, boolean listen) voidbooleanEventProcessingThreadImpl.processEvent(Desktop desktop, Component comp, Event event) Ask this event thread to process the specified event.booleanDesktopImpl.removeComponent(Component comp) voidstatic voidUtils.setComponentInfo(Component comp, ComponentInfo info) Sets the component info for the given component.final voidstatic voidUtils.setShadowInfo(Component comp, ShadowInfo info) Sets the component info for the given component.static final booleanUtils.testAttribute(Component comp, String name, boolean defValue, boolean recurse) Tests if the given attribute is defined in a component or in library property.Method parameters in org.zkoss.zk.ui.impl with type arguments of type ComponentModifier and TypeMethodDescriptionprotected voidUiEngineImpl.afterRenderComponents(Collection<Component> comps) Called when this engine renders the given components.voidUiEngineImpl.Extension.afterRenderComponents(Collection<Component> comps) Called when this engine renders the given components.PageImpl.getComponentDefinition(Class<? extends Component> cls, boolean recurse) Constructors in org.zkoss.zk.ui.impl with parameters of type ComponentModifierConstructorDescriptionEventProcessor(Desktop desktop, Component comp, Event event) ProxyEvent(Component realTarget, Event event) Constructor. -
Uses of Component in org.zkoss.zk.ui.metainfo
Methods in org.zkoss.zk.ui.metainfo that return ComponentModifier and TypeMethodDescriptionComponentDefinition.newInstance(Class<? extends Component> cls) Creates an component of this definition.ComponentDefinition.newInstance(Page page, String clsnm) Creates an component of this definition.ComponentInfo.newInstance(Page page) Creates an component based on this info (never null).ComponentInfo.newInstance(Page page, Component parent) Creates an component based on this info (never null).NativeInfo.newInstance(Page page, Component parent) ShadowInfo.newInstance(Page page) Creates a shadow element based on this info (never null).ShadowInfo.newInstance(Page page, Component parent) Creates an component based on this info (never null).Methods in org.zkoss.zk.ui.metainfo with parameters of type ComponentModifier and TypeMethodDescriptionvoidApplies the custom attributes.voidApplies the custom attributes.voidApplies the variable element against the parent component.voidComponentDefinition.applyAttributes(Component comp) Applies the custom attributes defined in this definition to the specified component.voidComponentDefinition.applyProperties(Component comp) Applies the properties defined in this definition to the specified component.voidComponentInfo.applyProperties(Component comp) Applies the event handlers and properties to the specified component.voidShadowInfo.applyProperties(Component comp) Applies the event handlers and properties to the specified component.voidAssigns the value of this member to the specified component.static final voidAssigns a property.voidvoidvoidEvaluates and retrieves properties to the specified map.ComponentInfo.evalProperties(Map<String, Object> propmap, Page owner, Component parent, boolean defIncluded) Evaluates and retrieves properties to the specified map fromComponentDefinition(andComponentInfo).Returns the first effective event handler of the specified event name, or null if not available.ZScript.getContent(Page page, Component comp) Returns the content of zscript.ZScriptInfo.getContent(Page page, Component comp) Returns the content of zscript.ComponentDefinition.getDefaultWidgetClass(Component comp) Returns the default widget class, or null if not available.Returns the script associated with this event handler.Returns the URI to create the template from, or null if not specified.Evaluates the value to an Object.Returns the value after evaluation.Returns the value associated with this event handler.ComponentDefinition.getWidgetClass(Component comp, String moldName) Returns the widget class associated with specified mold, or the default widget class (ComponentDefinition.getWidgetClass(org.zkoss.zk.ui.Component, java.lang.String)) if not available.booleanComponentDefinition.isInstance(Component comp) Returns whether a component belongs to this definition.ComponentInfo.newInstance(Page page, Component parent) Creates an component based on this info (never null).NativeInfo.newInstance(Page page, Component parent) ShadowInfo.newInstance(Page page, Component parent) Creates an component based on this info (never null).Object[]ZkInfo.resolveCase(Page page, Component comp) Returns the case condition's value, or null if no case is specified (i.e.,ZkInfo.withCase()is false.ComponentInfo.resolveComposer(Page page, Component comp) Returns the composer for this info, or null if not available.ComponentInfo.resolveImplementationClass(Page page, Component parent) Resolves and returns the class for the component represented by this info (never null).TemplateInfo.resolveParameters(Component comp) Evaluates and returns a readonly map of parameters assigned to this template (never null).ZkInfo.resolveSwitch(Page page, Component comp) Returns the switch condition's value; evaluate EL expression if any.ComponentInfo.resolveWidgetClass(Component comp) Resolves the widget class, or null if the default is expected.Method parameters in org.zkoss.zk.ui.metainfo with type arguments of type ComponentModifier and TypeMethodDescriptionComponentDefinition.newInstance(Class<? extends Component> cls) Creates an component of this definition.voidComponentDefinition.setImplementationClass(Class<? extends Component> cls) Sets the class to implements the component.voidLanguageDefinition.setMacroTemplate(Class<? extends Component> klass) Sets the macro template.voidLanguageDefinition.setNativeTemplate(Class<? extends Component> klass) Sets the native template.voidLanguageDefinition.setShadowTemplate(Class<? extends Component> klass) Sets the shadow template. -
Uses of Component in org.zkoss.zk.ui.metainfo.impl
Methods in org.zkoss.zk.ui.metainfo.impl that return ComponentModifier and TypeMethodDescriptionComponentDefinitionImpl.newInstance(Class<? extends Component> cls) ComponentDefinitionImpl.newInstance(Page page, String clsnm) Methods in org.zkoss.zk.ui.metainfo.impl with parameters of type ComponentModifier and TypeMethodDescriptionvoidAnnotationHelper.applyAnnotations(Component comp, String propName, boolean clear) Applies the annotations defined in this helper to the specified component.voidComponentDefinitionImpl.applyAttributes(Component comp) voidComponentDefinitionImpl.applyProperties(Component comp) ComponentDefinitionImpl.getDefaultWidgetClass(Component comp) ComponentDefinitionImpl.getWidgetClass(Component comp, String moldName) booleanComponentDefinitionImpl.isInstance(Component comp) Method parameters in org.zkoss.zk.ui.metainfo.impl with type arguments of type ComponentModifier and TypeMethodDescriptionComponentDefinitionImpl.newInstance(Class<? extends Component> cls) static final ComponentDefinitionComponentDefinitionImpl.newMacroDefinition(LanguageDefinition langdef, PageDefinition pgdef, String name, Class<? extends Component> cls, String macroURI, boolean inline) Constructs a macro component definition.static final ComponentDefinitionComponentDefinitionImpl.newNativeDefinition(LanguageDefinition langdef, String name, Class<? extends Component> cls) Constructs a native component definition.static final ComponentDefinitionComponentDefinitionImpl.newShadowDefinition(LanguageDefinition langdef, PageDefinition pgdef, String name, Class<? extends Component> cls, String templateURI) Constructs a shadow component definition.voidComponentDefinitionImpl.setImplementationClass(Class<? extends Component> cls) Constructor parameters in org.zkoss.zk.ui.metainfo.impl with type arguments of type ComponentModifierConstructorDescriptionComponentDefinitionImpl(LanguageDefinition langdef, PageDefinition pgdef, String name, Class<? extends Component> cls) Constructs a native component, i.e., a component implemented by a Java class.ShadowDefinitionImpl(LanguageDefinition langdef, PageDefinition pgdef, String name, Class<? extends Component> cls) -
Uses of Component in org.zkoss.zk.ui.select
Classes in org.zkoss.zk.ui.select with type parameters of type ComponentModifier and TypeClassDescriptionclassSelectorComposer<T extends Component>A composer analogous to GenericForwardComposer.Methods in org.zkoss.zk.ui.select that return types with arguments of type ComponentModifier and TypeMethodDescriptionReturns a list of Components that match the selector (from the first page of current Desktop).Returns a list of Components that match the selector.Returns a list of Components that match the selector.Returns an Iterable that iterates through all Components matched by the selector.Returns an Iterable that iterates through all Components matched by the selector.Methods in org.zkoss.zk.ui.select with parameters of type ComponentModifier and TypeMethodDescriptionvoidSelectorComposer.didActivate(Component comp) SelectorComposer.doBeforeCompose(Page page, Component parent, ComponentInfo compInfo) Returns a list of Components that match the selector.Returns an Iterable that iterates through all Components matched by the selector.static voidSelectors.rewireComponentsOnActivate(Component component, Object controller) Rewire the components on session activationstatic voidSelectors.rewireVariablesOnActivate(Component component, Object controller, List<VariableResolver> extraResolvers) Rewire the variables on session activationInternal use only.voidSelectorComposer.willPassivate(Component comp) static voidSelectors.wireComponents(Component component, Object controller, boolean ignoreNonNull) Wire components to controller.static voidSelectors.wireEventListeners(Component component, Object controller) Add event listeners to components based on the controller.static voidSelectors.wireVariables(Component component, Object controller, List<VariableResolver> extraResolvers) Wire variables to controller, including XEL variables, implicit variables. -
Uses of Component in org.zkoss.zk.ui.select.impl
Methods in org.zkoss.zk.ui.select.impl that return ComponentModifier and TypeMethodDescriptionComponentMatchCtx.getComponent()Return the component.ComponentIterator.next()Return the next matched component.ComponentIterator.peek()Return the next matched component, but the iteration is not proceeded.Methods in org.zkoss.zk.ui.select.impl with parameters of type ComponentModifier and TypeMethodDescriptionstatic booleanReturns true if the selector matches the given component.static booleanComponentLocalProperties.match(Component component, String selector, Map<String, PseudoClassDef> defs) Returns true if the selector matches the given component.Constructors in org.zkoss.zk.ui.select.impl with parameters of type ComponentModifierConstructorDescriptionComponentIterator(Component root, String selector) Create an iterator which selects from all the descendants of a given component, including itself. -
Uses of Component in org.zkoss.zk.ui.sys
Classes in org.zkoss.zk.ui.sys that implement ComponentModifier and TypeClassDescriptionclassA stub component is a 'degenerated' component that does not maintain the states at the server.classRepresents a tree ofStubComponentthat are merged into a single component.Methods in org.zkoss.zk.ui.sys that return ComponentModifier and TypeMethodDescriptionUiEngine.createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, VariableResolver resolver, Map<?, ?> arg) Creates components from the specified page and definition.static final Component[]ShadowElementsCtrl.filterOutShadows(Component[] shadows) Returns the component array filter out shadows if any.EventProcessingThread.getComponent()Returns the component being processed by this thread, or null if idle.PageCtrl.getOwner()Returns the owner of this page, or null if it is not owned by any component.Visualizer.getOwner()Returns the owner component for this execution, or null if this execution is not owned by any component.static final ComponentComponentsCtrl.getRootParent()Returns the root parent when being called inComponentCtrl.onPageAttached(org.zkoss.zk.ui.Page, org.zkoss.zk.ui.Page)andComponentCtrl.onPageDetached(org.zkoss.zk.ui.Page)DesktopCtrl.mapComponent(String uuid, Component comp) Maps a component associated with the given UUID to this page.UiFactory.newComponent(Page page, Component parent, ComponentDefinition compdef, String clsnm) Creates and initializes a component based on the specifiedComponentDefinition.UiFactory.newComponent(Page page, Component parent, ComponentInfo compInfo, Component insertBefore) Creates and initializes a component based on the specifiedComponentInfo.UiFactory.newComponent(Page page, Component parent, ShadowInfo compInfo, Component insertBefore) Creates and initializes a shadow based on the specifiedShadowInfo.Called before a component redraws itself if the component might include another page.Methods in org.zkoss.zk.ui.sys with parameters of type ComponentModifier and TypeMethodDescriptionvoidDesktopCtrl.addComponent(Component comp) Adds a component to this page.voidPageCtrl.addDeferredZScript(Component parent, ZScript zscript) Adds a deferred zscript.voidUiEngine.addInvalidate(Component comp) Invalidates a component to cause redrawing.voidCalled to update (redraw) a component, when a component is moved.voidUiEngine.addSmartUpdate(Component comp, String attr, Object value, boolean append) Smart-updates a property of the peer widget.voidUiEngine.addSmartUpdate(Component comp, String attr, Object value, int priority) Adds a smart update that will be executed at the given priority.voidUiEngine.addUuidChanged(Component comp) Called before changing the component's UUID.voidDesktopCtrl.afterComponentAttached(Component comp, Page page) voidDesktopCtrl.afterComponentDetached(Component comp, Page prevpage) voidDesktopCtrl.afterComponentMoved(Component parent, Component child, Component prevparent) static final voidComponentsCtrl.applyForward(Component comp, String forward) Applies the forward condition to the specified component.voidComponentCtrl.beforeChildAdded(Component child, Component insertBefore) Called before adding a child.voidComponentCtrl.beforeChildRemoved(Component child) Called before removing a child.voidComponentCtrl.beforeParentChanged(Component parent) Called before changing the parent.voidUiEngine.clearSmartUpdate(Component comp) Clears all existing smart updates that belong to the given component.UiEngine.createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, VariableResolver resolver, Map<?, ?> arg) Creates components from the specified page and definition.booleanUiEngine.disableClientUpdate(Component comp, boolean disable) Sets whether to disable the update of the client widget.booleanVisualizer.disableClientUpdate(Component comp, boolean disable) Sets whether to disable the update of the client widget.static final Component[]ShadowElementsCtrl.filterOutShadows(Component[] shadows) Returns the component array filter out shadows if any.static final ObjectShadowElementsCtrl.getDistributedIndexInfo(Component host) Returns the current distributed index info, which is used only byHtmlShadowElement.UiEngine.getNativeContent(Component comp, List<NodeInfo> children, Native.Helper helper) Retrieve the native content for a property of the specified component.DesktopCtrl.getNextUuid(Component comp) Returns the next available UUID for a component.booleanUiEngine.isInvalidated(Component comp) Returns if this component needs to be redrawn.protected voidStubsComponent.mapChildren(DesktopCtrl desktopCtrl, List<String> uuids, List<String[]> idmap, List<Object[]> evtmap, Component comp) DesktopCtrl.mapComponent(String uuid, Component comp) Maps a component associated with the given UUID to this page.UiFactory.newComponent(Page page, Component parent, ComponentDefinition compdef, String clsnm) Creates and initializes a component based on the specifiedComponentDefinition.UiFactory.newComponent(Page page, Component parent, ComponentInfo compInfo, Component insertBefore) Creates and initializes a component based on the specifiedComponentInfo.UiFactory.newComponent(Page page, Component parent, ShadowInfo compInfo, Component insertBefore) Creates and initializes a shadow based on the specifiedShadowInfo.default StringIdGenerator.nextAnonymousComponentUuid(Component comp, ComponentInfo compInfo) Returns the next anonymous component UUID for the specified component, or null to generate the default UUID.default StringIdGenerator.nextComponentUuid(Desktop desktop, Component comp, ComponentInfo compInfo) Returns the next component UUID for the specified component, or null to generate the default UUID.voidComponentCtrl.onChildAdded(Component child) Called when a child is added.voidComponentCtrl.onChildRemoved(Component child) Called when a child is removed.voidStubsComponent.onChildrenMerged(Component replaced, boolean bListener) Called when this component replaced the given component, and the children of the given component shall be 'merged' to this component.voidComponentCtrl.onParentChanged(Component parent) Called after the parent changed.voidDesktopCtrl.onPiggybackListened(Component comp, boolean listen) Called when a component added or removed a listener forEvents.ON_PIGGYBACK.static final voidHtmlPageRenders.outStandalone(Execution exec, Component comp, Writer out) Generates the content of a standalone component that the peer widget is not a child of the page widget at the client.static Object[]ComponentsCtrl.parseEventExpression(Component comp, String evtexpr, Component defaultComp, boolean deferred) Pares the event expression.booleanDesktopCtrl.removeComponent(Component comp) Removes a component to this page.voidPropertiesRenderer.renderProperties(Component comp, ContentRenderer render) Renders additional properties of the given component with the givenContentRenderer.voidReplace the specified component with this component in the component tree.voidSends the specified component and event and processes the event synchronously.voidServices the event under the given page and scope.static final voidShadowElementsCtrl.setDistributedIndexInfo(Component host, Object indexMapInfo) Sets the current distributed index info, which is used only byHtmlShadowElement.voidSets the owner of this page.Called before a component redraws itself if the component might include another page.static final voidComponentsCtrl.setRootParent(Component comp) Sets root parentvoidMethod parameters in org.zkoss.zk.ui.sys with type arguments of type ComponentModifier and TypeMethodDescriptionstatic final Collection<JavaScriptValue>ComponentsCtrl.redraw(Collection<? extends Component> comps) An utilities to create an array of JavaScript objects (JavaScriptValue) that can be used to mount the specified widget at the clients. -
Uses of Component in org.zkoss.zk.ui.util
Classes in org.zkoss.zk.ui.util with type parameters of type ComponentModifier and TypeInterfaceDescriptioninterfaceRepresents a composer to initialize a component (or a component of tree) when ZK loader is composing a component.interfaceComposerExt<T extends Component>An addition interface implemented withComposerto provide more control.classGenericAutowireComposer<T extends Component>A skeletal composer that you can extend and write intuitive onXxx event handler methods with "auto-wired" accessible variable objects such as implicit objects, components, and external resolvable variables in a ZK zuml page.classGenericComposer<T extends Component>A skeletal composer that you can extend and write intuitive onXxx event handler methods; this class will registers onXxx events to the supervised component automatically.classGenericForwardComposer<T extends Component>A skeletal composer that you can extend and write intuitive onXxx$myid event handler methods with auto event forwarding and "auto-wired" accessible variable objects such as embedded objects, components, and external resolvable variables in a ZK zuml page; this class will add forward condition to the myid source component and forward source onXxx event received by the source myid component to the target onXxx$myid event (as defined in this composer) of the supervised target component; of course it will also registers onXxx$myid events to the supervised component and wire all accessible variable objects to this composer by calling setXxx() method or set xxx field value directly per the variable name.Fields in org.zkoss.zk.ui.util declared as ComponentModifier and TypeFieldDescriptionprotected TGenericAutowireComposer.selfImplicit Object; the applied component itself.Methods in org.zkoss.zk.ui.util that return ComponentModifier and TypeMethodDescriptionTemplate.create(Component parent, Component insertBefore, VariableResolver resolver, Composer composer) Creates the components defined in this template.Methods in org.zkoss.zk.ui.util with parameters of type ComponentModifier and TypeMethodDescriptionstatic voidConventionWires.addForwards(Component comp, Object controller) Adds forward conditions to myid source component so onXxx source event received by myid component can be forwarded to the specified target component with the target event name onXxx$myid.static voidConventionWires.addForwards(Component comp, Object controller, char separator) Adds forward conditions to the specified component with a custom separator.voidConfiguration.afterComponentAttached(Component comp, Page page) InvokesUiLifeCycle.afterComponentAttached(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Page)when a component is attached to a page.voidUiLifeCycle.afterComponentAttached(Component comp, Page page) Called after a component is attached to a page.voidConfiguration.afterComponentDetached(Component comp, Page prevpage) InvokesUiLifeCycle.afterComponentDetached(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Page)when a component is detached from a page.voidUiLifeCycle.afterComponentDetached(Component comp, Page prevpage) Called after a component is detached from a page.voidConfiguration.afterComponentMoved(Component parent, Component child, Component prevparent) InvokesUiLifeCycle.afterComponentMoved(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Component)when a component is moved (a.k.a., page changed).voidUiLifeCycle.afterComponentMoved(Component parent, Component child, Component prevparent) Called after the parent/children relation is changed.voidConfiguration.afterShadowAttached(ShadowElement shadow, Component host) InvokesUiLifeCycle.afterShadowAttached(ShadowElement, Component)when a shadow is attached to a host.voidUiLifeCycle.afterShadowAttached(ShadowElement shadow, Component host) Called after a shadow is attached to a host.voidConfiguration.afterShadowDetached(ShadowElement shadow, Component prevhost) InvokesUiLifeCycle.afterShadowDetached(ShadowElement, Component)when a shadow is detached from a host.voidUiLifeCycle.afterShadowDetached(ShadowElement shadow, Component prevhost) Called after a shadow is detached from a host.static final voidClears the busy message at the browser that covers only the specified component.static final voidClients.clearWrongValue(Component comp) Closes the error message of the specified component, if any, at the browser.static final voidClients.clearWrongValue(Component[] comps) Closes the error message of the specified components, if any, at the browser.Template.create(Component parent, Component insertBefore, VariableResolver resolver, Composer composer) Creates the components defined in this template.voidComponentActivationListener.didActivate(Component comp) Called when a session has just been activated (and its value has been deserialized).voidGenericAutowireComposer.didActivate(Component comp) voidComponentSerializationListener.didDeserialize(Component comp) Called when a component has de-serialized this object back.voidComposition.doAfterCompose(Page page, Component[] comps) voidGenericInitiator.doAfterCompose(Page page, Component[] comps) voidInitiatorExt.doAfterCompose(Page page, Component[] comps) Called after all components are created (a.k.a., composed), and before any event is processed.ComposerExt.doBeforeCompose(Page page, Component parent, ComponentInfo compInfo) Invokes before composing a component.GenericComposer.doBeforeCompose(Page page, Component parent, ComponentInfo compInfo) static final voidFocus the component (HtmlBasedComponent)static ForEachForEachImpl.getInstance(EvaluatorRef evalr, Component comp, String expr, String begin, String end) Returns an instance that represents the iterator for the specified collection, or null if expr is null or empty.static ForEachForEachImpl.getInstance(EvaluatorRef evalr, Component comp, ExValue[] expr, ExValue begin, ExValue end) Returns an instance that represents the iterator for the specified collection.static ForEachForEachImpl.getInstance(EvaluatorRef evalr, Component comp, ExValue[] expr, ExValue begin, ExValue end, ExValue step) Returns an instance that represents the iterator for the specified collection.voidConfiguration.invokeEventThreadCompletes(List<EventThreadCleanup> cleanups, Component comp, Event evt, List<Throwable> errs, boolean silent) booleanConfiguration.invokeEventThreadInits(List<EventThreadInit> inits, Component comp, Event evt) voidConfiguration.invokeEventThreadResumeAborts(Component comp, Event evt) InvokesEventThreadResume.abortResume(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidConfiguration.invokeEventThreadResumes(List<EventThreadResume> resumes, Component comp, Event evt) voidConfiguration.invokeEventThreadSuspends(List<EventThreadSuspend> suspends, Component comp, Event evt) InvokesEventThreadSuspend.afterSuspend(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).booleanCondition.isEffective(Component comp) Used to evaluate whether it is effective.booleanConditionImpl.isEffective(Evaluator eval, Component comp) Used to evaluate whether it is effective.Configuration.newEventThreadCleanups(Component comp, Event evt, List<Throwable> errs, boolean silent) InvokesEventThreadCleanup.cleanup(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event, java.util.List<java.lang.Throwable>)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).Configuration.newEventThreadInits(Component comp, Event evt) Constructs a list ofEventThreadInitinstances and invokesEventThreadInit.prepare(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).Configuration.newEventThreadResumes(Component comp, Event evt) Constructs a list ofEventThreadResumeinstances and invokesEventThreadResume.beforeResume(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).Configuration.newEventThreadSuspends(Component comp, Event evt, Object obj) Constructs a list ofEventThreadSuspendinstances and invokesEventThreadSuspend.beforeSuspend(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event, java.lang.Object)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).static final voidForces the client to re-calculate the size of the given component.static final voidClients.scrollIntoView(Component cmp) Scrolls the ancestor elements to make the specified element visible.static final voidClients.sendClientCommand(Component component, String commandName, Object data) Send a command to client (afterCommand)static voidDisplays a message.static voidNotification.show(String msg, String type, Component ref, int x, int y, int duration, boolean closable) Displays a message.static voidDisplays a message.static voidNotification.show(String msg, String type, Component ref, String position, int duration, boolean closable) Displays a message.static voidShows a message at the right side of the given component.static voidShows a message at the right side of the given component.static final voidShows the busy message at the browser that covers only the specified component.static final voidClients.showNotification(String msg, String type, Component ref, int x, int y, int duration) Displays a message.static final voidClients.showNotification(String msg, String type, Component ref, int x, int y, int duration, boolean closable) Displays a message.static final voidClients.showNotification(String msg, String type, Component ref, String position, int duration) Displays a message.static final voidClients.showNotification(String msg, String type, Component ref, String position, int duration, boolean closable) Displays a message.static final voidClients.showNotification(String msg, Component ref) Shows a message at the right side of the given component.static final voidClients.showNotification(String msg, Component ref, boolean closable) Shows a message at the right side of the given component.static final voidClients.submitForm(Component form) Submits the form with the specified form.static final voidClients.syncErrorbox(Component component) Send a command to sync a target component and its errorbox position.Called when a component is going to be cloned.Internal use only.voidComponentActivationListener.willPassivate(Component comp) Called when a session is about to be passivated (and then serialize its value).voidGenericAutowireComposer.willPassivate(Component comp) voidComponentSerializationListener.willSerialize(Component comp) Called when a component is going to serialize this object.static final voidConventionWires.wireController(Component comp, Object controller) Wire controller as an attribute of the specified component.static final voidConventionWires.wireController(Component comp, Object controller, char separator) Wire controller as an attribute of the specified component with a custom separator.static final voidConventionWires.wireImplicit(Component comp, Object controller) Wire implicit variables of the specified component into a controller Java object.static final voidConventionWires.wireServiceCommand(Component comp, Object controller) Wire controller's command method to be an AuService command that the command can be triggered from client side JavaScript.static final voidConventionWires.wireVariables(Component comp, Object controller) Wire accessible variable objects of the specified component into a controller Java object.static final voidConventionWires.wireVariables(Component comp, Object controller, char separator) Wire accessible variable objects of the specified component with a custom separator.static final voidConventionWires.wireVariables(Component comp, Object controller, char separator, boolean ignoreZScript, boolean ignoreXel) Wire controller as a variable objects of the specified component with full control.static final voidClients.wrongValue(Component comp, String msg) Shows an error message for the specified component, if any, at the browser.Method parameters in org.zkoss.zk.ui.util with type arguments of type ComponentModifier and TypeMethodDescriptionstatic final voidClients.clearWrongValue(List<Component> comps) Closes the error message of the specified components, if any, at the browser.Constructors in org.zkoss.zk.ui.util with parameters of type ComponentModifierConstructorDescriptionForEachImpl(EvaluatorRef evalr, Component comp, String expr, String begin, String end) Constructor.ForEachImpl(EvaluatorRef evalr, Component comp, ExValue[] expr, ExValue begin, ExValue end) Constructor.ForEachImpl(EvaluatorRef evalr, Component comp, ExValue[] expr, ExValue begin, ExValue end, ExValue step) Constructor. -
Uses of Component in org.zkoss.zk.xel
Methods in org.zkoss.zk.xel with parameters of type ComponentModifier and TypeMethodDescriptionEvaluator.evaluate(Component comp, Expression expression) Evaluates the expression.static ObjectEvaluates the specified expression (which might or might not contain ${ or #{).Returns the value after evaluation. -
Uses of Component in org.zkoss.zk.xel.impl
Methods in org.zkoss.zk.xel.impl with parameters of type ComponentModifier and TypeMethodDescriptionSimpleEvaluator.evaluate(Component comp, Expression expression) static ObjectUtils.evaluateComposite(Evaluator eval, Component comp, Object expr) Evaluates the composite expression parsed byUtils.parseComposite(java.lang.String, java.lang.Class, int)against a component. -
Uses of Component in org.zkoss.zkex.bind.impl
Methods in org.zkoss.zkex.bind.impl with parameters of type ComponentModifier and TypeMethodDescriptionvoidReferenceBindingHandlerImpl.addReferenceBinding(Component comp, String attr, ReferenceBinding binding) voidReferenceBindingHandlerImpl.removeReferenceBinding(Component comp) voidReferenceBindingHandlerImpl.removeReferenceBinding(Component comp, String attr) -
Uses of Component in org.zkoss.zkex.ui.event
Constructors in org.zkoss.zkex.ui.event with parameters of type ComponentModifierConstructorDescriptionRotationEvent(String name, Component target) Constructs a rotation event.RotationEvent(String name, Component target, Object data) Constructs a rotation event.Constructs a zoom event.Constructs a zoom event. -
Uses of Component in org.zkoss.zkex.zul
Classes in org.zkoss.zkex.zul that implement ComponentModifier and TypeClassDescriptionclassA Colorbox used to retrieve an input that the user can select a color.classThe column of Columnlayout.classA columnlayout lays out a container which can have multiple columns, and each column may contain one or more component.
Use Columnlayout need assign width (either present or pixel) on every Columnchildren, or we cannot make sure about layout look.classA fisheye item.classA fisheye bar is a bar ofFisheyethat is a menu similar to the fish eye menu on the Mac OS.classThe JasperReport component.classA PDF file viewer.classA rangeslider.classA pair of buttons for slider (rangeslider and multislider).Methods in org.zkoss.zkex.zul with parameters of type ComponentModifier and TypeMethodDescriptionvoidColumnlayout.beforeChildAdded(Component child, Component refChild) voidFisheyebar.beforeChildAdded(Component child, Component refChild) voidPdfviewer.beforeChildAdded(Component child, Component insertBefore) voidRangeslider.beforeChildAdded(Component child, Component refChild) voidColumnchildren.beforeParentChanged(Component parent) voidFisheye.beforeParentChanged(Component parent) voidPdfviewer.onChildAdded(Component child) voidPdfviewer.onChildRemoved(Component child) -
Uses of Component in org.zkoss.zkex.zul.event
Constructors in org.zkoss.zkex.zul.event with parameters of type Component -
Uses of Component in org.zkoss.zkmax.bind
Methods in org.zkoss.zkmax.bind with parameters of type ComponentModifier and TypeMethodDescriptionGsonConverter.coerceToBean(Object compAttr, Component component, BindContext ctx) JacksonConverter.coerceToBean(Object compAttr, Component component, BindContext ctx) GsonConverter.coerceToUi(Object beanProp, Component component, BindContext ctx) JacksonConverter.coerceToUi(Object beanProp, Component component, BindContext ctx) -
Uses of Component in org.zkoss.zkmax.bind.impl
Fields in org.zkoss.zkmax.bind.impl with type parameters of type ComponentModifier and TypeFieldDescriptionprotected Map<Component,Set<TrackerNode>> TrackerImplEx._compTailMapMethods in org.zkoss.zkmax.bind.impl that return types with arguments of type ComponentModifier and TypeMethodDescriptionBindUiLifeCycleExtension.getLifeCycleHandlingSet(boolean create) AnnotateBinderEx.getLookupComponentFormIdCache()Internal implementation use only.protected Map<Component,Map<Object, TrackerNode>> TrackerImplEx.initCompMap()Methods in org.zkoss.zkmax.bind.impl with parameters of type ComponentModifier and TypeMethodDescriptionvoidTrackerImplEx.addTracking(Component comp, String[] series, Binding binding) BiglistboxSelectedIndexConverter.coerceToBean(Object val, Component comp, BindContext ctx) BiglistboxSelectedObjectConverter.coerceToBean(Object val, Component comp, BindContext ctx) DropuploadNativeConverter.coerceToBean(Object compAttr, Component component, BindContext ctx) BiglistboxSelectedIndexConverter.coerceToUi(Object val, Component comp, BindContext ctx) BiglistboxSelectedObjectConverter.coerceToUi(Object val, Component comp, BindContext ctx) DropuploadNativeConverter.coerceToUi(Object beanProp, Component component, BindContext ctx) protected ObjectTemplateResolverImpl.evaluateTemplate(Component eachComp, Object eachData, int index, int size, String subType) protected TrackerNodeTrackerImplEx.getOrCreateTrackerNode(Component comp, String[] series) protected BindingTemplateResolverImpl.getTemplateBinding(Component eachComp, Object eachData, int index, int size) booleanBindUiLifeCycleExtension.isLifeCycleHandling(Component comp) voidBindUiLifeCycleExtension.markLifeCycleHandling(Component comp) voidBindUiLifeCycleExtension.removeLifeCycleHandling(Component comp) voidTrackerImplEx.removeTrackings(Component comp) Method parameters in org.zkoss.zkmax.bind.impl with type arguments of type ComponentConstructors in org.zkoss.zkmax.bind.impl with parameters of type Component -
Uses of Component in org.zkoss.zkmax.ui.event
Constructors in org.zkoss.zkmax.ui.event with parameters of type ComponentModifierConstructorDescriptionPortalDropEvent(String evtnm, Component target, Portalchildren from, Portalchildren to, Panel dragged, int droppedIndex, int draggedIndex, int droppedColumnIndex, int draggedColumnIndex) Constructs a PortalDrop event.PortalMoveEvent(String evtnm, Component target, Portalchildren from, Portalchildren to, Panel dragged, int droppedIndex) Constructs a ColumnMoved event. -
Uses of Component in org.zkoss.zkmax.zul
Classes in org.zkoss.zkmax.zul that implement ComponentModifier and TypeClassDescriptionclassA anchornav component Anchornav synchronizes the scrolling position on a page or within ZK containers (Div, Window, etc.)classRepresents a barcodeclassA Barcode scanner Only works for Chrome, Firefox and Edge. iOS Safari is supported since 11.classA component to handle a huge data sets and provides the same and as many as the functionalities ofListboxincluding selection, sorting, keystroke navigation, ROD(rendering-on-demand), and so on.classA camera, use to record video and take snapshot, have a preview screen.classA layout allow end user change view like change card.classCascader<E>A Cascader is a dropdown list in tree structure, and it supports TreeModel.classA component that similar to Combobox but handle the multi-selection and the select order.classA coachmark component.classAn image cropper that can select a range to get the cropped result.classA date range picker.classA drawer.classA component can handle drag files into it, and upload files to server.classA docker type layout component.classA GoldenPanel component.classA lineitem.classA linelayout component for stylistically displaying chronological information.classA Multislider.classA container is used to display navitems, it should be placed inside aNavbar.classA container that usually contains nav elements.classclassUsed to create a separator between menu items.classA container which can be used to draw a hierarchical organizational chart, you can specify aTreeModelto render the data.classAn orgchildren.classAn orgitem.classAn orgnode.classThe column of Portallayout.classA portal layout lays out a container which can have multiple columns, and each column may contain one or more panel.classRowchildren component is used for placing components inside the grid created by rowlayout component.classDivide the parent container into a row of equal-width columns separated by spacings.classA container that can scroll containing elements on touch devices.classSearchbox<E>A dropdown list that allows users to search and select items.classA signature pad for user to sign a signature on it with save, undo, clear method.classA layout container which is used to divide a component into two components.classA step is used for displaying user navigation, it should be placed inside aStepbar.classA stepbar.classThe cell of Tablelayout.classTablelayout lay outs a container as an HTML table whose columns can be specified, and rowspan and colspan of its child can also be specified to create complex layouts within the table.classA component which is similar to ckeditor but is lightweight and efficient.classAn input box for holding a time (aDateObject), but only Hour, Minute, Second are used.classA video player.Methods in org.zkoss.zkmax.zul that return ComponentMethods in org.zkoss.zkmax.zul with parameters of type ComponentModifier and TypeMethodDescriptionvoidDaterangebox.beforeChildAdded(Component child, Component refChild) Rejects ZUL child nodes.voidGoldenLayout.beforeChildAdded(Component child, Component refChild) voidLineitem.beforeChildAdded(Component child, Component refChild) voidLinelayout.beforeChildAdded(Component child, Component insertBefore) voidMultislider.beforeChildAdded(Component child, Component refChild) voidNav.beforeChildAdded(Component child, Component refChild) voidNavbar.beforeChildAdded(Component child, Component refChild) voidOrganigram.beforeChildAdded(Component child, Component insertBefore) voidOrgchildren.beforeChildAdded(Component child, Component insertBefore) voidOrgitem.beforeChildAdded(Component child, Component insertBefore) voidPortalchildren.beforeChildAdded(Component child, Component refChild) voidPortallayout.beforeChildAdded(Component child, Component refChild) voidRowchildren.beforeChildAdded(Component child, Component insertBefore) voidRowlayout.beforeChildAdded(Component child, Component refChild) voidSplitlayout.beforeChildAdded(Component child, Component refChild) voidStepbar.beforeChildAdded(Component child, Component insertBefore) voidTablelayout.beforeChildAdded(Component child, Component refChild) voidVideo.beforeChildAdded(Component child, Component insertBefore) voidGoldenPanel.beforeParentChanged(Component parent) voidLineitem.beforeParentChanged(Component parent) voidNav.beforeParentChanged(Component parent) voidNavitem.beforeParentChanged(Component parent) voidOrgchildren.beforeParentChanged(Component parent) voidOrgitem.beforeParentChanged(Component parent) voidPortalchildren.beforeParentChanged(Component parent) voidRowchildren.beforeParentChanged(Component parent) voidStep.beforeParentChanged(Component parent) voidTablechildren.beforeParentChanged(Component parent) booleanCardlayout.insertBefore(Component newChild, Component refChild) booleanGoldenLayout.insertBefore(Component newChild, Component refChild) booleanOrganigram.insertBefore(Component newChild, Component refChild) booleanOrgitem.insertBefore(Component newChild, Component refChild) booleanStepbar.insertBefore(Component newChild, Component refChild) voidGoldenLayout.onChildAdded(Component child) voidMultislider.onChildAdded(Component child) voidOrgchildren.onChildAdded(Component child) voidOrgitem.onChildAdded(Component child) voidOrganigram.onChildRemoved(Component child) voidOrgchildren.onChildRemoved(Component child) voidOrgitem.onChildRemoved(Component child) booleanCardlayout.removeChild(Component child) booleanStepbar.removeChild(Component child) MatrixRenderer.renderCell(Component owner, T data, int rowIndex, int colIndex) Renders the content of the cell as HTML result.MatrixRenderer.renderHeader(Component owner, T data, int rowIndex, int colIndex) Renders the content of the header as HTML result.voidSet the anchor of dropupload, it allows the dropupload component to anchor to another component and overlay that component when the user drag & drops files to the browser.voidvoidvoidSets the target component of this coachmark. -
Uses of Component in org.zkoss.zkmax.zul.event
Constructors in org.zkoss.zkmax.zul.event with parameters of type ComponentModifierConstructorDescriptionCellClickEvent(String name, Component target, int x, int y, int pageX, int pageY, int keys, int columnIndex, int rowIndex) CellClickEvent(String name, Component target, String area, int keys, int columnIndex, int rowIndex) DetectEvent(String name, Component target, Object data) DivisionSizeEvent(String name, Component target, boolean isVertical, int[] sizes) ScrollEventExt(String name, Component target, int x, int y) SortEventExt(String name, Component target, boolean ascending, int columnIndex) StateChangeEvent(String name, Component target, Integer state) Deprecated.Constructs the state change event. -
Uses of Component in org.zkoss.zkmax.zul.impl
Methods in org.zkoss.zkmax.zul.impl that return types with arguments of type ComponentModifier and TypeMethodDescriptionLiveGridDataLoader.getAvailableAtClient()LiveListboxDataLoader.getAvailableAtClient(boolean itemOnly) Methods in org.zkoss.zkmax.zul.impl with parameters of type Component -
Uses of Component in org.zkoss.zkplus.embed
Methods in org.zkoss.zkplus.embed with parameters of type ComponentModifier and TypeMethodDescriptionstatic final voidRenders.render(javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Component comp, String path, Writer out) Outputs the HTML tags of the given component to the given writer. -
Uses of Component in org.zkoss.zkplus.spring
Methods in org.zkoss.zkplus.spring with parameters of type ComponentModifier and TypeMethodDescriptionvoidSpringTransactionSynchronizationListener.abortResume(Component comp, Event evt) voidSpringTransactionSynchronizationListener.afterResume(Component comp, Event evt) voidSpringTransactionSynchronizationListener.beforeResume(Component comp, Event evt) voidvoidbooleanvoid -
Uses of Component in org.zkoss.zkplus.util
Methods in org.zkoss.zkplus.util with parameters of type ComponentModifier and TypeMethodDescriptionvoidThreadLocalListener.abortResume(Component comp, Event evt) voidThreadLocalListener.afterResume(Component comp, Event evt) voidThreadLocalListener.beforeResume(Component comp, Event evt) voidvoidbooleanvoid -
Uses of Component in org.zkoss.zml
Classes in org.zkoss.zml that implement ComponentModifier and TypeClassDescriptionclassXML transformer.classThe implementation of a macro component for XML output.classA comonent used to represent XML elements that are associated with the inline namespace (http://www.zkoss.org/2005/zk/inline).Methods in org.zkoss.zml that return ComponentMethods in org.zkoss.zml with parameters of type ComponentModifier and TypeMethodDescriptionbooleanXmlMacroComponent.setInlineParent(Component parent, Component beforeSibling) voidChanges the parent. -
Uses of Component in org.zkoss.zul
Classes in org.zkoss.zul that implement ComponentModifier and TypeClassDescriptionclassThe same as HTML A tag.classA container component that can contain any other ZK component and can only be contained as direct child of Absolutelayout component.classAn Absolutelayout component can contain absolute positioned multiple absolutechildren components.classDeprecated.classclassAn area of aImagemap.classAn audio clip.classUsed to define a collection of auxiliary headers (Auxheader).classAn auxiliary header.classA user avatar.classA group container that stacks multipleAvatarcomponents with an overlapping layout.classA badge (count or status indicator).classA band box.classThe popup that belongs to aBandboxinstance.classA border layout is a layout container for arranging and resizing child components to fit in five regions: north, south, east, west, and center.classA box.classA breadcrumb navigation.classA single entry in aBreadcrumb.classA button.classA calendar.classThe generic captcha component.classRepresents a header for various UI components includingGroupbox,Window,Panel,Tab, andLayoutRegion.classA carousel (slideshow) container.classA single slide inside aCarousel.classclassA center region of a borderlayout.classThe generic chart component.classA checkbox.classA display-only chip used to show categories, statuses, or keywords, with an optional close button and a severity theme.classA code editor that loads and edits source code with syntax highlighting.classA single column in aColumnselement.classDefines the columns of a grid.classA combobox.classA combo button.classAn item of a combo box.classAn inline confirmation popup — lighter thanMessagebox, anchored to a trigger component.classAn edit box for holding a date.classAn edit box for holding BigDecimal.classThe detail component is used to display a detailed section where a master row and multiple detail rows are on the same row.classThe same as HTML DIV tag.classAn edit box for holding an float point value (double).classAn edit box for holding a constrained double.classAn east region of a border layout.classA fileupload dialog used to let user upload a file.classclassA column of the footer of a grid (Grid).classA frozen component to represent a frozen column or row in grid, like MS Excel.classA grid is an element that contains both rows and columns elements.classAdds the ability for single level grouping to the Grid.classGroups a set of child elements to have a visual effect.classGroupfoot serves as a summary row of group.classDeprecated.As of release 10.3.0, usingHlayoutinstead.classA horizontal layoutclassA component used to embed the browser native content (i.e., HTML tags) into the output sent to the browser.classJust like DIV tag but implements IdSpace.classIncludes an inline frame.classAn image.classAn image map.classIncludes the result generated by any servlet, not limited to a ZUML page.classAn inputgroup.classAn edit box for holding an integer.classA label.classA layout.classA layout region in a border layout.classA listbox.classA list cell.classA row ofListfooter.classA column of the footer of a list box (Listbox).classAdds the ability for single level grouping to the Listbox.classListgroupfoot serves as a summary listitem of listgroup.classA list headers used to define multi-columns and/or headers.classThe list header which defines the attributes and header of a column of a list box.classA list item.classAn edit box for holding an integer.classAn element, much like a button, that is placed on a menu bar.classA container that usually contains menu elements.classA single choice in aMenupopupelement.classA container used to display menus.classUsed to create a separator between menu items.classA no-dom component with comment scopeclassA north region of a border layout.classPaging of long content.classPanel is a container that has specific functionality and structural components that make it the perfect building block for application-oriented user interfaces.classPanelchildren is used forPanelcomponent to manage each child who will be shown in the body of Panel.classA container that is displayed as a popup.classA progress meter is a bar that indicates how much of a task has been completed.classA radio button.classA radio group.classA rating component provides a icon based rating input.classA single row in aRowselement.classDefines the rows of a grid.classA component to generate script codes that will be evaluated at the client.classA light weight dropdown list.classA separator.classA slider.classA south region of a border layout.classSpace is aSeparatorwith the orient default to "vertical".classThe same as HTML SPAN tag.classAn edit box for holding a constrained integer.classDeprecated.As of release 10.3.0, usingorg.zkoss.zkmax.zul.Splitlayoutinstead.classThe style component used to specify CSS styles for the owner desktop.classA tab.classA tabbox.classA tab panel.classA collection of tab panels.classA collection of tabs (Tab).classA textbox.classAn input box for holding a time (a java.util.Date Object), but only Hour & Minute are used.classFires one or moreEventafter a specified delay.classA toolbar.classA toolbar button.classA representation of<track>.classA container which can be used to hold a tabular or hierarchical set of rows of elements.classA treecell.classA treechildren.classA treecol.classA treecols.classA row ofTreefooter.classA column of the footer of a tree (Tree).classA treeitem.classA treerow.classDeprecated.As of release 10.3.0, usingVlayoutinstead.classA vertical layoutclassA west region of a border layout.classA window.Methods in org.zkoss.zul with type parameters of type ComponentMethods in org.zkoss.zul that return ComponentModifier and TypeMethodDescriptionGrid.getCell(int row, int col) Returns the specified cell, or null if not available.protected ComponentTree.getChildByNode(Object node) Return the Tree or Treeitem component by a given associated node in model, or null if the treeitem is not instantiated (i.e., rendered) yet.protected ComponentTree.getChildByPath(int[] path) Return the Tree or Treeitem component by a path, or null if corresponding Treeitem is not instantiated (i.e., rendered) yet.Listbox.ExtraCtrl.getCropOwner()Rows.ExtraCtrl.getCropOwner()Treechildren.ExtraCtrl.getCropOwner()Create a component that will be attached to the unloaded row.Methods in org.zkoss.zul that return types with arguments of type ComponentModifier and TypeMethodDescriptionListbox.ExtraCtrl.getAvailableAtClient()Rows.ExtraCtrl.getAvailableAtClient()Treechildren.ExtraCtrl.getAvailableAtClient()Grid.getHeads()Returns a collection of heads, includingGrid.getColumns()and auxiliary heads (Auxhead) (never null).Listbox.getHeads()Returns a collection of heads, includingListbox.getListhead()and auxiliary heads (Auxhead) (never null).Tree.getHeads()Returns a collection of heads, includingTree.getTreecols()and auxiliary heads (Auxhead) (never null).Methods in org.zkoss.zul with parameters of type ComponentModifier and TypeMethodDescriptionprotected voidprotected voidListbox.afterInsert(Component comp) Callback if a list item has been inserted.protected voidRows.afterInsert(Component comp) Callback if a child has been inserted.voidAbsolutelayout.beforeChildAdded(Component child, Component refChild) voidAnchorlayout.beforeChildAdded(Component child, Component refChild) Deprecated.voidAudio.beforeChildAdded(Component child, Component insertBefore) voidAuxhead.beforeChildAdded(Component child, Component refChild) voidAvatargroup.beforeChildAdded(Component child, Component refChild) voidBandbox.beforeChildAdded(Component newChild, Component refChild) voidBorderlayout.beforeChildAdded(Component child, Component refChild) voidBreadcrumb.beforeChildAdded(Component child, Component refChild) voidCarousel.beforeChildAdded(Component child, Component refChild) voidColumns.beforeChildAdded(Component child, Component refChild) voidCombobox.beforeChildAdded(Component newChild, Component refChild) voidCombobutton.beforeChildAdded(Component newChild, Component refChild) voidFoot.beforeChildAdded(Component child, Component refChild) voidGrid.beforeChildAdded(Component newChild, Component refChild) voidGroupbox.beforeChildAdded(Component child, Component refChild) voidImagemap.beforeChildAdded(Component newChild, Component refChild) voidInputgroup.beforeChildAdded(Component child, Component insertBefore) voidLayoutRegion.beforeChildAdded(Component child, Component refChild) voidListbox.beforeChildAdded(Component newChild, Component refChild) voidListfoot.beforeChildAdded(Component child, Component refChild) voidListhead.beforeChildAdded(Component child, Component refChild) voidListitem.beforeChildAdded(Component child, Component refChild) voidMenu.beforeChildAdded(Component child, Component refChild) voidMenubar.beforeChildAdded(Component child, Component refChild) voidMenupopup.beforeChildAdded(Component child, Component refChild) voidPanel.beforeChildAdded(Component newChild, Component refChild) voidRow.beforeChildAdded(Component newChild, Component refChild) voidRows.beforeChildAdded(Component child, Component refChild) voidTab.beforeChildAdded(Component child, Component refChild) voidTabbox.beforeChildAdded(Component child, Component refChild) voidTabpanels.beforeChildAdded(Component child, Component refChild) voidTabs.beforeChildAdded(Component child, Component refChild) voidTree.beforeChildAdded(Component newChild, Component refChild) voidTreechildren.beforeChildAdded(Component child, Component refChild) voidTreecols.beforeChildAdded(Component child, Component refChild) voidTreefoot.beforeChildAdded(Component child, Component refChild) voidTreeitem.beforeChildAdded(Component child, Component refChild) voidTreerow.beforeChildAdded(Component child, Component refChild) voidWindow.beforeChildAdded(Component child, Component refChild) voidAbsolutechildren.beforeParentChanged(Component parent) voidAnchorchildren.beforeParentChanged(Component parent) Deprecated.voidArea.beforeParentChanged(Component parent) voidAuxhead.beforeParentChanged(Component parent) voidAuxheader.beforeParentChanged(Component parent) voidBandpopup.beforeParentChanged(Component parent) voidBreadcrumbitem.beforeParentChanged(Component parent) voidCaption.beforeParentChanged(Component parent) voidCarouselitem.beforeParentChanged(Component parent) voidCell.beforeParentChanged(Component parent) voidColumn.beforeParentChanged(Component parent) voidColumns.beforeParentChanged(Component parent) voidComboitem.beforeParentChanged(Component parent) voidDetail.beforeParentChanged(Component parent) voidFoot.beforeParentChanged(Component parent) voidFooter.beforeParentChanged(Component parent) voidLayoutRegion.beforeParentChanged(Component parent) voidListcell.beforeParentChanged(Component parent) voidListfoot.beforeParentChanged(Component parent) voidListfooter.beforeParentChanged(Component parent) voidListhead.beforeParentChanged(Component parent) voidListheader.beforeParentChanged(Component parent) voidListitem.beforeParentChanged(Component parent) voidMenu.beforeParentChanged(Component parent) voidMenuitem.beforeParentChanged(Component parent) voidPanelchildren.beforeParentChanged(Component parent) voidRow.beforeParentChanged(Component parent) voidRows.beforeParentChanged(Component parent) voidSplitter.beforeParentChanged(Component parent) Deprecated.voidTab.beforeParentChanged(Component parent) voidTabpanel.beforeParentChanged(Component parent) voidTabpanels.beforeParentChanged(Component parent) voidTabs.beforeParentChanged(Component parent) voidTrack.beforeParentChanged(Component parent) voidTreecell.beforeParentChanged(Component parent) voidTreechildren.beforeParentChanged(Component parent) voidTreecol.beforeParentChanged(Component parent) voidTreecols.beforeParentChanged(Component parent) voidTreefoot.beforeParentChanged(Component parent) voidTreefooter.beforeParentChanged(Component parent) voidTreeitem.beforeParentChanged(Component parent) voidTreerow.beforeParentChanged(Component parent) protected voidListbox.beforeRemove(Component comp) Callback if a list item will be removed (not removed yet).protected voidRows.beforeRemove(Component comp) Callback if a child will be removed (not removed yet).SimpleConstraint.getErrorMessage(Component comp) Returns the custom error message that shall be shown if an error occurs, or null if no custom error message specified.static Object[]Datebox.getRealSymbols(Locale locale, Component comp) Returns the localized client date symbols payload for a component locale.booleanBorderlayout.insertBefore(Component child, Component refChild) booleanGrid.insertBefore(Component newChild, Component refChild) booleanGroupbox.insertBefore(Component child, Component refChild) booleanLayoutRegion.insertBefore(Component child, Component refChild) booleanListbox.insertBefore(Component newChild, Component refChild) booleanMenu.insertBefore(Component child, Component refChild) booleanPanel.insertBefore(Component newChild, Component refChild) booleanRow.insertBefore(Component newChild, Component refChild) booleanRows.insertBefore(Component child, Component refChild) booleanTab.insertBefore(Component child, Component refChild) booleanTabbox.insertBefore(Component child, Component refChild) booleanTabs.insertBefore(Component child, Component refChild) booleanTree.insertBefore(Component newChild, Component refChild) booleanTreechildren.insertBefore(Component newChild, Component refChild) booleanTreeitem.insertBefore(Component child, Component refChild) booleanWindow.insertBefore(Component child, Component refChild) voidAvatargroup.onChildAdded(Component child) voidBreadcrumb.onChildAdded(Component child) voidCarousel.onChildAdded(Component child) voidCombobox.onChildAdded(Component child) voidRadiogroup.onChildAdded(Component child) voidTabs.onChildAdded(Component child) voidTree.onChildAdded(Component child) voidTreechildren.onChildAdded(Component child) voidTreeitem.onChildAdded(Component child) voidAvatargroup.onChildRemoved(Component child) voidBorderlayout.onChildRemoved(Component child) voidBreadcrumb.onChildRemoved(Component child) voidCarousel.onChildRemoved(Component child) voidCombobox.onChildRemoved(Component child) voidGroupbox.onChildRemoved(Component child) voidLayoutRegion.onChildRemoved(Component child) voidMenu.onChildRemoved(Component child) voidPanel.onChildRemoved(Component child) voidRow.onChildRemoved(Component child) voidTab.onChildRemoved(Component child) voidTabbox.onChildRemoved(Component child) voidTabs.onChildRemoved(Component child) voidTree.onChildRemoved(Component child) voidTreechildren.onChildRemoved(Component child) voidTreeitem.onChildRemoved(Component child) voidWindow.onChildRemoved(Component child) voidOpens this popup right below the specified component at the client.voidOpens this popup right below the specified component at the client.protected WrongValueExceptionSimpleNumberInputConstraint.outOfRangeValue(Component comp) booleanGrid.removeChild(Component child) booleanListbox.removeChild(Component child) If the child is a listgroup, its listgroupfoot will be removed at the same time.booleanRows.removeChild(Component child) If the child is a group, its groupfoot will be removed at the same time.Renders the data to the corresponding HTML fragment, and returns the HTML fragment.voidvoidvoidvoidvoidCustomConstraint.showCustomError(Component comp, WrongValueException ex) To display the error message in a custom way.voidvoidVerifies whether the value is acceptable.voidvoidvoidvoidvoidprotected voidvoidSimpleDateConstraint.validateRange(Component comp, Date begin, Date end) Validates a date range against this constraint's begin / end bounds.protected abstract StringAbstractSimpleDateTimeConstraint.valueToString(Component comp, T value) protected StringSimpleDateConstraint.valueToString(Component comp, Date value) protected StringSimpleLocalDateConstraint.valueToString(Component comp, LocalDate value) protected StringSimpleLocalTimeConstraint.valueToString(Component comp, LocalTime value) Allows the model to cloneAllows the model to cloneConstructors in org.zkoss.zul with parameters of type ComponentModifierConstructorDescriptionConstructor a box by assigning an array of children.Constructor a box by assigning an array of children.ClickEvent(String name, Component target, Messagebox.Button button) Deprecated.Constructor a horizontal box by assigning an array of children.Deprecated.Constructor a vertical box by assigning an array of children. -
Uses of Component in org.zkoss.zul.event
Classes in org.zkoss.zul.event with type parameters of type ComponentModifier and TypeClassDescriptionclassRenderEvent<T extends Component>Represents the onRender event.Methods in org.zkoss.zul.event with type parameters of type ComponentModifier and TypeMethodDescriptionstatic final <C extends Component>
RenderEvent<C>RenderEvent.getRenderEvent(AuRequest request) Converts an AU request to a render event.Methods in org.zkoss.zul.event that return ComponentModifier and TypeMethodDescriptionColSizeEvent.getColumn()Returns the column whose width is changed.Methods in org.zkoss.zul.event with parameters of type ComponentConstructors in org.zkoss.zul.event with parameters of type ComponentModifierConstructorDescriptionColSizeEvent(String evtnm, Component target, int icol, Component col, int keys) Constructs an instance ofColSizeEvent.ColSizeEvent(String evtnm, Component target, int icol, Component col, String[] widths, int keys) Constructs an instance ofColSizeEventthat provide width of all columns.ColSizeEvent(String evtnm, Component target, int icol, Component col, String width, int keys) Constructs an instance ofColSizeEvent.DataLoadingEvent(String name, Component comp, int offset, int limit) PageSizeEvent(String name, Component target, int pgsz) Construct a page size event.PageSizeEvent(String name, Component target, Pageable pageable, int pgsz) Construct a page size event that the target is different from the page controller.PagingEvent(String name, Component target, int actpg) Construct a paging event.PagingEvent(String name, Component target, Pageable pageable, int actpg) Construct a paging event that the target is different from the page controller.RenderEvent(String name, Component comp, Set<T> items) -
Uses of Component in org.zkoss.zul.impl
Classes in org.zkoss.zul.impl that implement ComponentModifier and TypeClassDescriptionclassA skeletal implementation for date/time type input box.classUsed withFileuploadto implement the upload feature.classA skeletal implementation for a footer.classA skeletal implementation for an input box with format.classA skeletal implementation for a header.classA skeletal implementation for headers, the parent of a group ofHeaderElement.classA skeletal implementation of an input box.classA XUL element with a label.classA XUL element with a label (LabelElement.getLabel()) and an image (LabelImageElement.getImage()).classprotected static classclassUsed withMessageboxto implement a message box.static classRepresents a button on the message box.classA skeletal implementation for number-type input box.classThe fundamental class for XUL elements.Methods in org.zkoss.zul.impl that return ComponentModifier and TypeMethodDescriptionstatic ComponentUtils.getComponentById(Component comp, String id) Returns the component of the specified ID or UUID.GridDataLoader.getCropOwner()ListboxDataLoader.getCropOwner()DataLoader.getOwner()Returns the associated owner component of this DataLoader.final ComponentGridDataLoader.getOwner()final ComponentListboxDataLoader.getOwner()protected ComponentGridDataLoader.newUnloadedItem(Object renderer, int index) Creates a new and unloaded row.Methods in org.zkoss.zul.impl that return types with arguments of type ComponentModifier and TypeMethodDescriptionGridDataLoader.getAvailableAtClient()GridDataLoader.getAvailableAtClient(int offset, int limit) ListboxDataLoader.getAvailableAtClient()Retrieves the children available at client.ListboxDataLoader.getAvailableAtClient(boolean itemOnly) Retrieves the children available at client with more control.ListboxDataLoader.getAvailableAtClient(int offset, int limit, boolean itemOnly) Retrieves the children available at the client within the given range.Methods in org.zkoss.zul.impl with parameters of type ComponentModifier and TypeMethodDescriptionstatic ComponentUtils.getComponentById(Component comp, String id) Returns the component of the specified ID or UUID.static final intUtils.getIntAttribute(Component comp, String name, int defValue, boolean recurse) Returns the number if the given attribute is defined in a component or in library property.static final StringUtils.getStringAttribute(Component comp, String name, String defValue, boolean recurse) Returns the string if the given attribute is defined in a component or in library property.voidCallback from the owner component and give a chance to initialize things.voidvoidstatic final booleanUtils.testAttribute(Component comp, String name, boolean defValue, boolean recurse) Tests if the given attribute is defined in a component or in library property.Constructor parameters in org.zkoss.zul.impl with type arguments of type Component -
Uses of Component in org.zkoss.zul.theme
Methods in org.zkoss.zul.theme with parameters of type ComponentModifier and TypeMethodDescriptionstatic voidMarbleDensity.apply(Component scope, MarbleDensity.Density density) Applies the density to a single component subtree by settingdata-densityon that component's DOM element. -
Uses of Component in org.zkoss.zuti.zul
Classes in org.zkoss.zuti.zul that implement ComponentModifier and TypeClassDescriptionclassThe apply tag allows you to choose which template to be applied.classThe choose tag works like a Java switch statement in that it lets you choose between a number of alternatives.classThe basic iteration tag, accepting many different collection types and supporting sub-setting and other functionality like JSTL's forEachclassThe conditional execution of its body according to the value of the test attributeclassA switch statement has default clause to specify a default action and similar way choose has otherwise as default clause.classA template based skeleton classclassA when tag is used for choose like a Java switch statement in that it lets you between a number of alternatives.Methods in org.zkoss.zuti.zul that return ComponentModifier and TypeMethodDescriptionCollectionTemplate.getShadowHost()Return the current shadow host.ShadowTemplate.getShadowHost()Return the current shadow host.Methods in org.zkoss.zuti.zul with parameters of type ComponentModifier and TypeMethodDescriptionvoidCompose the specified template with the given host.voidCompose the specified template with the given host.voidChoose.beforeChildAdded(Component child, Component refChild) voidOtherwise.beforeParentChanged(Component parent) voidWhen.beforeParentChanged(Component parent) protected voidComposes from template name and then template uri, if any.protected voidprotected voidprotected voidvoidTemplateBasedShadowElement.onChildAdded(Component child) voidChoose.onChildRemoved(Component child) voidTemplateBasedShadowElement.onChildRemoved(Component child) voidForEach.onParentChanged(Component parent) voidForEachRenderer.render(ForEach forEachComp, Component host, Template tm, int begin, int end, int step, List<?> list, boolean isUsingListModel) voidForEachRenderer.render(ForEach forEachComp, Component host, Template tm, List<?> list, boolean isUsingListModel) Apply.resolveVariable(Component child, String name, boolean recurse) Constructors in org.zkoss.zuti.zul with parameters of type Component
VlayoutandHlayoutinstead.