Package | Description |
---|---|
org.zkoss.bind |
ZK Bind Library
|
org.zkoss.bind.callback | |
org.zkoss.bind.converter |
Converter for ZK Bind
|
org.zkoss.bind.converter.sys |
System Converter for ZK Bind
|
org.zkoss.bind.impl |
Core Implementation for ZK Bind
|
org.zkoss.bind.sys |
System level classes for ZK Bind
|
org.zkoss.bind.sys.debugger |
Debugger level classes for ZK Bind
|
org.zkoss.bind.sys.debugger.impl |
Debugger implementation classes for ZK Bind
|
org.zkoss.bind.sys.debugger.impl.info |
Debugger implementation classes for ZK Bind
|
org.zkoss.bind.sys.tracker |
Tracker classes for ZK Bind
|
org.zkoss.bind.tracker.impl |
Tracker Implementation for ZK Bind
|
org.zkoss.bind.xel.zel |
ZEL of XEL for ZK Bind
|
org.zkoss.zhtml |
ZHTML component set.
|
org.zkoss.zhtml.impl |
Classes used to implement ZHTML component set.
|
org.zkoss.zk.au |
Requests and responsed used to communicate between client and server,
called asynchronous updates.
|
org.zkoss.zk.au.out |
The responses of asynchronous updates (sent from server to client).
|
org.zkoss.zk.ui | |
org.zkoss.zk.ui.event |
The org.zkoss.zk.ui and org.zkoss.zk.ui.event packages are the only
packages that component and application developers need to know.
|
org.zkoss.zk.ui.ext |
Additional Interfaces that might be implemented by special components,
such as AfterCompose.
|
org.zkoss.zk.ui.ext.render |
Additional Interfaces that might be implemented by the returned object
of getExtraCtrl().
|
org.zkoss.zk.ui.http |
HTTP relevant utilities and servlets for implementing
user interfaces (implementation only).
|
org.zkoss.zk.ui.impl |
Implementation of user interfaces and factories (implementation only).
|
org.zkoss.zk.ui.metainfo |
Metainfo representing pages and languages (implementation only).
|
org.zkoss.zk.ui.metainfo.impl |
The implementation class of the metainfos.
|
org.zkoss.zk.ui.select |
Utilities of ZK Component Selector, which retrieves components by
selector rules, like CSS selectors.
|
org.zkoss.zk.ui.select.impl |
Implementation of ZK Component Selector
|
org.zkoss.zk.ui.sys |
Internal interfaces of user interfaces and factories (behind the scene).
|
org.zkoss.zk.ui.util |
Utilities to handle user interfaces.
|
org.zkoss.zk.xel |
ZK XEL utilities.
|
org.zkoss.zk.xel.impl |
XEL utilities for implementation only.
|
org.zkoss.zkex.bind.impl | |
org.zkoss.zkex.ui.event |
Events of Components in ZK PE.
|
org.zkoss.zkex.zul |
Zul Extension library.
|
org.zkoss.zkex.zul.event | |
org.zkoss.zkmax.bind | |
org.zkoss.zkmax.bind.impl | |
org.zkoss.zkmax.ui.event |
Events of Components in ZK EE.
|
org.zkoss.zkmax.ui.impl |
Implementation of user interfaces and factories for ZK EE.
|
org.zkoss.zkmax.zul |
Components and UI utitilies available in ZK EE.
|
org.zkoss.zkmax.zul.event | |
org.zkoss.zkmax.zul.impl |
Implementation of ZUL components in ZK EE
|
org.zkoss.zkplus.acegi | |
org.zkoss.zkplus.databind |
The DataBinder used for binding ZK UI component and the backend data bean.
|
org.zkoss.zkplus.embed |
Utilities to embed ZK components into the 3rd party framework.
|
org.zkoss.zkplus.hibernate |
Utilities to support Hibernate.
|
org.zkoss.zkplus.spring |
Utilities to support Spring Application Framework.
|
org.zkoss.zkplus.util |
Utilities that can be applied to several situations.
|
org.zkoss.zml |
The ZK XML Component Set.
|
org.zkoss.zul |
ZUL component set that are used for HTML-based clients.
|
org.zkoss.zul.event |
Events of ZUL Component Set.
|
org.zkoss.zul.impl |
Classes used to implement ZUL Component Set (implementation only).
|
org.zkoss.zuti.zul |
Modifier and Type | Class and Description |
---|---|
class |
BindComposer<T extends Component>
Base composer to apply ZK Bind.
|
interface |
Converter<U,B,C extends Component>
Generic binding conversion interface.
|
Modifier and Type | Method and Description |
---|---|
Component |
BindContext.getComponent()
Returns the associated component context.
|
Component |
Binder.getView()
Returns associated root component of this binder.
|
Modifier and Type | Method and Description |
---|---|
void |
Binder.addChildrenInitBinding(Component comp,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> initArgs)
Deprecated.
|
void |
Binder.addChildrenInitBinding(Component comp,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> initArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs)
init children of a component by an expression, it only execute once
|
void |
Binder.addChildrenLoadBindings(Component comp,
java.lang.String loadExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
Deprecated.
|
void |
Binder.addChildrenLoadBindings(Component comp,
java.lang.String loadExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs)
Add new children-load-bindings.
|
void |
Binder.addCommandBinding(Component comp,
java.lang.String evtnm,
java.lang.String commandExpr,
java.util.Map<java.lang.String,java.lang.Object> commandArgs)
Add a new command binding.
|
void |
Binder.addFormInitBinding(Component comp,
java.lang.String id,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> initArgs)
init a component form by expression, it only execute once
|
void |
Binder.addFormLoadBindings(Component comp,
java.lang.String id,
java.lang.String loadExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
Add new form-load-bindings.
|
void |
Binder.addFormSaveBindings(Component comp,
java.lang.String id,
java.lang.String saveExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String validatorExpr,
java.util.Map<java.lang.String,java.lang.Object> validatorArgs)
Add new form-save-bindings.
|
void |
Binder.addGlobalCommandBinding(Component comp,
java.lang.String evtnm,
java.lang.String commandExpr,
java.util.Map<java.lang.String,java.lang.Object> commandArgs)
Add a new global-command binding.
|
void |
Binder.addPropertyInitBinding(Component comp,
java.lang.String attr,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> initArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs)
init a component property by a expression, it only execute once
|
void |
Binder.addPropertyLoadBindings(Component comp,
java.lang.String attr,
java.lang.String loadExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs)
Add new property-load-bindings.
|
void |
Binder.addPropertySaveBindings(Component comp,
java.lang.String attr,
java.lang.String saveExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs,
java.lang.String validatorExpr,
java.util.Map<java.lang.String,java.lang.Object> validatorArgs)
Add new property-save-bindings.
|
void |
Binder.addReferenceBinding(Component comp,
java.lang.String attr,
java.lang.String loadExpr,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
Add a new reference-binding.
|
void |
Binder.destroy(Component root,
java.lang.Object viewModel)
Destroys the binder with a root component and viewModel object.
|
void |
BindComposer.didActivate(Component comp) |
ComponentInfo |
BindComposer.doBeforeCompose(Page page,
Component parent,
ComponentInfo compInfo) |
void |
BindComposer.doBeforeComposeChildren(Component comp) |
void |
Binder.init(Component root,
java.lang.Object viewModel)
Deprecated.
use
Binder.init(Component, Object, Map) instead |
void |
DefaultBinder.init(Component comp,
java.lang.Object vm,
java.util.Map<java.lang.String,java.lang.Object> initArgs) |
void |
Binder.init(Component root,
java.lang.Object viewModel,
java.util.Map<java.lang.String,java.lang.Object> initArgs)
Initializes the binder with a root component and viewModel object.
|
void |
AnnotateBinder.init(Component comp,
java.lang.Object vm,
java.util.Map<java.lang.String,java.lang.Object> initArgs)
Initializes the binder with a root component and viewModel object.
|
void |
Binder.loadComponent(Component comp,
boolean loadinit)
Load the load-binding of the component.
|
void |
Binder.removeBindings(Component comp)
Remove all managed bindings that associated with the specified component.
|
void |
Binder.removeBindings(Component comp,
java.lang.String key)
Remove all managed Binding that associated with the specified
component and attribute name, event name, or form id.
|
void |
Binder.setTemplate(Component comp,
java.lang.String attr,
java.lang.String templateExpr,
java.util.Map<java.lang.String,java.lang.Object> templateArgs)
set template to a component property by an expression
|
void |
BindComposer.willPassivate(Component comp) |
Modifier and Type | Method and Description |
---|---|
void |
Binder.removeBindings(java.util.Set<Component> comps)
Remove all managed bindings that associated with the specified components.
|
Constructor and Description |
---|
GlobalCommandEvent(Component comp,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> args) |
GlobalCommandEvent(Component comp,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> args,
Event evt) |
PropertyChangeEvent(Component comp,
java.lang.Object base,
java.lang.String prop) |
Modifier and Type | Method and Description |
---|---|
void |
DestroyCallback.call(Component comp) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
UriConverter.coerceToBean(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
ObjectBooleanConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx)
Given an object value and return whether it is a "true" object.
|
java.lang.Object |
FormattedTimeConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx)
Convert String to Date.
|
java.lang.Object |
FormatedNumberConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx)
Convert String to Number.
|
java.lang.Object |
FormatedDateConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx)
Convert String to Date.
|
java.lang.Object |
UriConverter.coerceToUi(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
ObjectBooleanConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx)
Given a Boolean value and return associated "true" object if true; or "false" object if null or false
|
java.lang.Object |
FormattedTimeConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx)
Convert Date to String.
|
java.lang.Object |
FormatedNumberConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx)
Convert Number to String.
|
java.lang.Object |
FormatedDateConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx)
Convert Date to String.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractListModelConverter<C extends Component>
The abstract
Converter implementation for converting collection to ListModel and vice versa. |
class |
AbstractSelectedIndexConverter<C extends Component>
Convert selected index to bean and vice versa.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
TreeSelectedItemsConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
TreeSelectedItemConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
TreeModelConverter.coerceToBean(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
TabboxSelectedTabConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
SelectboxSelectedItemConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
RadiogroupSelectedItemConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ListboxSelectedItemsConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ListboxSelectedItemConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ErrorMessageConverter.coerceToBean(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
DefaultJSONBindingParamConverter.coerceToBean(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
ComboboxSelectedItemConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ChildrenBindingConverter.coerceToBean(java.lang.Object val,
Component component,
BindContext ctx) |
T |
FormattedTemporalConverter.coerceToBean(java.lang.String compAttr,
Component component,
BindContext ctx)
Convert String to Temporal.
|
java.lang.Object |
TreeSelectedItemsConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
TreeSelectedItemConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
TreeModelConverter.coerceToUi(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
TabboxSelectedTabConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
SelectboxSelectedItemConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
RadiogroupSelectedItemConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ListboxSelectedItemsConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ListboxSelectedItemConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ErrorMessageConverter.coerceToUi(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
DefaultJSONBindingParamConverter.coerceToUi(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
ComboboxSelectedItemConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ChildrenBindingConverter.coerceToUi(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.String |
FormattedTemporalConverter.coerceToUi(T beanProp,
Component component,
BindContext ctx)
Convert Temporal to String.
|
Modifier and Type | Method and Description |
---|---|
protected Component[] |
AbstractRenderer.filterOutShadows(Component parent,
Component[] items) |
Component |
ValidationMessagesImpl.getAssociate(java.lang.String key) |
Component[] |
ValidationMessagesImpl.getAssociates(java.lang.String key) |
Component |
TemplateResolverImpl.getComponent() |
Component |
BindingImpl.getComponent() |
Component |
BindContextImpl.getComponent() |
Component |
SimpleBindXelContext.getSelf() |
Component |
BinderImpl.getView() |
Modifier and Type | Method and Description |
---|---|
void |
BinderImpl.addChildrenInitBinding(Component comp,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> initArgs)
Deprecated.
|
void |
BinderImpl.addChildrenInitBinding(Component comp,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> initArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
void |
BinderImpl.addChildrenLoadBindings(Component comp,
java.lang.String loadExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
Deprecated.
|
void |
BinderImpl.addChildrenLoadBindings(Component comp,
java.lang.String loadExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
void |
BinderImpl.addCommandBinding(Component comp,
java.lang.String evtnm,
java.lang.String commandExpr,
java.util.Map<java.lang.String,java.lang.Object> args) |
void |
BinderImpl.addFormAssociatedSaveBinding(Component associatedComp,
java.lang.String formId,
SaveBinding saveBinding,
java.lang.String fieldName) |
void |
BinderImpl.addFormInitBinding(Component comp,
java.lang.String id,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> initArgs) |
void |
BinderImpl.addFormLoadBindings(Component comp,
java.lang.String id,
java.lang.String loadExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs) |
void |
BinderImpl.addFormSaveBindings(Component comp,
java.lang.String id,
java.lang.String saveExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String validatorExpr,
java.util.Map<java.lang.String,java.lang.Object> validatorArgs) |
void |
BinderImpl.addGlobalCommandBinding(Component comp,
java.lang.String evtnm,
java.lang.String commandExpr,
java.util.Map<java.lang.String,java.lang.Object> args) |
protected void |
AbstractRenderer.addItemReference(Component modelOwner,
Component comp,
int index,
java.lang.String varnm) |
void |
ValidationMessagesImpl.addMessages(Component comp,
java.lang.String attr,
java.lang.String key,
java.lang.String[] messages) |
void |
ValidationMessagesImpl.addMessages(Component comp,
java.lang.String attr,
java.lang.String key,
java.lang.String[] messages,
java.lang.Object value) |
void |
BinderImpl.addPropertyInitBinding(Component comp,
java.lang.String attr,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> initArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
void |
BinderImpl.addPropertyLoadBindings(Component comp,
java.lang.String attr,
java.lang.String loadExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
void |
BinderImpl.addPropertySaveBindings(Component comp,
java.lang.String attr,
java.lang.String saveExpr,
java.lang.String[] beforeCmds,
java.lang.String[] afterCmds,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs,
java.lang.String validatorExpr,
java.util.Map<java.lang.String,java.lang.Object> validatorArgs) |
void |
ReferenceBindingHandler.addReferenceBinding(Component comp,
java.lang.String attr,
ReferenceBinding binding) |
void |
BinderImpl.addReferenceBinding(Component comp,
java.lang.String attr,
java.lang.String loadExpr,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs) |
void |
TemplateResolverImpl.addTemplateTracking(Component eachComp)
Deprecated.
|
protected void |
AbstractRenderer.addTemplateTracking(Component templateComp,
Component eachComp,
java.lang.Object data,
int index,
int size) |
void |
TemplateResolverImpl.addTemplateTracking(Component eachComp,
java.lang.Object eachData,
int index,
int size) |
void |
ValidationMessagesImpl.clearKeyMessages(Component comp,
java.lang.String key) |
void |
ValidationMessagesImpl.clearMessages(Component comp) |
void |
ValidationMessagesImpl.clearMessages(Component comp,
java.lang.String attr) |
protected void |
AbstractBindingHandler.clearValidationMessages(Binder binder,
Component component,
java.lang.String attr) |
void |
BinderImpl.destroy(Component comp,
java.lang.Object viewModel) |
protected void |
BinderImpl.doExecute(Component comp,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> commandArgs,
BindContext ctx,
java.util.Set<Property> notifys) |
protected void |
BinderImpl.doLoadAfter(Component comp,
java.lang.String command,
BindContext ctx) |
protected void |
BinderImpl.doLoadBefore(Component comp,
java.lang.String command,
BindContext ctx) |
protected void |
BinderImpl.doSaveAfter(Component comp,
java.lang.String command,
Event evt,
BindContext ctx,
java.util.Set<Property> notifys) |
protected void |
BinderImpl.doSaveBefore(Component comp,
java.lang.String command,
Event evt,
BindContext ctx,
java.util.Set<Property> notifys) |
protected boolean |
BinderImpl.doValidate(Component comp,
java.lang.String command,
Event evt,
BindContext ctx,
java.util.Set<Property> notifys) |
static <T> T |
BindEvaluatorXUtil.eval(BindEvaluatorX evalx,
Component comp,
java.lang.String expression,
java.lang.Class<T> expectedType) |
static <T> T |
BindEvaluatorXUtil.eval(BindEvaluatorX evalx,
Component comp,
java.lang.String expression,
java.lang.Class<T> expectedType,
java.util.Map<java.lang.String,java.lang.Object> implicit) |
static java.util.Map<java.lang.String,java.lang.Object> |
BindEvaluatorXUtil.evalArgs(BindEvaluatorX eval,
Component comp,
java.util.Map<java.lang.String,java.lang.Object> args) |
static java.util.Map<java.lang.String,java.lang.Object> |
BindEvaluatorXUtil.evalArgs(BindEvaluatorX eval,
Component comp,
java.util.Map<java.lang.String,java.lang.Object> args,
java.util.Map<java.lang.String,java.lang.Object> implicit) |
protected java.lang.Object |
TemplateResolverImpl.evaluateTemplate(Component eachComp,
java.lang.Object eachData,
int index,
int size) |
protected java.lang.Object |
TemplateResolverImpl.evaluateTemplate(Component eachComp,
java.lang.Object eachData,
int index,
int size,
java.lang.String subType) |
protected Component[] |
AbstractRenderer.filterOutShadows(Component parent,
Component[] items) |
protected Component[] |
AbstractRenderer.filterOutShadows(Component parent,
Component[] items) |
static java.lang.String |
MiscUtil.formatLocationMessage(java.lang.String message,
Component comp) |
static Binder |
BinderUtil.getBinder(Component comp) |
static Binder |
BinderUtil.getBinder(Component comp,
boolean recurse) |
java.util.Map<java.lang.String,java.util.List<Binding>> |
BinderImpl.getBindings(Component comp) |
java.lang.Object |
ValidationMessagesImpl.getFieldValue(Component comp,
java.lang.String key) |
java.lang.Object[] |
ValidationMessagesImpl.getFieldValues(Component comp,
java.lang.String key) |
Form |
BinderImpl.getForm(Component comp,
java.lang.String id) |
java.util.Set<SaveBinding> |
BinderImpl.getFormAssociatedSaveBindings(Component comp) |
java.lang.String[] |
ValidationMessagesImpl.getKeyMessages(Component comp,
java.lang.String key) |
java.util.List<Binding> |
BinderImpl.getLoadPromptBindings(Component comp,
java.lang.String attr) |
java.lang.String[] |
ValidationMessagesImpl.getMessages(Component comp) |
java.lang.String[] |
ValidationMessagesImpl.getMessages(Component comp,
java.lang.String attr) |
static java.util.List<java.lang.String> |
AnnotationUtil.getNonSystemProperties(Component comp) |
protected Binding |
TemplateResolverImpl.getTemplateBinding(Component eachComp,
java.lang.Object eachData,
int index,
int size) |
TemplateResolver |
BinderImpl.getTemplateResolver(Component comp,
java.lang.String attr) |
java.lang.Class<?> |
BindEvaluatorXImpl.getType(BindContext ctx,
Component comp,
ExpressionX expression) |
java.lang.Object |
BindEvaluatorXImpl.getValue(BindContext ctx,
Component comp,
ExpressionX expression) |
ValueReference |
BindEvaluatorXImpl.getValueReference(BindContext ctx,
Component comp,
ExpressionX expression) |
boolean |
BinderImpl.hasValidator(Component comp,
java.lang.String attr) |
void |
BinderImpl.init(Component comp,
java.lang.Object viewModel)
Deprecated.
use
BinderImpl.init(Component, Object, Map) instead |
void |
BinderImpl.init(Component comp,
java.lang.Object viewModel,
java.util.Map<java.lang.String,java.lang.Object> initArgs) |
void |
AnnotateBinderHelper.initComponentBindings(Component comp) |
static boolean |
BinderUtil.isHandling(Component comp) |
boolean |
BindEvaluatorXImpl.isReadOnly(BindContext ctx,
Component comp,
ExpressionX expression) |
void |
BinderImpl.loadComponent(Component comp,
boolean loadinit)
Internal Use only. init and load the component
|
protected void |
BinderImpl.loadComponent0(Component comp,
boolean loadinit) |
static void |
BinderUtil.markHandling(Component comp,
Binder binder) |
static BindContext |
BindContextUtil.newBindContext(Binder binder,
Binding binding,
boolean save,
java.lang.String command,
Component comp,
Event event) |
protected CommandBinding |
BinderImpl.newCommandBinding(Component comp,
java.lang.String evtnm,
java.lang.String cmdScript,
java.util.Map<java.lang.String,java.lang.Object> args)
Make this extenable.
|
protected InitChildrenBinding |
BinderImpl.newInitChildrenBinding(Component comp,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs)
Make this extenable.
|
protected InitFormBinding |
BinderImpl.newInitFormBinding(Component comp,
java.lang.String formId,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
Make this extenable.
|
protected InitPropertyBinding |
BinderImpl.newInitPropertyBinding(Component comp,
java.lang.String attr,
java.lang.String loadAttr,
java.lang.Class<?> attrType,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs)
Make this extenable.
|
protected LoadChildrenBinding |
BinderImpl.newLoadChildrenBinding(Component comp,
java.lang.String loadExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs)
Make this extenable.
|
protected LoadFormBinding |
BinderImpl.newLoadFormBinding(Component comp,
java.lang.String formId,
java.lang.String loadExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
Make this extenable.
|
protected LoadPropertyBinding |
BinderImpl.newLoadPropertyBinding(Component comp,
java.lang.String attr,
java.lang.String loadAttr,
java.lang.Class<?> attrType,
java.lang.String loadExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs)
Make this extenable.
|
protected SaveFormBinding |
BinderImpl.newSaveFormBinding(Component comp,
java.lang.String formId,
java.lang.String saveExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String validatorExpr,
java.util.Map<java.lang.String,java.lang.Object> validatorArgs)
Make this extenable.
|
protected SavePropertyBinding |
BinderImpl.newSavePropertyBinding(Component comp,
java.lang.String attr,
java.lang.String saveAttr,
java.lang.String saveExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs,
java.lang.String validatorExpr,
java.util.Map<java.lang.String,java.lang.Object> validatorArgs)
Make this extenable.
|
protected XelContext |
BindEvaluatorXImpl.newXelContext(BindContext ctx,
Component comp) |
void |
BinderImpl.removeBindings(Component comp)
Remove all bindings that associated with the specified component.
|
void |
BinderImpl.removeBindings(Component comp,
java.lang.String key)
Remove all bindings that associated with the specified component and key (_fieldExpr|evtnm|formid).
|
void |
ReferenceBindingHandler.removeReferenceBinding(Component comp) |
void |
ReferenceBindingHandler.removeReferenceBinding(Component comp,
java.lang.String attr) |
java.lang.String |
BindSelectboxRenderer.render(Component owner,
java.lang.Object data,
int index) |
void |
BindChildRenderer.render(Component owner,
java.lang.Object data,
int index,
int size) |
void |
BindChildRenderer.render(Component owner,
java.lang.Object data,
int index,
int size,
boolean isListModel) |
void |
BinderPropertiesRenderer.renderProperties(Component comp,
ContentRenderer render) |
protected Template |
AbstractRenderer.resolveTemplate(Component templateComp,
Component comp,
java.lang.Object data,
int index,
int size,
java.lang.String defaultName) |
protected Template |
AbstractRenderer.resolveTemplate(Component templateComp,
Component comp,
java.lang.Object data,
int index,
int size,
java.lang.String defaultName,
java.lang.String subType) |
Template |
TemplateResolverImpl.resolveTemplate(Component eachComp,
java.lang.Object eachData,
int index,
int size) |
Template |
TemplateResolverImpl.resolveTemplate(Component eachComp,
java.lang.Object eachData,
int index,
int size,
java.lang.String subType) |
static void |
BindContextUtil.setCommandArgs(Binder binder,
Component comp,
BindContext ctx,
java.util.Map<java.lang.String,java.lang.Object> args) |
void |
ParamCall.setComponent(Component comp) |
static void |
BindContextUtil.setConverterArgs(Binder binder,
Component comp,
BindContext ctx,
PropertyBinding binding) |
void |
ValidationMessagesImpl.setMessages(Component comp,
java.lang.String attr,
java.lang.String key,
java.lang.String[] messages) |
void |
ValidationMessagesImpl.setMessages(Component comp,
java.lang.String attr,
java.lang.String key,
java.lang.String[] messages,
java.lang.Object value) |
void |
BinderImpl.setTemplate(Component comp,
java.lang.String attr,
java.lang.String templateExpr,
java.util.Map<java.lang.String,java.lang.Object> templateArgs) |
static void |
BindContextUtil.setValidatorArgs(Binder binder,
Component comp,
BindContext ctx,
SaveFormBinding binding) |
static void |
BindContextUtil.setValidatorArgs(Binder binder,
Component comp,
BindContext ctx,
SavePropertyBinding binding) |
void |
BindEvaluatorXImpl.setValue(BindContext ctx,
Component comp,
ExpressionX expression,
java.lang.Object value) |
void |
BinderImpl.storeForm(Component comp,
java.lang.String id,
Form form) |
static void |
BinderUtil.unmarkHandling(Component comp) |
Modifier and Type | Method and Description |
---|---|
void |
BinderImpl.removeBindings(java.util.Set<Component> comps) |
Constructor and Description |
---|
BindContextImpl(Binder binder,
Binding binding,
boolean save,
java.lang.String command,
Component comp,
Event event) |
BindingImpl(Binder binder,
Component comp,
java.util.Map<java.lang.String,java.lang.Object> args) |
BindingKey(Component x,
java.lang.String y) |
ChildrenBindingImpl(Binder binder,
Component comp,
java.lang.String accessExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
ChildrenBindingListDataListener(Component comp,
BindContext ctx,
Converter<?,ListModel<?>,Component> conv) |
CommandBindingImpl(Binder binder,
Component comp,
java.lang.String evtnm,
java.lang.String cmdScript,
java.util.Map<java.lang.String,java.lang.Object> args) |
FormBindingImpl(Binder binder,
Component comp,
java.lang.String formId,
java.lang.String accessExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs) |
InitChildrenBindingImpl(Binder binder,
Component comp,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
InitFormBindingImpl(Binder binder,
Component comp,
java.lang.String formId,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs) |
InitPropertyBindingImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String loadAttr,
java.lang.Class<?> attrType,
java.lang.String initExpr,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
LoadChildrenBindingImpl(Binder binder,
Component comp,
java.lang.String loadExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
LoadFormBindingImpl(Binder binder,
Component comp,
java.lang.String formId,
java.lang.String loadExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs) |
LoadPropertyBindingImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String loadAttr,
java.lang.Class<?> attrType,
java.lang.String loadExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
LoadTemplateBindingImpl(Binder binder,
Component comp,
java.util.Map<java.lang.String,java.lang.Object> args) |
PropertyBindingImpl(Binder binder,
Component comp,
java.lang.String fieldName,
java.lang.String fieldExpr,
java.lang.String accessExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs) |
PropertyExpression(Component cmp,
java.lang.String field) |
ReferenceBindingImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String expression) |
SaveFormBindingImpl(Binder binder,
Component comp,
java.lang.String formId,
java.lang.String saveExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String validatorExpr,
java.util.Map<java.lang.String,java.lang.Object> validatorArgs) |
SavePropertyBindingImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String saveAttr,
java.lang.String saveExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs,
java.lang.String validatorExpr,
java.util.Map<java.lang.String,java.lang.Object> validatorArgs) |
SimpleBindXelContext(Component cmp,
Binder binder,
VariableResolver resolver,
FunctionMapper mapper) |
TemplateResolverImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String templateExpr,
java.util.Map<java.lang.String,java.lang.Object> templateArgs) |
Constructor and Description |
---|
ChildrenBindingListDataListener(Component comp,
BindContext ctx,
Converter<?,ListModel<?>,Component> conv) |
Modifier and Type | Method and Description |
---|---|
Component |
ValidationMessages.getAssociate(java.lang.String key)
Returns the first associated component from the given key, if any.
|
Component[] |
ValidationMessages.getAssociates(java.lang.String key)
Returns all associated components from the given key, if any.
|
Component |
Binding.getComponent()
Returns the associated component of this binding.
|
Modifier and Type | Method and Description |
---|---|
void |
BinderCtrl.addFormAssociatedSaveBinding(Component associatedComp,
java.lang.String formId,
SaveBinding saveBinding,
java.lang.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 components
|
void |
ValidationMessages.addMessages(Component comp,
java.lang.String attr,
java.lang.String key,
java.lang.String[] messages)
add validation messages to component
|
void |
ValidationMessages.addMessages(Component comp,
java.lang.String attr,
java.lang.String key,
java.lang.String[] messages,
java.lang.Object value)
add validation messages to component
|
void |
TemplateResolver.addTemplateTracking(Component eachComp)
Deprecated.
since 6.5.3
|
void |
TemplateResolver.addTemplateTracking(Component eachComp,
java.lang.Object eachData,
int index,
int size)
Add template tracking to component
|
void |
ValidationMessages.clearKeyMessages(Component comp,
java.lang.String key)
clear validation message of component and a special message key
|
void |
ValidationMessages.clearMessages(Component comp)
clear validation message of component
|
void |
ValidationMessages.clearMessages(Component comp,
java.lang.String attr)
clear validation message of component
|
java.lang.Object |
ValidationMessages.getFieldValue(Component comp,
java.lang.String key)
Returns the first field value from the given key and component, if any.
|
java.lang.Object[] |
ValidationMessages.getFieldValues(Component comp,
java.lang.String key)
Returns all field values from the given key and component, if any.
|
Form |
BinderCtrl.getForm(Component comp,
java.lang.String id)
Get the form of the component
|
java.util.Set<SaveBinding> |
BinderCtrl.getFormAssociatedSaveBindings(Component formComp)
Get associated save bindings of a form in a component
|
java.lang.String[] |
ValidationMessages.getKeyMessages(Component comp,
java.lang.String key)
get validation message of component and a special key
|
java.util.List<Binding> |
BinderCtrl.getLoadPromptBindings(Component comp,
java.lang.String attr)
get all load prompt binding of the component and attribute
|
java.lang.String[] |
ValidationMessages.getMessages(Component comp)
get validation messages of a component
|
java.lang.String[] |
ValidationMessages.getMessages(Component comp,
java.lang.String attr)
get validation messages of a component and special attribute
|
TemplateResolver |
BinderCtrl.getTemplateResolver(Component comp,
java.lang.String attr)
get the template resolver that sets by
Binder.setTemplate(Component, String, String, java.util.Map) |
java.lang.Class<?> |
BindEvaluatorX.getType(BindContext ctx,
Component comp,
ExpressionX expression)
Returns the result type of the specified expression.
|
java.lang.Object |
BindEvaluatorX.getValue(BindContext ctx,
Component comp,
ExpressionX expression)
Sets the specified value to the property resolved from the specified expression.
|
ValueReference |
BindEvaluatorX.getValueReference(BindContext ctx,
Component comp,
ExpressionX expression)
Returns the result reference of the specified expression.
|
boolean |
BinderCtrl.hasValidator(Component comp,
java.lang.String attr)
is there a validator on the attribute of component
|
boolean |
BindEvaluatorX.isReadOnly(BindContext ctx,
Component comp,
ExpressionX expression)
Returns whether the specified expression a read only expression.
|
Template |
TemplateResolver.resolveTemplate(Component eachComp,
java.lang.Object eachData,
int index,
int size)
Deprecated.
|
Template |
TemplateResolver.resolveTemplate(Component eachComp,
java.lang.Object eachData,
int index,
int size,
java.lang.String subType)
Resolve the template for the component
|
void |
ValidationMessages.setMessages(Component comp,
java.lang.String attr,
java.lang.String key,
java.lang.String[] messages)
set validation messages to component, it will replace previous messages
|
void |
ValidationMessages.setMessages(Component comp,
java.lang.String attr,
java.lang.String key,
java.lang.String[] messages,
java.lang.Object value)
set validation messages to component, it will replace previous messages
|
void |
BindEvaluatorX.setValue(BindContext ctx,
Component comp,
ExpressionX expression,
java.lang.Object value)
Sets the specified value to the property resolved from the specified expression.
|
void |
BinderCtrl.storeForm(Component comp,
java.lang.String id,
Form form)
Store the form in the component with id
|
Modifier and Type | Method and Description |
---|---|
Component |
ExecutionInfo.getComponent()
the component of this info
|
Modifier and Type | Method and Description |
---|---|
void |
BindingAnnotationInfoChecker.checkBinder(Component comp)
check binder annotation
|
void |
BindingAnnotationInfoChecker.checkBinding(Binder binder,
Component comp)
check binding annotation
|
void |
BindingAnnotationInfoChecker.checkValidationMessages(Component comp)
check validation message annotation
|
void |
BindingAnnotationInfoChecker.checkViewModel(Component comp)
check view model annotation
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultAnnotationInfoChecker.checkBinder(Component comp) |
void |
DefaultAnnotationInfoChecker.checkBinding(Binder binder,
Component comp) |
void |
DefaultAnnotationInfoChecker.checkValidationMessages(Component comp) |
void |
DefaultAnnotationInfoChecker.checkViewModel(Component comp) |
Modifier and Type | Method and Description |
---|---|
Component |
ExecutionInfoBase.getComponent() |
Constructor and Description |
---|
AddBindingInfo(java.lang.String subtype,
Component comp,
java.lang.String condition,
java.lang.String fromExpr,
java.lang.String toExpr,
java.util.Map<java.lang.String,java.lang.Object> args,
java.lang.String note) |
AddCommandBindingInfo(java.lang.String subtype,
Component comp,
java.lang.String event,
java.lang.String commandExpr,
java.util.Map<java.lang.String,java.lang.Object> args,
java.lang.String note) |
AnnoWarnInfo(Component comp,
java.lang.String attr,
java.lang.String anno,
java.lang.String note) |
CommandInfo(java.lang.String subtype,
Component comp,
java.lang.String event,
java.lang.String commandExpr,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> args,
java.lang.String note) |
EventInfo(Component comp,
java.lang.String event,
java.lang.String note) |
ExecutionInfoBase(java.lang.String type,
java.lang.String subtype,
Component comp,
java.lang.String note) |
LoadInfo(java.lang.String subtype,
Component comp,
java.lang.String condition,
java.lang.String fromExpr,
java.lang.String toExpr,
java.lang.Object value,
java.util.Map<java.lang.String,java.lang.Object> args,
java.lang.String note) |
NotifyChangeInfo(Component comp,
java.lang.Object base,
java.lang.Object prop,
java.lang.String note) |
SaveInfo(java.lang.String subtype,
Component comp,
java.lang.String condition,
java.lang.String fromExpr,
java.lang.String toExpr,
java.lang.Object value,
java.util.Map<java.lang.String,java.lang.Object> args,
java.lang.String note) |
ValidationInfo(java.lang.String subtype,
Component comp,
java.lang.String validatorExpr,
java.lang.String validator,
java.lang.Object result,
java.util.Map<java.lang.String,java.lang.Object> args,
java.lang.String note) |
Modifier and Type | Method and Description |
---|---|
void |
Tracker.addDependsOn(Component srcComp,
java.lang.String[] srcSeries,
Binding srcBinding,
Component dependsOnComp,
java.lang.String[] dependsOnSeries)
Add a depends-on tracking between the source property name series and depends-on property name series.
|
void |
Tracker.addTracking(Component comp,
java.lang.String[] series,
Binding binding)
Add a tracking that associate a binding to a dot series under the specified
Component |
void |
Tracker.removeTrackings(Component comp)
Remove all tracking associated with the specified
Component . |
Modifier and Type | Method and Description |
---|---|
void |
Tracker.removeTrackings(java.util.Set<Component> comps)
Remove all tracking associated with the specified
Component set. |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Component,java.util.Map<java.lang.Object,TrackerNode>> |
TrackerImpl._compMap |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<Component,java.util.Map<java.lang.Object,TrackerNode>> |
TrackerImpl.initCompMap() |
Modifier and Type | Method and Description |
---|---|
void |
TrackerImpl.addDependsOn(Component srcComp,
java.lang.String[] srcSeries,
Binding srcBinding,
Component dependsOnComp,
java.lang.String[] dependsOnSeries) |
void |
TrackerImpl.addTracking(Component comp,
java.lang.String[] series,
Binding binding) |
void |
BindUiLifeCycle.afterComponentAttached(Component comp,
Page page) |
void |
BindUiLifeCycle.afterComponentDetached(Component comp,
Page prevpage) |
void |
BindUiLifeCycle.afterComponentMoved(Component parent,
Component child,
Component prevparent) |
void |
BindUiLifeCycle.afterShadowAttached(ShadowElement shadow,
Component host) |
void |
BindUiLifeCycle.afterShadowDetached(ShadowElement shadow,
Component prevhost) |
protected TrackerNode |
TrackerImpl.getOrCreateTrackerNode(Component comp,
java.lang.String[] series) |
protected void |
BindUiLifeCycle.handleComponentAttached(Component comp) |
protected void |
BindUiLifeCycle.handleComponentDetached(Component comp) |
boolean |
BindUiLifeCycle.Extension.isLifeCycleHandling(Component comp) |
static void |
BindUiLifeCycle.markLifeCycleHandling(Component comp)
Internal use only.
|
void |
BindUiLifeCycle.Extension.markLifeCycleHandling(Component comp) |
void |
BindUiLifeCycle.Extension.removeLifeCycleHandling(Component comp) |
void |
TrackerImpl.removeTrackings(Component comp) |
Modifier and Type | Method and Description |
---|---|
void |
TrackerImpl.removeTrackings(java.util.Set<Component> comps) |
Modifier and Type | Method and Description |
---|---|
static void |
BindELContext.addDependsOnTracking(Binding srcBinding,
java.util.List<java.lang.String> srcPath,
Component srcComp,
java.lang.String dependsOnPath,
Component dependsOnComp)
Prepare the dependsOn nodes
|
static void |
BindELContext.addModel(Component comp,
java.lang.Object model) |
static java.lang.String |
BindELContext.getModelName(Component comp) |
static java.lang.Object |
BindELContext.removeModel(Component comp) |
Modifier and Type | Class and Description |
---|---|
class |
A
The A tag.
|
class |
Abbr
The ABBR tag.
|
class |
Acronym
Deprecated.
Not supported in HTML5.
|
class |
Address
The ADDRESS tag.
|
class |
Area
The AREA tag.
|
class |
Article
The ARTICLE tag.
|
class |
Aside
The ASIDE tag.
|
class |
Audio
The AUDIO tag.
|
class |
B
The B tag.
|
class |
Base
The BASE tag.
|
class |
Bdi
The BDI tag.
|
class |
Bdo
The BDO tag.
|
class |
Big
Deprecated.
Not supported in HTML5.
|
class |
Blockquote
The BLOCKQUOTE tag.
|
class |
Body
The BODY tag.
|
class |
Br
The BR tag.
|
class |
Button
The BUTTON tag.
|
class |
Canvas
The CANVAS tag.
|
class |
Caption
The CAPTION tag.
|
class |
Center
Deprecated.
Not supported in HTML5.
|
class |
Cite
The CITE tag.
|
class |
Code
The CODE tag.
|
class |
Col
The COL tag.
|
class |
Colgroup
The COLGROUP tag.
|
class |
Data
The DATA tag.
|
class |
Datalist
The DATALIST tag.
|
class |
Dd
The DD tag.
|
class |
Del
The DEL tag.
|
class |
Details
The DETAILS tag.
|
class |
Dfn
The DFN tag.
|
class |
Dir
Deprecated.
Not supported in HTML5.
|
class |
Div
The DIV tag.
|
class |
Dl
The DL tag.
|
class |
Dt
The DT tag.
|
class |
Em
The EM tag.
|
class |
Embed
The EMBED tag.
|
class |
Fieldset
The FIELDSET tag.
|
class |
Figcaption
The FIGCAPTION tag.
|
class |
Figure
The FIGURE tag.
|
class |
Font
The FONT tag.
|
class |
Footer
The FOOTER tag.
|
class |
Form
The FORM tag.
|
class |
H1
The H1 tag.
|
class |
H2
The H2 tag.
|
class |
H3
The H3 tag.
|
class |
H4
The H4 tag.
|
class |
Head
The HEAD tag.
|
class |
Header
The HEADER tag.
|
class |
Hr
The HR tag.
|
class |
Html
The HTML tag.
|
class |
I
The I tag.
|
class |
Iframe
The IFRAME tag.
|
class |
Img
The IMG tag.
|
class |
Input
The input tag.
|
class |
Ins
The INS tag.
|
class |
Isindex
Deprecated.
Not supported in HTML5.
|
class |
Kbd
The KBD tag.
|
class |
Label
The LABEL tag.
|
class |
Legend
The LEGEND tag.
|
class |
Li
The LI tag.
|
class |
Link
The LINK tag.
|
class |
Main
The main tag.
|
class |
Map
The MAP tag.
|
class |
Mark
The MARK tag.
|
class |
Menu
The MENU tag.
|
class |
Meta
The META tag.
|
class |
Meter
The METER tag.
|
class |
Nav
The NAV tag.
|
class |
Nobr
Deprecated.
Not standard HTML.
|
class |
Object
The OBJECT tag.
|
class |
Ol
The OL tag.
|
class |
Optgroup
The OPTGROUP tag.
|
class |
Option
The OPTION tag.
|
class |
Output
The OUTPUT tag.
|
class |
P
The P tag.
|
class |
Param
The PARAM tag.
|
class |
Pre
The PRE tag.
|
class |
Progress
The PROGRESS tag.
|
class |
Q
The Q tag.
|
class |
Raw
The raw component used to generate raw HTML elements.
|
class |
Rp
The RP tag.
|
class |
Rt
The RT tag.
|
class |
Rtc
The RTC tag.
|
class |
Ruby
The RUBY tag.
|
class |
S
The S tag.
|
class |
Samp
The SAMP tag.
|
class |
Script
The SCRIPT tag.
|
class |
Section
The SECTION tag.
|
class |
Select
The SELECT tag.
|
class |
Small
The SMALL tag.
|
class |
Source
The SOURCE tag.
|
class |
Span
The SPAN tag.
|
class |
Strong
The STRONG tag.
|
class |
Style
The STYLE tag.
|
class |
Sub
The SUB tag.
|
class |
Summary
The SUMMARY tag.
|
class |
Sup
The Sup tag.
|
class |
Table
The TABLE tag.
|
class |
Tbody
The TBODY tag.
|
class |
Td
The TD tag.
|
class |
Template
The TEMPLATE tag.
|
class |
Text
Represents a piece of text (of DOM).
|
class |
Textarea
The TEXTAREA tag.
|
class |
Tfoot
The TFOOT tag.
|
class |
Th
The TH tag.
|
class |
Thead
The THEAD tag.
|
class |
Time
The TIME tag.
|
class |
Title
The TITLE tag.
|
class |
Tr
The TR tag.
|
class |
Track
The TRACK tag.
|
class |
Tt
Deprecated.
Not supported in HTML5.
|
class |
U
The U tag.
|
class |
Ul
The UL tag.
|
class |
Var
The VAR tag.
|
class |
Video
The VIDEO tag.
|
class |
Wbr
The WBR tag.
|
class |
Zkhead
The component used to generate CSS and JavaScrpt declarations.
|
Modifier and Type | Method and Description |
---|---|
void |
Html.beforeParentChanged(Component parent) |
void |
Body.beforeParentChanged(Component parent) |
void |
Head.beforeParentChanged(Component parent) |
void |
Text.setParent(Component parent) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTag
The raw component used to generate raw HTML elements.
|
class |
ContentTag
Represents a tag that shall generate the child elements directly.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
PageRenderer.childrenToContent(Component comp)
Converts the children of the give component into a string-typed content, or null if no
children at all.
|
void |
TagRenderContext.renderBegin(Component comp,
java.util.Map clientEvents,
java.lang.String specialRendererOutput,
boolean lookup)
Renders the beginning JavaScript code snippet for the component.
|
void |
TagRenderContext.renderEnd(Component comp)
Renders the ending JavaScript code snippet for the component.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Component> |
AuRequests.convertToItems(Desktop desktop,
java.util.List<java.lang.String> uuids)
Converts the data of the specified request to a set of Component.
|
Modifier and Type | Method and Description |
---|---|
Component |
AuRequest.getComponent()
Returns the component that this request is applied for, or null
if it applies to the whole page or a general request.
|
Constructor and Description |
---|
AuResponse(java.lang.String cmd,
Component depends,
java.lang.Object data)
Constructs a response with one or zero data.
|
AuResponse(java.lang.String cmd,
Component depends,
java.lang.Object[] data)
Constructs a response with multiple data.
|
JSONComponent(Component comp) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
AuEcho.getData(Component comp,
java.lang.Object key)
Retrieves the data associated with an echo event.
|
Constructor and Description |
---|
AuAppendChild(Component comp,
java.util.Collection<java.lang.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) |
AuEcho(Component comp,
java.lang.String evtnm,
java.lang.Object data)
Constructs an echo response that will cause an event to fire
when the client echoes back.
|
AuEcho(Component comp,
java.lang.String evtnm,
java.lang.String data)
Constructs an echo response that will cause an event to fire
when the client echoes back.
|
AuFocus(Component comp) |
AuInsertAfter(Component anchor,
java.util.Collection<java.lang.String> contents) |
AuInsertBefore(Component anchor,
java.util.Collection<java.lang.String> contents) |
AuInvoke(Component comp,
java.lang.String function)
Construct AuInvoke to call the peer widget's member function with
no argument.
|
AuInvoke(Component comp,
java.lang.String function,
boolean arg)
Construct AuInvoke to call the peer widget's member function with
one boolean argument.
|
AuInvoke(Component comp,
java.lang.String function,
double arg)
Construct AuInvoke to call the peer widget's member function with
one double argument.
|
AuInvoke(Component comp,
java.lang.String function,
int arg)
Construct AuInvoke to call the peer widget's member function with
one int argument.
|
AuInvoke(Component comp,
java.lang.String function,
java.lang.Object... args)
Construct AuInvoke to call the peer widget's member function with
an array of the given arguments.
|
AuInvoke(Component comp,
java.lang.String function,
java.lang.Object arg)
Construct AuInvoke to call the peer widget's member function with
one argument.
|
AuInvoke(Component comp,
java.lang.String function,
java.lang.Object arg1,
java.lang.Object arg2)
Construct AuInvoke to call the peer widget's member function with
two arguments.
|
AuInvoke(Component comp,
java.lang.String function,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3)
Construct AuInvoke to call the peer widget's member function with
three arguments.
|
AuInvoke(Component comp,
java.lang.String function,
java.lang.String... args)
Construct AuInvoke to call a client function with variable number of
arguments.
|
AuNotification(java.lang.String msg,
java.lang.String type,
Page page,
Component ref,
int x,
int y,
int duration,
boolean closable)
Shows notification at given coordinate
|
AuNotification(java.lang.String msg,
java.lang.String type,
Page page,
Component ref,
java.lang.String position,
int duration,
boolean closable)
Shows notification at predefined position.
|
AuOuter(Component comp,
java.lang.String content) |
AuRemove(Component comp)
Deprecated.
As of release 6.0.0, replaced with
AuRemove(String) . |
AuResizeWidget(Component comp)
Constructs a command to force ZK Client re-calculate the size of
the given widget.
|
AuScript(Component depends,
java.lang.String script) |
AuScrollIntoView(Component comp)
Constructor.
|
AuSelect(Component comp) |
AuSelect(Component comp,
int beg,
int end) |
AuSetAttribute(Component comp,
java.lang.String attr,
java.lang.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,
java.lang.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.
|
AuUuid(Component comp,
java.lang.String oldid) |
AuWrongValue(Component comp,
java.lang.String message) |
Constructor and Description |
---|
AuClearWrongValue(java.util.List<? extends Component> comps) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractComponent
A skeletal implementation of
Component . |
class |
HtmlBasedComponent
A skeletal implementation for HTML based components.
|
class |
HtmlMacroComponent
The implementation of a macro component for HTML-based clients.
|
class |
HtmlNativeComponent
A component used to represent XML elements that are associated
with the native namespace (http://www.zkoss.org/2005/zk/native).
|
class |
HtmlShadowElement
A skeleton of shadow element that represents as a shadow tree.
|
Modifier and Type | Method and Description |
---|---|
<T extends Component> |
Component.getChildren()
Returns a live list of children.
|
<T extends Component> |
AbstractComponent.getChildren()
Returns a live list of children.
|
<T extends Component> |
ShadowElement.getDistributedChildren()
Returns a list of distributed components of the shadow tree, including
its descendant.
|
<T extends Component> |
HtmlShadowElement.getDistributedChildren() |
Modifier and Type | Method and Description |
---|---|
Component |
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 Component |
Executions.createComponents(PageDefinition pagedef,
Component parent,
java.util.Map<?,?> arg)
Creates components based on the specified page definition.
|
Component |
Execution.createComponents(PageDefinition pagedef,
Component parent,
java.util.Map<?,?> arg)
Creates components from the specified page definition.
|
Component[] |
Execution.createComponents(PageDefinition pagedef,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the specified page definition.
|
Component |
Execution.createComponents(java.lang.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.
|
Component[] |
Execution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg)
Creates components from a page file specified by an URI
with a custom variable resolver and inserts before a particular component.
|
static Component |
Executions.createComponents(java.lang.String uri,
Component parent,
java.util.Map<?,?> arg)
Creates components from a page file specified by an URI.
|
Component |
Execution.createComponents(java.lang.String uri,
Component parent,
java.util.Map<?,?> arg)
Creates components from a page file specified by an URI.
|
Component[] |
Execution.createComponents(java.lang.String uri,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from a page file specified by an URI.
|
static Component[] |
Executions.createComponents(java.lang.String uri,
Page page,
VariableResolver resolver,
java.util.Map<?,?> arg)
Creates components that belong to the given page
from a page file specified by an URI.
|
Component[] |
Execution.createComponents(java.lang.String uri,
Page page,
VariableResolver resolver,
java.util.Map<?,?> arg)
Creates components that belong to the given page
from a page file specified by an URI.
|
static Component[] |
Executions.createComponents(WebApp wapp,
PageDefinition pagedef,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the specified page definition.
|
static Component[] |
Executions.createComponents(WebApp wapp,
java.lang.String uri,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from a page file specified by an URI.
|
Component |
Execution.createComponentsDirectly(Document content,
java.lang.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 Component |
Executions.createComponentsDirectly(Document content,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content specified by a DOM tree.
|
Component |
Execution.createComponentsDirectly(Document content,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content specified by a DOM tree.
|
Component[] |
Execution.createComponentsDirectly(Document content,
java.lang.String extension,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the raw content specified by a DOM tree.
|
Component |
Execution.createComponentsDirectly(java.io.Reader reader,
java.lang.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.
|
static Component |
Executions.createComponentsDirectly(java.io.Reader reader,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content read from the specified reader.
|
Component |
Execution.createComponentsDirectly(java.io.Reader reader,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content read from the specified reader.
|
Component[] |
Execution.createComponentsDirectly(java.io.Reader reader,
java.lang.String extension,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the raw content read from the specified reader.
|
Component |
Execution.createComponentsDirectly(java.lang.String content,
java.lang.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.
|
static Component |
Executions.createComponentsDirectly(java.lang.String content,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content specified by a string.
|
Component |
Execution.createComponentsDirectly(java.lang.String content,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content specified by a string.
|
Component[] |
Execution.createComponentsDirectly(java.lang.String content,
java.lang.String extension,
java.util.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,
java.lang.String extension,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the raw content specified by a DOM tree.
|
static Component[] |
Executions.createComponentsDirectly(WebApp wapp,
java.io.Reader reader,
java.lang.String extension,
java.util.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,
java.lang.String content,
java.lang.String extension,
java.util.Map<?,?> arg)
Creates components that don't belong to any page
from the raw content specified by a string.
|
Component |
WrongValueException.getComponent()
Returns the component that causes this exception, or null.
|
Component |
Path.getComponent()
Returns the component with this path, or null if no such component.
|
static Component |
Path.getComponent(IdSpace is,
java.lang.String path)
Returns the component of the specified path which is related
to the specified ID space, or null if no such component.
|
static Component |
Path.getComponent(java.lang.String path)
Returns the component of the specified path, or null if no such component.
|
Component |
Desktop.getComponentByUuid(java.lang.String uuid)
Returns the component of the specified UUID (
getUuid() ). |
Component |
Desktop.getComponentByUuidIfAny(java.lang.String uuid)
Returns the component of the specified UUID
(
getUuid() ), or null if not found. |
Component |
IdSpace.getFellow(java.lang.String id)
Returns a component of the specified ID in this ID space.
|
Component |
Component.getFellow(java.lang.String id)
Returns a component of the specified ID in the same ID space.
|
Component |
AbstractPage.getFellow(java.lang.String compId) |
Component |
AbstractComponent.getFellow(java.lang.String compId) |
Component |
IdSpace.getFellow(java.lang.String id,
boolean recurse)
Returns a component of the specified ID in this ID space.
|
Component |
Component.getFellow(java.lang.String id,
boolean recurse)
Returns a component of the specified ID in the same ID space.
|
Component |
AbstractPage.getFellow(java.lang.String compId,
boolean recurse)
The same as
AbstractPage.getFellow(String) . |
Component |
AbstractComponent.getFellow(java.lang.String compId,
boolean recurse) |
Component |
IdSpace.getFellowIfAny(java.lang.String id)
Returns a component of the specified ID in this ID space, or null
if not found.
|
Component |
Component.getFellowIfAny(java.lang.String id)
Returns a component of the specified ID in the same ID space, or null
if not found.
|
Component |
AbstractPage.getFellowIfAny(java.lang.String compId) |
Component |
AbstractComponent.getFellowIfAny(java.lang.String compId) |
Component |
IdSpace.getFellowIfAny(java.lang.String id,
boolean recurse)
Returns a component of the specified ID in this ID space, or null
if not found.
|
Component |
Component.getFellowIfAny(java.lang.String id,
boolean recurse)
Returns a component of the specified ID in the same ID space, or null
if not found.
|
Component |
AbstractPage.getFellowIfAny(java.lang.String compId,
boolean recurse)
The same as
AbstractPage.getFellowIfAny(String) . |
Component |
AbstractComponent.getFellowIfAny(java.lang.String compId,
boolean recurse) |
Component |
Component.getFirstChild()
Returns the first child component, or null if no child at all.
|
Component |
AbstractComponent.getFirstChild() |
Component |
ShadowElementCtrl.getFirstInsertion()
Returns the first component of its insertion range.
|
Component |
HtmlShadowElement.getFirstInsertion()
Returns the first component of its insertion range.
|
Component |
Page.getFirstRoot()
Returns the first root component.
|
Component |
AbstractPage.getFirstRoot() |
Component |
Component.getLastChild()
Returns the last child component, or null if no child at all.
|
Component |
AbstractComponent.getLastChild() |
Component |
ShadowElementCtrl.getLastInsertion()
Returns the last component of its insertion range.
|
Component |
HtmlShadowElement.getLastInsertion()
Returns the last component of its insertion range.
|
Component |
Page.getLastRoot()
Returns the last root component.
|
Component |
AbstractPage.getLastRoot() |
Component |
ShadowElementCtrl.getNextInsertion()
Returns the next insertion point, it may be a component, a shadow element, or null.
|
Component |
HtmlShadowElement.getNextInsertion()
Returns the next insertion point, it may be a component, a shadow element, or null.
|
Component |
HtmlShadowElement.getNextInsertionComponentIfAny()
Returns the next component before this shadow, if any.
|
Component |
Component.getNextSibling()
Returns the next sibling, or null if it is the last child.
|
Component |
AbstractComponent.getNextSibling() |
Component |
Component.getParent()
Returns the parent component, or null if this is the root component.
|
Component |
AbstractComponent.getParent() |
Component |
ShadowElementCtrl.getPreviousInsertion()
Returns the previous insertion point, it may be a component, a shadow element, or null.
|
Component |
HtmlShadowElement.getPreviousInsertion()
Returns the previous insertion point, it may be a component, a shadow element, or null.
|
Component |
HtmlShadowElement.getPreviousInsertionComponentIfAny()
Returns the first component before this shadow, if any.
|
Component |
Component.getPreviousSibling()
Returns the previous sibling, or null if it is the first child.
|
Component |
AbstractComponent.getPreviousSibling() |
Component |
Component.getRoot()
Returns the root of this component.
|
Component |
AbstractComponent.getRoot()
Returns the root of the specified component.
|
static Component |
Components.getRoot(Component comp)
Returns the root component of the specified one.
|
Component |
ShadowElement.getShadowHost()
Returns the owner component that hosts this shadow element.
|
Component |
HtmlShadowElement.getShadowHost() |
Component |
ShadowElementCtrl.getShadowHostIfAny()
Return the shadow host from it or its ancestor, if any.
|
Component |
HtmlShadowElement.getShadowHostIfAny() |
Component |
HtmlNativeComponent.HtmlHelper.newNative(java.lang.String text) |
static Component |
Components.pathToComponent(java.lang.String path,
Component ref)
Converts a path, generated by
Components.componentToPath(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Component) , to
a component. |
Component |
Component.query(java.lang.String selector)
Find the first component that matches the given CSS3 selector.
|
Component |
AbstractComponent.query(java.lang.String selector) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Component> |
Desktop.getComponents()
Returns all components contained in this desktop.
|
java.util.Collection<Component> |
IdSpace.getFellows()
Returns all fellows in this ID space.
|
java.util.Collection<Component> |
Component.getFellows()
Returns all fellows in the same ID space of this component.
|
java.util.Collection<Component> |
AbstractPage.getFellows() |
java.util.Collection<Component> |
AbstractComponent.getFellows() |
java.util.Collection<Component> |
Page.getRoots()
Returns a readonly list of the root components.
|
java.util.Collection<Component> |
AbstractPage.getRoots() |
static java.util.Collection<Component> |
Components.getVisibleChildren(Component comp)
Returns a collection of visible children.
|
java.util.ListIterator<Component> |
AbstractComponent.Children.listIterator(int index) |
java.lang.Iterable<Component> |
Component.queryAll(java.lang.String selector)
Returns an iterable object for components that match the given CSS3 selector.
|
java.lang.Iterable<Component> |
AbstractComponent.queryAll(java.lang.String selector) |
Modifier and Type | Method and Description |
---|---|
boolean |
Component.addForward(java.lang.String originalEvent,
Component target,
java.lang.String targetEvent)
Adds a forward condition to forward the event received
by this component to another component.
|
boolean |
AbstractComponent.addForward(java.lang.String orgEvent,
Component target,
java.lang.String targetEvent) |
boolean |
Component.addForward(java.lang.String originalEvent,
Component target,
java.lang.String targetEvent,
java.lang.Object eventData)
Adds a forward condition to forward the event received
by this component to another component with extra event data.
|
boolean |
AbstractComponent.addForward(java.lang.String orgEvent,
Component target,
java.lang.String targetEvent,
java.lang.Object eventData) |
static void |
Components.addForwards(Component comp,
java.lang.Object controller)
Deprecated.
As of release 6.0.0, replaced with
ConventionWires . |
static void |
Components.addForwards(Component comp,
java.lang.Object controller,
char separator)
Deprecated.
As of release 6.0.0, replaced with
ConventionWires . |
protected void |
AbstractComponent.addMoved(Component oldparent,
Page oldpg,
Page newpg)
Called when this component is moved from the specified parent
and/or page to the new page.
|
void |
ShadowElementCtrl.afterHostChildAdded(Component child,
int indexOfChild)
Called when a child is added to the host.
|
void |
HtmlShadowElement.afterHostChildAdded(Component child,
int indexOfChild) |
void |
ShadowElementCtrl.afterHostChildRemoved(Component child)
Called when a child is removed to the host.
|
void |
HtmlShadowElement.afterHostChildRemoved(Component child) |
boolean |
Component.appendChild(Component child)
Appends a child.
|
boolean |
AbstractComponent.appendChild(Component child)
Appends a child to the end of all children.
|
void |
HtmlShadowElement.beforeChildAdded(Component child,
Component refChild) |
void |
AbstractComponent.beforeChildAdded(Component child,
Component insertBefore)
Default: does nothing.
|
void |
AbstractComponent.beforeChildRemoved(Component child)
Default: does nothing.
|
void |
ShadowElementCtrl.beforeHostChildAdded(Component child,
Component insertBefore,
int indexOfInsertBefore)
Called before the host adding a child.
|
void |
HtmlShadowElement.beforeHostChildAdded(Component child,
Component insertBefore,
int indexOfInsertBefore) |
void |
ShadowElementCtrl.beforeHostChildRemoved(Component child,
int indexOfChild)
Called before the host removing a child.
|
void |
HtmlShadowElement.beforeHostChildRemoved(Component child,
int indexOfChild) |
void |
ShadowElementCtrl.beforeHostParentChanged(Component parent)
Called before the host changing the parent.
|
void |
HtmlShadowElement.beforeHostParentChanged(Component parent) |
void |
HtmlShadowElement.beforeParentChanged(Component parent) |
void |
AbstractComponent.beforeParentChanged(Component parent)
Default: If parent is null, execute the @Destroy method if any.
|
static java.lang.String |
Components.componentToPath(Component comp,
Component ref)
Converts a component to a path (relevant to another component).
|
protected abstract void |
HtmlShadowElement.compose(Component host)
Composes the shadow element.
|
Component |
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 Component |
Executions.createComponents(PageDefinition pagedef,
Component parent,
java.util.Map<?,?> arg)
Creates components based on the specified page definition.
|
Component |
Execution.createComponents(PageDefinition pagedef,
Component parent,
java.util.Map<?,?> arg)
Creates components from the specified page definition.
|
Component |
Execution.createComponents(java.lang.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.
|
Component[] |
Execution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg)
Creates components from a page file specified by an URI
with a custom variable resolver and inserts before a particular component.
|
static Component |
Executions.createComponents(java.lang.String uri,
Component parent,
java.util.Map<?,?> arg)
Creates components from a page file specified by an URI.
|
Component |
Execution.createComponents(java.lang.String uri,
Component parent,
java.util.Map<?,?> arg)
Creates components from a page file specified by an URI.
|
Component |
Execution.createComponentsDirectly(Document content,
java.lang.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 Component |
Executions.createComponentsDirectly(Document content,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content specified by a DOM tree.
|
Component |
Execution.createComponentsDirectly(Document content,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content specified by a DOM tree.
|
Component |
Execution.createComponentsDirectly(java.io.Reader reader,
java.lang.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.
|
static Component |
Executions.createComponentsDirectly(java.io.Reader reader,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content read from the specified reader.
|
Component |
Execution.createComponentsDirectly(java.io.Reader reader,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content read from the specified reader.
|
Component |
Execution.createComponentsDirectly(java.lang.String content,
java.lang.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.
|
static Component |
Executions.createComponentsDirectly(java.lang.String content,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content specified by a string.
|
Component |
Execution.createComponentsDirectly(java.lang.String content,
java.lang.String extension,
Component parent,
java.util.Map<?,?> arg)
Creates components from the raw content specified by a string.
|
static java.lang.Object |
Executions.evaluate(Component comp,
java.lang.String expr,
java.lang.Class expectedType)
Evaluates the specified expression by use of the current context
(
Executions.getCurrent() ). |
java.lang.Object |
Execution.evaluate(Component comp,
java.lang.String expr,
java.lang.Class<?> expectedType)
Evaluates the specified expression with ${link #getVariableResolver}
and
Page.getFunctionMapper() of the page of the specified
component. |
static Composer |
Components.getComposer(Component comp)
Returns the composer object, or null
if not found.
|
static Page |
Components.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.
|
java.lang.String |
Desktop.getDynamicMediaURI(Component comp,
java.lang.String pathInfo)
Returns URI for a dynamic generated media associated with a component.
|
static Evaluator |
Executions.getEvaluator(Component comp,
java.lang.Class<? extends ExpressionFactory> expfcls)
Returns the evaluator of the current execution.
|
Evaluator |
Execution.getEvaluator(Component comp,
java.lang.Class<? extends ExpressionFactory> expfcls)
Returns the evaluator of the current execution.
|
static java.lang.Object |
Components.getImplicit(Component comp,
java.lang.String name)
Returns the implicit object of the specified name, or null
if not found.
|
static java.lang.Object |
Components.getImplicit(Page page,
Component comp,
java.lang.String name)
Returns the implicit object of the specified name, or null
if not found.
|
static java.lang.String |
Path.getPath(Component comp)
Returns the path of the specified component.
|
static Component |
Components.getRoot(Component comp)
Returns the root component of the specified one.
|
java.lang.Object |
Component.getShadowVariable(Component baseChild,
java.lang.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.
|
java.lang.Object |
AbstractComponent.getShadowVariable(Component baseChild,
java.lang.String name,
boolean recurse) |
protected java.lang.Object |
AbstractComponent.getShadowVariable0(Component baseChild,
java.lang.String name,
boolean recurse) |
protected java.lang.String |
AbstractComponent.getSpecialRendererOutput(Component comp) |
static java.util.Collection<Component> |
Components.getVisibleChildren(Component comp)
Returns a collection of visible children.
|
Function |
Page.getZScriptFunction(Component comp,
java.lang.String name,
java.lang.Class[] argTypes)
Returns the function of the specified name by searching
the logical scope of the specified component
in all the loaded interpreters.
|
java.lang.Object |
Page.getZScriptVariable(Component comp,
java.lang.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.
|
static HtmlShadowElement.Direction |
HtmlShadowElement.inRange(HtmlShadowElement se,
Component target)
Returns the direction of the target component according to the given shadow element.
|
boolean |
Component.insertBefore(Component newChild,
Component refChild)
Inserts a child before the reference child.
|
boolean |
AbstractComponent.insertBefore(Component newChild,
Component refChild) |
static boolean |
Components.isAncestor(Component node1,
Component node2)
Tests whether node1 is an ancestor of node 2.
|
static boolean |
Components.isRealVisible(Component comp)
Returns whether this component is real visible (all its parents
are visible).
|
static Template |
Templates.lookup(Component comp,
Component base,
java.lang.String name)
A shortcut of lookup(comp, base, name, null, false)
|
static Template |
Templates.lookup(Component comp,
Component base,
java.lang.String name,
Component compBase)
A shortcut of lookup(comp, base, name, compBase, false)
|
static Template |
Templates.lookup(Component comp,
Component base,
java.lang.String name,
Component compBase,
boolean excludeBase)
Lookup the template with some information.
|
static Template |
Templates.lookup(Component comp,
java.lang.String name)
A shortcut of lookup(comp, comp, name, null, false)
|
boolean |
HtmlShadowElement.mergeToHost(Component host)
Merge the host into the current shadow, unlike
HtmlShadowElement.setShadowHost(Component, Component) |
void |
HtmlShadowElement.onChildAdded(Component child) |
void |
AbstractComponent.onChildAdded(Component child)
Default: handles special event listeners.
|
void |
AbstractComponent.onChildRemoved(Component child)
Default: handles special event listeners.
|
protected void |
HtmlShadowElement.onHostAttached(Component host) |
void |
ShadowElementCtrl.onHostChildAdded(Component child)
Called when a child of a host is added into this shadow element.
|
void |
HtmlShadowElement.onHostChildAdded(Component child)
Default: does nothing.
|
void |
ShadowElementCtrl.onHostChildRemoved(Component child)
Called when a child of a host is added into this shadow element.
|
void |
HtmlShadowElement.onHostChildRemoved(Component child)
Default: does nothing.
|
protected void |
HtmlShadowElement.onHostDetached(Component host) |
static Component |
Components.pathToComponent(java.lang.String path,
Component ref)
Converts a path, generated by
Components.componentToPath(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Component) , to
a component. |
void |
Execution.postEvent(int priority,
Component realTarget,
Event evt)
Queues the give event for the specified target to this execution.
|
static void |
Components.removeAllChildren(Component comp)
Removes all children of the specified component.
|
boolean |
Component.removeChild(Component child)
Removes a child.
|
boolean |
AbstractComponent.removeChild(Component child) |
boolean |
Component.removeForward(java.lang.String originalEvent,
Component target,
java.lang.String targetEvent)
Removes a forward condition that was added by
addForward(String, Component, String) . |
boolean |
AbstractComponent.removeForward(java.lang.String orgEvent,
Component target,
java.lang.String targetEvent) |
protected void |
AbstractComponent.replace(Component comp,
boolean bFellow,
boolean bListener,
boolean bChildren)
Replace the specified component with this component in
the component tree.
|
static void |
Components.replace(Component oldc,
Component newc)
Replaces a component with another.
|
static void |
Components.replaceChildren(Component parent,
java.util.Collection<Component> newChildren)
Replaces all children of the specified component.
|
java.lang.Object |
ShadowElementCtrl.resolveVariable(Component child,
java.lang.String name,
boolean recurse)
Returns the variable associated with this base component or null if not found.
|
java.lang.Object |
HtmlShadowElement.resolveVariable(Component child,
java.lang.String name,
boolean recurse) |
boolean |
HtmlMacroComponent.setInlineParent(Component parent,
Component beforeSibling) |
void |
Component.setPageBefore(Page page,
Component refRoot)
Sets what page this component belongs to, and insert
this component right before the reference component.
|
void |
AbstractComponent.setPageBefore(Page page,
Component refRoot) |
void |
HtmlShadowElement.setParent(Component parent) |
void |
HtmlMacroComponent.setParent(Component parent)
Changes the parent.
|
void |
Component.setParent(Component parent)
Sets the parent component.
|
void |
AbstractComponent.setParent(Component parent) |
protected static void |
HtmlShadowElement.setPrevInsertion(Component target,
Component prevInsertion) |
void |
ShadowElementCtrl.setShadowHost(Component host,
Component insertBefore)
Sets the owner component that hosts this shadow element.
|
void |
HtmlShadowElement.setShadowHost(Component host,
Component insertBefore) |
protected void |
HtmlShadowElement.shrinkRange(Component firstChild,
Component lastChild) |
static void |
Components.smartUpdate(Component comp,
java.lang.String key,
java.lang.Object value,
boolean append)
Adds the smartUpdate command to the specific component.
|
protected void |
HtmlShadowElement.stretchRange(Component firstChild,
Component lastChild) |
static void |
Components.wireController(Component comp,
java.lang.Object controller)
Deprecated.
As of release 6.0.0, replaced with
ConventionWires . |
static void |
Components.wireController(Component comp,
java.lang.Object controller,
char separator)
Deprecated.
As of release 6.0.0, replaced with
ConventionWires . |
static void |
Components.wireController(Component comp,
java.lang.Object controller,
char separator,
boolean ignoreZScript,
boolean ignoreXel)
Deprecated.
As of release 6.0.0, replaced with
ConventionWires . |
static void |
Components.wireImplicit(Component comp,
java.lang.Object controller)
Deprecated.
As of release 6.0.0, replaced with
ConventionWires . |
static void |
Components.wireVariables(Component comp,
java.lang.Object controller)
Deprecated.
As of release 6.0.0, replaced with
ConventionWires . |
static void |
Components.wireVariables(Component comp,
java.lang.Object controller,
char separator)
Deprecated.
As of release 6.0.0, replaced with
ConventionWires . |
static void |
Components.wireVariables(Component comp,
java.lang.Object controller,
char separator,
boolean ignoreZScript,
boolean ignoreXel)
Deprecated.
As of release 6.0.0, replaced with
ConventionWires . |
Modifier and Type | Method and Description |
---|---|
protected static void |
AbstractComponent.addClientEvent(java.lang.Class<? extends Component> cls,
java.lang.String evtnm,
int flags)
Adds an event that the client might send to the server.
|
ComponentDefinition |
Page.getComponentDefinition(java.lang.Class<? extends Component> cls,
boolean recurse)
Returns the component definition of the specified class, or null
if not found.
|
protected java.lang.String |
AbstractComponent.getDefaultMold(java.lang.Class<? extends Component> klass)
Returns the default mold for the given class.
|
static void |
Components.replaceChildren(Component parent,
java.util.Collection<Component> newChildren)
Replaces all children of the specified component.
|
static void |
Components.sort(java.util.List<? extends Component> list,
java.util.Comparator<? super Component> cpr)
Sorts the components in the list.
|
static void |
Components.sort(java.util.List<? extends Component> list,
java.util.Comparator<? super Component> cpr)
Sorts the components in the list.
|
static void |
Components.sort(java.util.List<? extends Component> list,
int from,
int to,
java.util.Comparator<? super Component> cpr)
Sorts the components in the list.
|
static void |
Components.sort(java.util.List<? extends Component> list,
int from,
int to,
java.util.Comparator<? super Component> cpr)
Sorts the components in the list.
|
Constructor and Description |
---|
ArithmeticWrongValueException(Component comp,
int code) |
ArithmeticWrongValueException(Component comp,
int code,
java.lang.Object fmtArg) |
ArithmeticWrongValueException(Component comp,
int code,
java.lang.Object[] fmtArgs) |
ArithmeticWrongValueException(Component comp,
int code,
java.lang.Object[] fmtArgs,
java.lang.Object value) |
ArithmeticWrongValueException(Component comp,
java.lang.String msg,
java.lang.Object value) |
ArithmeticWrongValueException(Component comp,
java.lang.String msg,
java.lang.Throwable cause,
java.lang.Object value) |
Path(Component comp)
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,
java.lang.Object fmtArg)
Constructs a wrong value exception to show an error box at the client.
|
WrongValueException(Component comp,
int code,
java.lang.Object[] fmtArgs)
Constructs a wrong value exception to show an error box at the client.
|
WrongValueException(Component comp,
java.lang.String msg)
Constructs a wrong value exception to show an error box at the client.
|
WrongValueException(Component comp,
java.lang.String msg,
java.lang.Throwable cause)
Constructs a wrong value exception.
|
Modifier and Type | Class and Description |
---|---|
class |
SelectEvent<T extends Component,E>
Represents an event cause by user's the list selection is changed
at the client.
|
static interface |
SelectEvent.SelectedObjectHandler<T extends Component>
A handle to retrieve selected objects from selected items (components)
if possible.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Component,E> |
SelectEvent.getSelectEvent(AuRequest request)
Converts an AU request to a select event.
|
static <T extends Component,E> |
SelectEvent.getSelectEvent(AuRequest request,
SelectEvent.SelectedObjectHandler<T> handler)
Converts an AU request to a select event.
|
Modifier and Type | Method and Description |
---|---|
Component |
MouseEvent.getAreaComponent()
Returns the component representing the area that the click occurs,
or null if not associated with any component.
|
Component |
DropEvent.getDragged()
Returns the component being dragged and drop to
Event.getTarget() . |
Component |
OpenEvent.getReference()
Returns the reference that causes
Event.getTarget()
to be opened. |
Component |
KeyEvent.getReference()
Returns the reference item that is the component causing the key event to
be fired.
|
Component |
Event.getTarget()
Returns the target component that receives this event,
or null if broadcast.
|
Modifier and Type | Method and Description |
---|---|
void |
EventThreadResume.abortResume(Component comp,
Event evt)
Called when the suspended event thread is aborted.
|
static void |
Events.addEventListeners(Component comp,
java.lang.Object controller)
Add onXxx event handler defined in controller object to the specified
component.
|
void |
EventThreadResume.afterResume(Component comp,
Event evt)
Called after the suspended event thread is resumed.
|
void |
EventThreadSuspend.afterSuspend(Component comp,
Event evt)
Called in the servlet thread after the event processing thread has been
suspended.
|
void |
EventThreadResume.beforeResume(Component comp,
Event evt)
Called just before the suspended event thread is resumed.
|
void |
EventThreadSuspend.beforeSuspend(Component comp,
Event evt,
java.lang.Object obj)
Called before the event processing thread is suspended.
|
void |
GenericEventListener.bindComponent(Component comp)
A convenient method that help you register this event listener
to the specified target component.
|
void |
EventThreadCleanup.cleanup(Component comp,
Event evt,
java.util.List<java.lang.Throwable> errs)
Cleans up the event processing thread.
|
void |
EventThreadCleanup.complete(Component comp,
Event evt)
Called in the serlvet thread to clean up.
|
static void |
Events.echoEvent(java.lang.String name,
Component target,
java.lang.Object data)
Echos an event.
|
static void |
Events.echoEvent(java.lang.String name,
Component target,
java.lang.String data)
Echos an event.
|
static UploadEvent |
UploadEvent.getLatestUploadEvent(java.lang.String name,
Component component,
AuRequest request)
Creates an instance of
UploadEvent based on the event name and component,
the UploadEvent contains the latest upload media from user. |
boolean |
EventThreadInit.init(Component comp,
Event event)
Initialize the event processing thread before processing the event.
|
static boolean |
Events.isListened(Component comp,
java.lang.String evtnm,
boolean asap)
Returns whether an event handler or listener is available for
the specified component and event.
|
static void |
Events.postEvent(Component realTarget,
Event event)
Queues the give event for the specified target to this execution.
|
static void |
Events.postEvent(int priority,
Component realTarget,
Event event)
Queues the give event for the specified target to this execution.
|
static void |
Events.postEvent(int priority,
java.lang.String name,
Component target,
java.lang.Object data)
Posts an instance of
Event to the current execution
with the specified priority. |
static void |
Events.postEvent(java.lang.String name,
Component target,
java.lang.Object data)
Posts an instance of
Event to the current execution. |
void |
EventThreadInit.prepare(Component comp,
Event event)
Prepares the initialization at the servlet thread.
|
static void |
Events.sendEvent(Component comp,
Event event)
Sends the event to the specified component and process it
immediately.
|
static void |
Events.sendEvent(java.lang.String name,
Component target,
java.lang.Object data)
Sends the event to the target, and processes it immediately.
|
void |
GenericEventListener.unbindComponent(Component comp)
A convenient method that help you remove this event listener from the
specified target component.
|
Constructor and Description |
---|
AfterSizeEvent(java.lang.String name,
Component target,
int width,
int height)
Constructs an AfterSizeEvent.
|
CheckEvent(java.lang.String name,
Component target,
boolean checked)
Constructs a check-relevant event.
|
CheckEvent(java.lang.String name,
Component target,
java.lang.Boolean checked)
Constructs a check-relevant event.
|
CreateEvent(java.lang.String name,
Component target,
java.util.Map<?,?> args) |
DOMExceptionEvent(java.lang.String name,
Component target,
java.lang.String errorName,
java.lang.String errorMessage) |
DropEvent(java.lang.String name,
Component target,
Component dragged,
int x,
int y,
int pageX,
int pageY,
int keys)
Constructs a drop event.
|
ErrorEvent(java.lang.String name,
Component target,
java.lang.String val,
java.lang.Object oldValue,
java.lang.String msg)
Constructs an error-relevant event.
|
Event(java.lang.String name,
Component target)
Constructs a simple event.
|
Event(java.lang.String name,
Component target,
java.lang.Object data)
Constructs a simple event.
|
ForwardEvent(java.lang.String name,
Component target,
Event origin)
Constructs a forward event.
|
ForwardEvent(java.lang.String name,
Component target,
Event origin,
java.lang.Object data)
Constructs a forward event.
|
FulfillEvent(java.lang.String name,
Component target,
Event origin)
Constructs a fulfill event.
|
FulfillEvent(java.lang.String name,
Component target,
Event origin,
java.lang.Object data)
Constructs a fulfill event.
|
InputEvent(java.lang.String name,
Component target,
java.lang.String val,
java.lang.Object oldValue)
Constructs a input-relevant event.
|
InputEvent(java.lang.String name,
Component target,
java.lang.String val,
java.lang.Object oldValue,
boolean selbk,
int start)
Constructs an input event
|
KeyEvent(java.lang.String name,
Component target,
int keyCode,
boolean ctrlKey,
boolean shiftKey,
boolean altKey) |
KeyEvent(java.lang.String name,
Component target,
int keyCode,
boolean ctrlKey,
boolean shiftKey,
boolean altKey,
boolean metaKey,
Component ref)
Constructs an event with MetaKey
|
KeyEvent(java.lang.String name,
Component target,
int keyCode,
boolean ctrlKey,
boolean shiftKey,
boolean altKey,
Component ref)
Constructs a mouse relevant event.
|
MaximizeEvent(java.lang.String name,
Component target,
java.lang.String left,
java.lang.String top,
java.lang.String width,
java.lang.String height,
boolean maximized) |
MinimizeEvent(java.lang.String name,
Component target,
java.lang.String left,
java.lang.String top,
java.lang.String width,
java.lang.String height,
boolean minimized) |
MouseEvent(java.lang.String name,
Component target)
Construct a mouse relevant event with coordinate or area.
|
MouseEvent(java.lang.String name,
Component target,
int x,
int y,
int pageX,
int pageY)
Constructs a mouse relevant event.
|
MouseEvent(java.lang.String name,
Component target,
int x,
int y,
int pageX,
int pageY,
int keys)
Constructs a mouse relevant event.
|
MouseEvent(java.lang.String name,
Component target,
java.lang.String area,
int keys)
Constructs a mouse relevant event with a logic name called area.
|
MoveEvent(java.lang.String name,
Component target,
java.lang.String left,
java.lang.String top,
int keys)
Constructs a mouse relevant event.
|
OpenEvent(java.lang.String name,
Component target,
boolean open)
Constructs an onOpen event.
|
OpenEvent(java.lang.String name,
Component target,
boolean open,
Component ref)
Constructs an onOpen event for a context menu, a tooltip or a popup.
|
OpenEvent(java.lang.String name,
Component target,
boolean open,
Component ref,
java.lang.Object value)
Constructs an onOpen event.
|
ScriptErrorEvent(java.lang.String name,
Component target,
java.lang.String message,
java.lang.String stack) |
ScrollEvent(java.lang.String name,
Component target,
double pos)
Constructs an scroll-relevant event.
|
ScrollEvent(java.lang.String name,
Component target,
double dPos,
boolean outBound)
Constructs an scroll-relevant event.
|
ScrollEvent(java.lang.String name,
Component target,
int pos)
Constructs an scroll-relevant event.
|
ScrollEvent(java.lang.String name,
Component target,
int pos,
boolean outBound)
Constructs an scroll-relevant event.
|
SelectEvent(java.lang.String name,
Component target,
java.util.Set<T> selectedItems)
Constructs a selection event.
|
SelectEvent(java.lang.String name,
Component target,
java.util.Set<T> selectedItems,
java.util.Set<T> previousSelectedItems,
java.util.Set<T> unselectedItems,
java.util.Set<E> selectedObjects,
java.util.Set<E> prevSelectedObjects,
java.util.Set<E> unselectedObjects,
T ref,
java.lang.Object data,
int keys)
Constructs a selection event containing the data objects that model
provided.
|
SelectEvent(java.lang.String name,
Component target,
java.util.Set<T> selectedItems,
T ref)
Constructs a selection event.
|
SelectEvent(java.lang.String name,
Component target,
java.util.Set<T> selectedItems,
T ref,
int keys)
Constructs a selection event.
|
SelectionEvent(java.lang.String name,
Component target,
int start,
int end,
java.lang.String txt)
Constructs a selection event.
|
SizeEvent(java.lang.String name,
Component target,
java.lang.String width,
java.lang.String height,
int keys)
Constructs a mouse relevant event.
|
SlideEvent(java.lang.String name,
Component target,
boolean slide)
Constructs an onOpen event.
|
SortEvent(java.lang.String name,
Component target,
boolean ascending)
Constructs a sort event.
|
StateChangeEvent(java.lang.String name,
Component target,
java.lang.Integer state)
Constructs the state change event.
|
StubEvent(java.lang.String name,
Component target,
java.lang.String cmd,
java.lang.String uuid,
java.lang.String id,
java.util.Map<java.lang.String,java.lang.Object> data)
Constructs a check-relevant event.
|
StubEvent(StubEvent evt,
Component target) |
SwipeEvent(java.lang.String name,
Component target,
int swipeX,
int swipeY,
int swipeTime,
java.lang.String swipeDir) |
UploadEvent(java.lang.String name,
Component target,
Media[] meds)
Constructs the upload event.
|
URIEvent(java.lang.String name,
Component target,
java.lang.String uri)
Constructs an URI update event.
|
ZIndexEvent(java.lang.String name,
Component target,
int zIndex)
Constructs a mouse relevant event.
|
Modifier and Type | Method and Description |
---|---|
Component |
Native.Helper.newNative(java.lang.String text)
Creates a native component with the specified content.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Uploads.getRealUpload(Component comp,
java.lang.String upload)
Gets the real upload setting for client.
|
static void |
Uploads.parseUpload(Component comp,
java.lang.String upload)
Parse the setting and update the upload-related attributes with the component.
|
boolean |
Macro.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).
|
Modifier and Type | Method and Description |
---|---|
Component |
Cropper.getCropOwner()
Returns the owner of the cropping scope.
|
Component |
Merger.mergeChildren()
Deprecated.
Merges the children into one component, if possible.
|
Component |
Merger.mergeNextSibling()
Deprecated.
Merges the next sibling into one component, if possible.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<? extends Component> |
Cropper.getAvailableAtClient()
Returns a set of child components that are available at the client,
or null if ALL available.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ExecutionImpl.evaluate(Component comp,
java.lang.String expr,
java.lang.Class<?> expectedType) |
Evaluator |
ExecutionImpl.getEvaluator(Component comp,
java.lang.Class<? extends ExpressionFactory> expfcls) |
Modifier and Type | Class and Description |
---|---|
class |
MultiComposer<T extends Component>
To proxy a collection of composers.
|
Modifier and Type | Method and Description |
---|---|
Component[] |
UiEngineImpl.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponents(PageDefinition pagedef,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponents(PageDefinition pagedef,
Component parent,
java.util.Map<?,?> arg) |
Component[] |
AbstractExecution.createComponents(PageDefinition pagedef,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component[] |
AbstractExecution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponents(java.lang.String uri,
Component parent,
java.util.Map<?,?> arg) |
Component[] |
AbstractExecution.createComponents(java.lang.String uri,
java.util.Map<?,?> arg) |
Component[] |
AbstractExecution.createComponents(java.lang.String uri,
Page page,
VariableResolver resolver,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponentsDirectly(Document content,
java.lang.String ext,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponentsDirectly(Document content,
java.lang.String ext,
Component parent,
java.util.Map<?,?> arg) |
Component[] |
AbstractExecution.createComponentsDirectly(Document content,
java.lang.String ext,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponentsDirectly(java.io.Reader reader,
java.lang.String ext,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponentsDirectly(java.io.Reader reader,
java.lang.String ext,
Component parent,
java.util.Map<?,?> arg) |
Component[] |
AbstractExecution.createComponentsDirectly(java.io.Reader reader,
java.lang.String ext,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponentsDirectly(java.lang.String content,
java.lang.String ext,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponentsDirectly(java.lang.String content,
java.lang.String ext,
Component parent,
java.util.Map<?,?> arg) |
Component[] |
AbstractExecution.createComponentsDirectly(java.lang.String content,
java.lang.String ext,
java.util.Map<?,?> arg) |
Component |
EventProcessor.getComponent()
Returns the component.
|
Component |
EventProcessingThreadImpl.getComponent() |
Component |
DesktopImpl.getComponentByUuid(java.lang.String uuid) |
Component |
DesktopImpl.getComponentByUuidIfAny(java.lang.String uuid) |
Component |
PageImpl.getOwner() |
Component |
ProxyEvent.getRealTarget()
Returns the real target.
|
Component |
DesktopImpl.mapComponent(java.lang.String uuid,
Component comp) |
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ComponentDefinition compdef,
java.lang.String clsnm) |
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ComponentInfo compInfo,
Component insertBefore) |
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ShadowInfo compInfo,
Component insertBefore) |
Component |
UiEngineImpl.setOwner(Component comp) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Component> |
DesktopImpl.getComponents() |
Modifier and Type | Method and Description |
---|---|
void |
DesktopImpl.addComponent(Component comp) |
void |
PageImpl.addDeferredZScript(Component parent,
ZScript zscript) |
void |
UiEngineImpl.addInvalidate(Component comp) |
void |
UiEngineImpl.addMoved(Component comp,
Component oldparent,
Page oldpg,
Page newpg) |
void |
UiEngineImpl.addSmartUpdate(Component comp,
java.lang.String attr,
java.lang.Object value,
boolean append) |
void |
UiEngineImpl.addSmartUpdate(Component comp,
java.lang.String attr,
java.lang.Object value,
int priority) |
void |
UiEngineImpl.addUuidChanged(Component comp) |
void |
DesktopImpl.afterComponentAttached(Component comp,
Page page) |
void |
DesktopImpl.afterComponentDetached(Component comp,
Page prevpage) |
void |
DesktopImpl.afterComponentMoved(Component parent,
Component child,
Component prevparent) |
void |
UiEngineImpl.Extension.afterCreate(Component[] comps)
Called after the whole component tree has been created by
this engine.
|
Component[] |
UiEngineImpl.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponents(PageDefinition pagedef,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponents(PageDefinition pagedef,
Component parent,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component[] |
AbstractExecution.createComponents(java.lang.String uri,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponents(java.lang.String uri,
Component parent,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponentsDirectly(Document content,
java.lang.String ext,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponentsDirectly(Document content,
java.lang.String ext,
Component parent,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponentsDirectly(java.io.Reader reader,
java.lang.String ext,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponentsDirectly(java.io.Reader reader,
java.lang.String ext,
Component parent,
java.util.Map<?,?> arg) |
Component |
AbstractExecution.createComponentsDirectly(java.lang.String content,
java.lang.String ext,
Component parent,
Component insertBefore,
VariableResolver resolver) |
Component |
AbstractExecution.createComponentsDirectly(java.lang.String content,
java.lang.String ext,
Component parent,
java.util.Map<?,?> arg) |
boolean |
UiEngineImpl.disableClientUpdate(Component comp,
boolean disable) |
ComponentInfo |
MultiComposer.doBeforeCompose(Page page,
Component parent,
ComponentInfo compInfo) |
static ComponentInfo |
Utils.getComponentInfo(Component comp)
Returns the component info associated with the given component, or null
if not available.
|
java.lang.String |
DesktopImpl.getDynamicMediaURI(Component comp,
java.lang.String pathInfo) |
java.lang.String |
UiEngineImpl.getNativeContent(Component comp,
java.util.List<NodeInfo> children,
Native.Helper helper) |
java.lang.String |
DesktopImpl.getNextUuid(Component comp) |
Function |
PageImpl.getZScriptFunction(Component comp,
java.lang.String name,
java.lang.Class[] argTypes) |
java.lang.Object |
PageImpl.getZScriptVariable(Component comp,
java.lang.String name) |
boolean |
UiEngineImpl.isInvalidated(Component comp) |
Component |
DesktopImpl.mapComponent(java.lang.String uuid,
Component comp) |
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ComponentDefinition compdef,
java.lang.String clsnm) |
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ComponentInfo compInfo,
Component insertBefore) |
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ShadowInfo compInfo,
Component insertBefore) |
java.lang.String |
StaticIdGenerator.nextComponentUuid(Desktop desktop,
Component comp,
ComponentInfo compInfo) |
void |
DesktopImpl.onPiggybackListened(Component comp,
boolean listen) |
void |
AbstractExecution.postEvent(int priority,
Component realTarget,
Event evt) |
boolean |
EventProcessingThreadImpl.processEvent(Desktop desktop,
Component comp,
Event event)
Ask this event thread to process the specified event.
|
boolean |
DesktopImpl.removeComponent(Component comp,
boolean recycleAllowed) |
void |
EventProcessingThreadImpl.sendEvent(Component comp,
Event event) |
static void |
Utils.setComponentInfo(Component comp,
ComponentInfo info)
Sets the component info for the given component.
|
Component |
UiEngineImpl.setOwner(Component comp) |
void |
PageImpl.setOwner(Component comp) |
static void |
Utils.setShadowInfo(Component comp,
ShadowInfo info)
Sets the component info for the given component.
|
static boolean |
Utils.testAttribute(Component comp,
java.lang.String name,
boolean defValue,
boolean recurse)
Tests if the given attribute is defined in a component or in library property.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UiEngineImpl.afterRenderComponents(java.util.Collection<Component> comps)
Called when this engine renders the given components.
|
void |
UiEngineImpl.Extension.afterRenderComponents(java.util.Collection<Component> comps)
Called when this engine renders the given components.
|
ComponentDefinition |
PageImpl.getComponentDefinition(java.lang.Class<? extends Component> cls,
boolean recurse) |
Constructor and Description |
---|
EventProcessor(Desktop desktop,
Component comp,
Event event) |
ProxyEvent(Component realTarget,
Event event)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Component |
ComponentDefinition.newInstance(java.lang.Class<? extends Component> cls)
Creates an component of this definition.
|
Component |
ShadowInfo.newInstance(Page page)
Creates a shadow element based on this info (never null).
|
Component |
ComponentInfo.newInstance(Page page)
Creates an component based on this info (never null).
|
Component |
ShadowInfo.newInstance(Page page,
Component parent)
Creates an component based on this info (never null).
|
Component |
NativeInfo.newInstance(Page page,
Component parent) |
Component |
ComponentInfo.newInstance(Page page,
Component parent)
Creates an component based on this info (never null).
|
Component |
ComponentDefinition.newInstance(Page page,
java.lang.String clsnm)
Creates an component of this definition.
|
Modifier and Type | Method and Description |
---|---|
void |
VariablesInfo.apply(Component comp)
Applies the variable element against the parent component.
|
void |
ShadowInfo.apply(Component comp)
Applies the custom attributes.
|
void |
AttributesInfo.apply(Component comp)
Applies the custom attributes.
|
void |
ComponentDefinition.applyAttributes(Component comp)
Applies the custom attributes defined in this definition
to the specified component.
|
void |
ShadowInfo.applyProperties(Component comp)
Applies the event handlers and properties to the specified component.
|
void |
ComponentInfo.applyProperties(Component comp)
Applies the event handlers and properties to the specified component.
|
void |
ComponentDefinition.applyProperties(Component comp)
Applies the properties defined in
this definition to the specified component.
|
void |
WidgetOverride.assign(Component comp) |
void |
WidgetListener.assign(Component comp) |
void |
WidgetAttribute.assign(Component comp) |
void |
Property.assign(Component comp)
Assigns the value of this member to the specified component.
|
static void |
Property.assign(Component comp,
java.lang.String name,
java.lang.String value)
Assigns a property.
|
java.util.Map<java.lang.String,java.lang.Object> |
ComponentDefinition.evalProperties(java.util.Map<java.lang.String,java.lang.Object> propmap,
Page owner,
Component parent)
Evaluates and retrieves properties to the specified map.
|
java.util.Map<java.lang.String,java.lang.Object> |
ComponentInfo.evalProperties(java.util.Map<java.lang.String,java.lang.Object> propmap,
Page owner,
Component parent,
boolean defIncluded)
Evaluates and retrieves properties to the specified map from
ComponentDefinition (and ComponentInfo ). |
EventHandler |
EventHandlerMap.get(Component comp,
java.lang.String evtnm)
Returns the first effective event handler of the specified event name,
or null if not available.
|
java.lang.String |
ZScriptInfo.getContent(Page page,
Component comp)
Returns the content of zscript.
|
java.lang.String |
ZScript.getContent(Page page,
Component comp)
Returns the content of zscript.
|
java.lang.String |
ComponentDefinition.getDefaultWidgetClass(Component comp)
Returns the default widget class, or null if not available.
|
java.lang.String |
WidgetListener.getScript(Component comp)
Returns the script associated with this event handler.
|
java.lang.String |
TemplateInfo.getSrc(Component comp)
Returns the URI to create the template from, or null if not specified.
|
java.lang.String |
WidgetAttribute.getValue(Component comp)
Returns the value associated with this event handler.
|
java.lang.String |
TextInfo.getValue(Component comp)
Returns the value after evaluation.
|
java.lang.Object |
Property.getValue(Component comp)
Evaluates the value to an Object.
|
java.lang.String |
ComponentDefinition.getWidgetClass(Component comp,
java.lang.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. |
boolean |
ComponentDefinition.isInstance(Component comp)
Returns whether a component belongs to this definition.
|
Component |
ShadowInfo.newInstance(Page page,
Component parent)
Creates an component based on this info (never null).
|
Component |
NativeInfo.newInstance(Page page,
Component parent) |
Component |
ComponentInfo.newInstance(Page page,
Component parent)
Creates an component based on this info (never null).
|
java.lang.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. |
Composer |
ComponentInfo.resolveComposer(Page page,
Component comp)
Returns the composer for this info, or null if not available.
|
java.lang.Class |
ComponentInfo.resolveImplementationClass(Page page,
Component parent)
Resolves and returns the class for the component represented
by this info (never null).
|
java.util.Map<java.lang.String,java.lang.Object> |
TemplateInfo.resolveParameters(Component comp)
Evaluates and returns a readonly map of parameters assigned
to this template (never null).
|
java.lang.Object |
ZkInfo.resolveSwitch(Page page,
Component comp)
Returns the switch condition's value; evaluate EL expression if any.
|
java.lang.String |
ComponentInfo.resolveWidgetClass(Component comp)
Resolves the widget class, or null if the default is expected.
|
Modifier and Type | Method and Description |
---|---|
Component |
ComponentDefinition.newInstance(java.lang.Class<? extends Component> cls)
Creates an component of this definition.
|
void |
ComponentDefinition.setImplementationClass(java.lang.Class<? extends Component> cls)
Sets the class to implements the component.
|
void |
LanguageDefinition.setMacroTemplate(java.lang.Class<? extends Component> klass)
Sets the macro template.
|
void |
LanguageDefinition.setNativeTemplate(java.lang.Class<? extends Component> klass)
Sets the native template.
|
void |
LanguageDefinition.setShadowTemplate(java.lang.Class<? extends Component> klass)
Sets the shadow template.
|
Modifier and Type | Method and Description |
---|---|
Component |
ComponentDefinitionImpl.newInstance(java.lang.Class<? extends Component> cls) |
Component |
ComponentDefinitionImpl.newInstance(Page page,
java.lang.String clsnm) |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationHelper.applyAnnotations(Component comp,
java.lang.String propName,
boolean clear)
Applies the annotations defined in this helper to the specified
component.
|
void |
ComponentDefinitionImpl.applyAttributes(Component comp) |
void |
ComponentDefinitionImpl.applyProperties(Component comp) |
java.util.Map<java.lang.String,java.lang.Object> |
ComponentDefinitionImpl.evalProperties(java.util.Map<java.lang.String,java.lang.Object> propmap,
Page owner,
Component parent) |
java.lang.String |
ComponentDefinitionImpl.getDefaultWidgetClass(Component comp) |
java.lang.String |
ComponentDefinitionImpl.getWidgetClass(Component comp,
java.lang.String moldName) |
boolean |
ComponentDefinitionImpl.isInstance(Component comp) |
Modifier and Type | Method and Description |
---|---|
Component |
ComponentDefinitionImpl.newInstance(java.lang.Class<? extends Component> cls) |
static ComponentDefinition |
ComponentDefinitionImpl.newMacroDefinition(LanguageDefinition langdef,
PageDefinition pgdef,
java.lang.String name,
java.lang.Class<? extends Component> cls,
java.lang.String macroURI,
boolean inline)
Constructs a macro component definition.
|
static ComponentDefinition |
ComponentDefinitionImpl.newNativeDefinition(LanguageDefinition langdef,
java.lang.String name,
java.lang.Class<? extends Component> cls)
Constructs a native component definition.
|
static ComponentDefinition |
ComponentDefinitionImpl.newShadowDefinition(LanguageDefinition langdef,
PageDefinition pgdef,
java.lang.String name,
java.lang.Class<? extends Component> cls,
java.lang.String templateURI)
Constructs a shadow component definition.
|
void |
ComponentDefinitionImpl.setImplementationClass(java.lang.Class<? extends Component> cls) |
Constructor and Description |
---|
ComponentDefinitionImpl(LanguageDefinition langdef,
PageDefinition pgdef,
java.lang.String name,
java.lang.Class<? extends Component> cls)
Constructs a native component, i.e., a component implemented by
a Java class.
|
ShadowDefinitionImpl(LanguageDefinition langdef,
PageDefinition pgdef,
java.lang.String name,
java.lang.Class<? extends Component> cls) |
Modifier and Type | Class and Description |
---|---|
class |
SelectorComposer<T extends Component>
A composer analogous to GenericForwardComposer.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Component> |
Selectors.find(Component root,
java.lang.String selector)
Returns a list of Components that match the selector.
|
static java.util.List<Component> |
Selectors.find(Page page,
java.lang.String selector)
Returns a list of Components that match the selector.
|
static java.util.List<Component> |
Selectors.find(java.lang.String selector)
Returns a list of Components that match the selector (from the first page of current Desktop).
|
static java.lang.Iterable<Component> |
Selectors.iterable(Component root,
java.lang.String selector)
Returns an Iterable that iterates through all Components matched by the
selector.
|
static java.lang.Iterable<Component> |
Selectors.iterable(Page page,
java.lang.String selector)
Returns an Iterable that iterates through all Components matched by the
selector.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectorComposer.didActivate(Component comp) |
ComponentInfo |
SelectorComposer.doBeforeCompose(Page page,
Component parent,
ComponentInfo compInfo) |
static java.util.List<Component> |
Selectors.find(Component root,
java.lang.String selector)
Returns a list of Components that match the selector.
|
static java.lang.Iterable<Component> |
Selectors.iterable(Component root,
java.lang.String selector)
Returns an Iterable that iterates through all Components matched by the
selector.
|
static void |
Selectors.rewireComponentsOnActivate(Component component,
java.lang.Object controller)
Rewire the components on session activation
|
static void |
Selectors.rewireVariablesOnActivate(Component component,
java.lang.Object controller,
java.util.List<VariableResolver> extraResolvers)
Rewire the variables on session activation
|
java.lang.Object |
SelectorComposer.willClone(Component comp)
Internal use only.
|
void |
SelectorComposer.willPassivate(Component comp) |
static void |
Selectors.wireComponents(Component component,
java.lang.Object controller,
boolean ignoreNonNull)
Wire components to controller.
|
static void |
Selectors.wireEventListeners(Component component,
java.lang.Object controller)
Add event listeners to components based on the controller.
|
static void |
Selectors.wireVariables(Component component,
java.lang.Object controller,
java.util.List<VariableResolver> extraResolvers)
Wire variables to controller, including XEL variables, implicit variables.
|
Modifier and Type | Method and Description |
---|---|
Component |
ComponentMatchCtx.getComponent()
Return the component.
|
Component |
ComponentIterator.next()
Return the next matched component.
|
Component |
ComponentIterator.peek()
Return the next matched component, but the iteration is not proceeded.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ComponentLocalProperties.match(Component component,
java.lang.String selector)
Returns true if the selector matches the given component.
|
static boolean |
ComponentLocalProperties.match(Component component,
java.lang.String selector,
java.util.Map<java.lang.String,PseudoClassDef> defs)
Returns true if the selector matches the given component.
|
Constructor and Description |
---|
ComponentIterator(Component root,
java.lang.String selector)
Create an iterator which selects from all the descendants of a given
component, including itself.
|
Modifier and Type | Class and Description |
---|---|
class |
StubComponent
A stub component is a 'degenerated' component that does not maintain
the states at the server.
|
class |
StubsComponent
Represents a tree of
StubComponent that are merged into
a single component. |
Modifier and Type | Method and Description |
---|---|
Component[] |
UiEngine.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg)
Creates components from the specified page and definition.
|
static Component[] |
ShadowElementsCtrl.filterOutShadows(Component[] shadows)
Returns the component array filter out shadows if any.
|
Component |
EventProcessingThread.getComponent()
Returns the component being processed by this thread, or null if idle.
|
Component |
Visualizer.getOwner()
Returns the owner component for this execution, or null if
this execution is not owned by any component.
|
Component |
PageCtrl.getOwner()
Returns the owner of this page, or null if it is not owned by
any component.
|
static Component |
ComponentsCtrl.getRootParent()
Returns the root parent when being called in
ComponentCtrl.onPageAttached(org.zkoss.zk.ui.Page, org.zkoss.zk.ui.Page)
and ComponentCtrl.onPageDetached(org.zkoss.zk.ui.Page) |
Component |
DesktopCtrl.mapComponent(java.lang.String uuid,
Component comp)
Maps a component associated with the given UUID to this page.
|
Component |
UiFactory.newComponent(Page page,
Component parent,
ComponentDefinition compdef,
java.lang.String clsnm)
Creates and initializes a component based on the specified
ComponentDefinition . |
Component |
UiFactory.newComponent(Page page,
Component parent,
ComponentInfo compInfo,
Component insertBefore)
Creates and initializes a component based on the specified
ComponentInfo . |
Component |
UiFactory.newComponent(Page page,
Component parent,
ShadowInfo compInfo,
Component insertBefore)
Creates and initializes a shadow based on the specified
ShadowInfo . |
Component |
UiEngine.setOwner(Component comp)
Called before a component redraws itself if the component might
include another page.
|
Modifier and Type | Method and Description |
---|---|
void |
DesktopCtrl.addComponent(Component comp)
Adds a component to this page.
|
void |
PageCtrl.addDeferredZScript(Component parent,
ZScript zscript)
Adds a deferred zscript.
|
void |
UiEngine.addInvalidate(Component comp)
Invalidates a component to cause redrawing.
|
void |
UiEngine.addMoved(Component comp,
Component oldparent,
Page oldpg,
Page newpg)
Called to update (redraw) a component, when a component is moved.
|
void |
UiEngine.addSmartUpdate(Component comp,
java.lang.String attr,
java.lang.Object value,
boolean append)
Smart-updates a property of the peer widget.
|
void |
UiEngine.addSmartUpdate(Component comp,
java.lang.String attr,
java.lang.Object value,
int priority)
Adds a smart update that will be executed at the given priority.
|
void |
UiEngine.addUuidChanged(Component comp)
Called before changing the component's UUID.
|
void |
DesktopCtrl.afterComponentAttached(Component comp,
Page page)
|
void |
DesktopCtrl.afterComponentDetached(Component comp,
Page prevpage)
|
void |
DesktopCtrl.afterComponentMoved(Component parent,
Component child,
Component prevparent)
|
static void |
ComponentsCtrl.applyForward(Component comp,
java.lang.String forward)
Applies the forward condition to the specified component.
|
void |
ComponentCtrl.beforeChildAdded(Component child,
Component insertBefore)
Called before adding a child.
|
void |
ComponentCtrl.beforeChildRemoved(Component child)
Called before removing a child.
|
void |
ComponentCtrl.beforeParentChanged(Component parent)
Called before changing the parent.
|
Component[] |
UiEngine.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
Component insertBefore,
VariableResolver resolver,
java.util.Map<?,?> arg)
Creates components from the specified page and definition.
|
boolean |
UiEngine.disableClientUpdate(Component comp,
boolean disable)
Sets whether to disable the update of the client widget.
|
static Component[] |
ShadowElementsCtrl.filterOutShadows(Component[] shadows)
Returns the component array filter out shadows if any.
|
java.lang.String |
UiEngine.getNativeContent(Component comp,
java.util.List<NodeInfo> children,
Native.Helper helper)
Retrieve the native content for a property of the specified component.
|
java.lang.String |
DesktopCtrl.getNextUuid(Component comp)
Returns the next available UUID for a component.
|
T |
PropertyAccess.getValue(Component cmp) |
boolean |
UiEngine.isInvalidated(Component comp)
Returns if this component needs to be redrawn.
|
Component |
DesktopCtrl.mapComponent(java.lang.String uuid,
Component comp)
Maps a component associated with the given UUID to this page.
|
Component |
UiFactory.newComponent(Page page,
Component parent,
ComponentDefinition compdef,
java.lang.String clsnm)
Creates and initializes a component based on the specified
ComponentDefinition . |
Component |
UiFactory.newComponent(Page page,
Component parent,
ComponentInfo compInfo,
Component insertBefore)
Creates and initializes a component based on the specified
ComponentInfo . |
Component |
UiFactory.newComponent(Page page,
Component parent,
ShadowInfo compInfo,
Component insertBefore)
Creates and initializes a shadow based on the specified
ShadowInfo . |
default java.lang.String |
IdGenerator.nextComponentUuid(Desktop desktop,
Component comp,
ComponentInfo compInfo)
Returns the next component UUID for the specified component,
or null to generate the default UUID.
|
void |
ComponentCtrl.onChildAdded(Component child)
Called when a child is added.
|
void |
ComponentCtrl.onChildRemoved(Component child)
Called when a child is removed.
|
void |
StubsComponent.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.
|
void |
DesktopCtrl.onPiggybackListened(Component comp,
boolean listen)
Called when a component added or removed a listener for
Events.ON_PIGGYBACK . |
static void |
HtmlPageRenders.outStandalone(Execution exec,
Component comp,
java.io.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 java.lang.Object[] |
ComponentsCtrl.parseEventExpression(Component comp,
java.lang.String evtexpr,
Component defaultComp,
boolean deferred)
Pares the event expression.
|
boolean |
DesktopCtrl.removeComponent(Component comp,
boolean recycleUuidAllowed)
Removes a component to this page.
|
void |
PropertiesRenderer.renderProperties(Component comp,
ContentRenderer render)
Renders additional properties of the given component with
the given
ContentRenderer . |
void |
StubComponent.replace(Component comp,
boolean bFellow,
boolean bListener,
boolean bChildren)
Replace the specified component with this component in
the component tree.
|
void |
EventProcessingThread.sendEvent(Component comp,
Event event)
Sends the specified component and event and processes the event
synchronously.
|
void |
EventListenerMap.service(Event event,
Scope scope,
Component comp,
java.lang.String cmd)
Services the event under the given page and scope.
|
Component |
UiEngine.setOwner(Component comp)
Called before a component redraws itself if the component might
include another page.
|
void |
PageCtrl.setOwner(Component comp)
Sets the owner of this page.
|
static void |
ComponentsCtrl.setRootParent(Component comp)
Sets root parent
Used only internally.
|
void |
PropertyAccess.setValue(Component cmp,
T value) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<JavaScriptValue> |
ComponentsCtrl.redraw(java.util.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. |
Modifier and Type | Interface and Description |
---|---|
interface |
Composer<T extends Component>
Represents a composer to initialize a component (or a component of tree)
when ZK loader is composing a component.
|
interface |
ComposerExt<T extends Component>
An addition interface implemented with
Composer to provide
more control. |
class |
GenericAutowireComposer<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.
|
class |
GenericComposer<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.
|
class |
GenericForwardComposer<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.
|
Modifier and Type | Field and Description |
---|---|
protected T |
GenericAutowireComposer.self
Implicit Object; the applied component itself.
|
Modifier and Type | Method and Description |
---|---|
Component[] |
Template.create(Component parent,
Component insertBefore,
VariableResolver resolver,
Composer composer)
Creates the components defined in this template.
|
Modifier and Type | Method and Description |
---|---|
static void |
ConventionWires.addForwards(Component comp,
java.lang.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 void |
ConventionWires.addForwards(Component comp,
java.lang.Object controller,
char separator)
Adds forward conditions to the specified component with a custom separator.
|
void |
UiLifeCycle.afterComponentAttached(Component comp,
Page page)
Called after a component is attached to a page.
|
void |
Configuration.afterComponentAttached(Component comp,
Page page)
Invokes
UiLifeCycle.afterComponentAttached(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Page)
when a component is attached to a page. |
void |
UiLifeCycle.afterComponentDetached(Component comp,
Page prevpage)
Called after a component is detached from a page.
|
void |
Configuration.afterComponentDetached(Component comp,
Page prevpage)
Invokes
UiLifeCycle.afterComponentDetached(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Page)
when a component is detached from a page. |
void |
UiLifeCycle.afterComponentMoved(Component parent,
Component child,
Component prevparent)
Called after the parent/children relation is changed.
|
void |
Configuration.afterComponentMoved(Component parent,
Component child,
Component prevparent)
Invokes
UiLifeCycle.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). |
void |
UiLifeCycle.afterShadowAttached(ShadowElement shadow,
Component host)
Called after a shadow is attached to a host.
|
void |
Configuration.afterShadowAttached(ShadowElement shadow,
Component host)
Invokes
UiLifeCycle.afterShadowAttached(ShadowElement, Component)
when a shadow is attached to a host. |
void |
UiLifeCycle.afterShadowDetached(ShadowElement shadow,
Component prevhost)
Called after a shadow is detached from a host.
|
void |
Configuration.afterShadowDetached(ShadowElement shadow,
Component prevhost)
Invokes
UiLifeCycle.afterShadowDetached(ShadowElement, Component)
when a shadow is detached from a host. |
static void |
Clients.clearBusy(Component comp)
Clears the busy message at the browser that covers only the specified
component.
|
static void |
Clients.clearWrongValue(Component comp)
Closes the error message of the specified component, if any,
at the browser.
|
static void |
Clients.clearWrongValue(Component[] comps)
Closes the error message of the specified components, if any,
at the browser.
|
Component[] |
Template.create(Component parent,
Component insertBefore,
VariableResolver resolver,
Composer composer)
Creates the components defined in this template.
|
void |
GenericAutowireComposer.didActivate(Component comp) |
void |
ComponentActivationListener.didActivate(Component comp)
Called when a session has just been activated
(and its value has been deserialized).
|
void |
ComponentSerializationListener.didDeserialize(Component comp)
Called when a component has de-serialized this object back.
|
void |
InitiatorExt.doAfterCompose(Page page,
Component[] comps)
Called after all components are created (a.k.a., composed),
and before any event is processed.
|
void |
GenericInitiator.doAfterCompose(Page page,
Component[] comps) |
void |
Composition.doAfterCompose(Page page,
Component[] comps) |
ComponentInfo |
GenericComposer.doBeforeCompose(Page page,
Component parent,
ComponentInfo compInfo) |
ComponentInfo |
ComposerExt.doBeforeCompose(Page page,
Component parent,
ComponentInfo compInfo)
Invokes before composing a component.
|
static void |
Clients.focus(Component component)
Focus the component (HtmlBasedComponent)
|
static ForEach |
ForEachImpl.getInstance(EvaluatorRef evalr,
Component comp,
ExValue[] expr,
ExValue begin,
ExValue end)
Returns an instance that represents the iterator for the
specified collection.
|
static ForEach |
ForEachImpl.getInstance(EvaluatorRef evalr,
Component comp,
ExValue[] expr,
ExValue begin,
ExValue end,
ExValue step)
Returns an instance that represents the iterator for the
specified collection.
|
static ForEach |
ForEachImpl.getInstance(EvaluatorRef evalr,
Component comp,
java.lang.String expr,
java.lang.String begin,
java.lang.String end)
Returns an instance that represents the iterator for the
specified collection, or null if expr is null or empty.
|
void |
Configuration.invokeEventThreadCompletes(java.util.List<EventThreadCleanup> cleanups,
Component comp,
Event evt,
java.util.List<java.lang.Throwable> errs,
boolean silent)
|
boolean |
Configuration.invokeEventThreadInits(java.util.List<EventThreadInit> inits,
Component comp,
Event evt)
|
void |
Configuration.invokeEventThreadResumeAborts(Component comp,
Event evt)
Invokes
EventThreadResume.abortResume(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event) for each relevant
listener registered by Configuration.addListener(java.lang.Class<?>) . |
void |
Configuration.invokeEventThreadResumes(java.util.List<EventThreadResume> resumes,
Component comp,
Event evt)
|
void |
Configuration.invokeEventThreadSuspends(java.util.List<EventThreadSuspend> suspends,
Component comp,
Event evt)
Invokes
EventThreadSuspend.afterSuspend(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event) for each relevant
listener registered by Configuration.addListener(java.lang.Class<?>) . |
boolean |
Condition.isEffective(Component comp)
Used to evaluate whether it is effective.
|
boolean |
ConditionImpl.isEffective(Evaluator eval,
Component comp)
Used to evaluate whether it is effective.
|
java.util.List<EventThreadCleanup> |
Configuration.newEventThreadCleanups(Component comp,
Event evt,
java.util.List<java.lang.Throwable> errs,
boolean silent)
Invokes
EventThreadCleanup.cleanup(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event, java.util.List<java.lang.Throwable>) for each relevant
listener registered by Configuration.addListener(java.lang.Class<?>) . |
java.util.List<EventThreadInit> |
Configuration.newEventThreadInits(Component comp,
Event evt)
Constructs a list of
EventThreadInit instances and invokes
EventThreadInit.prepare(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event) for
each relevant listener registered by Configuration.addListener(java.lang.Class<?>) . |
java.util.List<EventThreadResume> |
Configuration.newEventThreadResumes(Component comp,
Event evt)
Constructs a list of
EventThreadResume instances and invokes
EventThreadResume.beforeResume(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event) for each relevant
listener registered by Configuration.addListener(java.lang.Class<?>) . |
java.util.List<EventThreadSuspend> |
Configuration.newEventThreadSuspends(Component comp,
Event evt,
java.lang.Object obj)
Constructs a list of
EventThreadSuspend instances and invokes
EventThreadSuspend.beforeSuspend(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event, java.lang.Object) for each relevant
listener registered by Configuration.addListener(java.lang.Class<?>) . |
static void |
Clients.resize(Component comp)
Forces the client to re-calculate the size of the given component.
|
static void |
Clients.scrollIntoView(Component cmp)
Scrolls the ancestor elements to make the specified element visible.
|
static void |
Clients.sendClientCommand(Component component,
java.lang.String commandName,
java.lang.Object data)
Send a command to client (afterCommand)
|
static void |
Notification.show(java.lang.String msg,
Component ref)
Shows a message at the right side of the given component.
|
static void |
Notification.show(java.lang.String msg,
Component ref,
boolean closable)
Shows a message at the right side of the given component.
|
static void |
Notification.show(java.lang.String msg,
java.lang.String type,
Component ref,
int x,
int y,
int duration)
Displays a message.
|
static void |
Notification.show(java.lang.String msg,
java.lang.String type,
Component ref,
int x,
int y,
int duration,
boolean closable)
Displays a message.
|
static void |
Notification.show(java.lang.String msg,
java.lang.String type,
Component ref,
java.lang.String position,
int duration)
Displays a message.
|
static void |
Notification.show(java.lang.String msg,
java.lang.String type,
Component ref,
java.lang.String position,
int duration,
boolean closable)
Displays a message.
|
static void |
Clients.showBusy(Component comp,
java.lang.String msg)
Shows the busy message at the browser that covers only the specified
component.
|
static void |
Clients.showNotification(java.lang.String msg,
Component ref)
Shows a message at the right side of the given component.
|
static void |
Clients.showNotification(java.lang.String msg,
Component ref,
boolean closable)
Shows a message at the right side of the given component.
|
static void |
Clients.showNotification(java.lang.String msg,
java.lang.String type,
Component ref,
int x,
int y,
int duration)
Displays a message.
|
static void |
Clients.showNotification(java.lang.String msg,
java.lang.String type,
Component ref,
int x,
int y,
int duration,
boolean closable)
Displays a message.
|
static void |
Clients.showNotification(java.lang.String msg,
java.lang.String type,
Component ref,
java.lang.String position,
int duration)
Displays a message.
|
static void |
Clients.showNotification(java.lang.String msg,
java.lang.String type,
Component ref,
java.lang.String position,
int duration,
boolean closable)
Displays a message.
|
static void |
Clients.submitForm(Component form)
Submits the form with the specified form.
|
static void |
Clients.syncErrorbox(Component component)
Send a command to sync a target component and its errorbox position.
|
java.lang.Object |
GenericAutowireComposer.willClone(Component comp)
Internal use only.
|
java.lang.Object |
ComponentCloneListener.willClone(Component comp)
Called when a component is going to be cloned.
|
void |
GenericAutowireComposer.willPassivate(Component comp) |
void |
ComponentActivationListener.willPassivate(Component comp)
Called when a session is about to be passivated
(and then serialize its value).
|
void |
ComponentSerializationListener.willSerialize(Component comp)
Called when a component is going to serialize this object.
|
static void |
ConventionWires.wireController(Component comp,
java.lang.Object controller)
Wire controller as an attribute of the specified component.
|
static void |
ConventionWires.wireController(Component comp,
java.lang.Object controller,
char separator)
Wire controller as an attribute of the specified component with a custom separator.
|
static void |
ConventionWires.wireImplicit(Component comp,
java.lang.Object controller)
Wire implicit variables of the specified component into a controller Java object.
|
static void |
ConventionWires.wireServiceCommand(Component comp,
java.lang.Object controller)
Wire controller's command method to be an AuService command that the command
can be triggered from client side JavaScript.
|
static void |
ConventionWires.wireVariables(Component comp,
java.lang.Object controller)
Wire accessible variable objects of the specified component into a
controller Java object.
|
static void |
ConventionWires.wireVariables(Component comp,
java.lang.Object controller,
char separator)
Wire accessible variable objects of the specified component with a custom separator.
|
static void |
ConventionWires.wireVariables(Component comp,
java.lang.Object controller,
char separator,
boolean ignoreZScript,
boolean ignoreXel)
Wire controller as a variable objects of the specified component with full control.
|
static void |
Clients.wrongValue(Component comp,
java.lang.String msg)
Shows an error message for the specified component, if any,
at the browser.
|
Modifier and Type | Method and Description |
---|---|
static void |
Clients.clearWrongValue(java.util.List<Component> comps)
Closes the error message of the specified components, if any,
at the browser.
|
Constructor and Description |
---|
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.
|
ForEachImpl(EvaluatorRef evalr,
Component comp,
java.lang.String expr,
java.lang.String begin,
java.lang.String end)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Evaluator.evaluate(Component comp,
Expression expression)
Evaluates the expression.
|
static java.lang.Object |
Evaluators.evaluate(Evaluator eval,
Component comp,
java.lang.String expr,
java.lang.Class<?> expectedClass)
Evaluates the specified expression (which might or might not
contain ${ or #{).
|
java.lang.Object |
ExValue.getValue(Evaluator eval,
Component comp)
Returns the value after evaluation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
SimpleEvaluator.evaluate(Component comp,
Expression expression) |
static java.lang.Object |
Utils.evaluateComposite(Evaluator eval,
Component comp,
java.lang.Object expr)
Evaluates the composite expression parsed by
Utils.parseComposite(java.lang.String, java.lang.Class, int) against a component. |
Modifier and Type | Method and Description |
---|---|
void |
ReferenceBindingHandlerImpl.addReferenceBinding(Component comp,
java.lang.String attr,
ReferenceBinding binding) |
void |
ReferenceBindingHandlerImpl.removeReferenceBinding(Component comp) |
void |
ReferenceBindingHandlerImpl.removeReferenceBinding(Component comp,
java.lang.String attr) |
Constructor and Description |
---|
RotationEvent(java.lang.String name,
Component target)
Constructs a rotation event.
|
RotationEvent(java.lang.String name,
Component target,
java.lang.Object data)
Constructs a rotation event.
|
ZoomEvent(java.lang.String name,
Component target)
Constructs a zoom event.
|
ZoomEvent(java.lang.String name,
Component target,
java.lang.Object data)
Constructs a zoom event.
|
Modifier and Type | Class and Description |
---|---|
class |
Colorbox
A Colorbox used to retrieve an input that the user can select a color.
|
class |
Columnchildren
The column of Columnlayout.
|
class |
Columnlayout
A columnlayout lays out a container which can have multiple columns, and each
column may contain one or more component.
|
class |
Fisheye
A fisheye item.
|
class |
Fisheyebar
A fisheye bar is a bar of
Fisheye that is a menu similar to the fish
eye menu on the Mac OS. |
class |
Jasperreport
The JasperReport component.
|
class |
Pdfviewer
A PDF file viewer.
|
class |
Rangeslider
A rangeslider.
|
class |
Sliderbuttons
A pair of buttons for slider (rangeslider and multislider).
|
Modifier and Type | Method and Description |
---|---|
void |
Rangeslider.beforeChildAdded(Component child,
Component refChild) |
void |
Pdfviewer.beforeChildAdded(Component child,
Component insertBefore) |
void |
Fisheyebar.beforeChildAdded(Component child,
Component refChild) |
void |
Columnlayout.beforeChildAdded(Component child,
Component refChild) |
void |
Fisheye.beforeParentChanged(Component parent) |
void |
Columnchildren.beforeParentChanged(Component parent) |
void |
Pdfviewer.onChildAdded(Component child) |
void |
Pdfviewer.onChildRemoved(Component child) |
Constructor and Description |
---|
RangeValueChangeEvent(java.lang.String name,
Component target,
int[] values) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
GsonConverter.coerceToBean(java.lang.Object compAttr,
Component component,
BindContext ctx) |
java.lang.Object |
JacksonConverter.coerceToBean(java.lang.Object compAttr,
Component component,
BindContext ctx) |
java.lang.Object |
GsonConverter.coerceToUi(java.lang.Object beanProp,
Component component,
BindContext ctx) |
java.lang.Object |
JacksonConverter.coerceToUi(java.lang.Object beanProp,
Component component,
BindContext ctx) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Component,java.util.Set<TrackerNode>> |
TrackerImplEx._compTailMap |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Component> |
BindUiLifeCycleExtension.getLifeCycleHandlingSet(boolean create) |
java.util.Map<Component,java.lang.String> |
AnnotateBinderEx.getLookupComponentFormIdCache()
Internal implementation use only.
|
protected java.util.Map<Component,java.util.Map<java.lang.Object,TrackerNode>> |
TrackerImplEx.initCompMap() |
Modifier and Type | Method and Description |
---|---|
void |
TrackerImplEx.addTracking(Component comp,
java.lang.String[] series,
Binding binding) |
java.lang.Object |
DropuploadNativeConverter.coerceToBean(java.lang.Object compAttr,
Component component,
BindContext ctx) |
java.lang.Object |
BiglistboxSelectedObjectConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
BiglistboxSelectedIndexConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
DropuploadNativeConverter.coerceToUi(java.lang.Object beanProp,
Component component,
BindContext ctx) |
java.lang.Object |
BiglistboxSelectedObjectConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
BiglistboxSelectedIndexConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
protected java.lang.Object |
TemplateResolverImpl.evaluateTemplate(Component eachComp,
java.lang.Object eachData,
int index,
int size,
java.lang.String subType) |
protected TrackerNode |
TrackerImplEx.getOrCreateTrackerNode(Component comp,
java.lang.String[] series) |
protected Binding |
TemplateResolverImpl.getTemplateBinding(Component eachComp,
java.lang.Object eachData,
int index,
int size) |
boolean |
BindUiLifeCycleExtension.isLifeCycleHandling(Component comp) |
void |
BindUiLifeCycleExtension.markLifeCycleHandling(Component comp) |
void |
BindUiLifeCycleExtension.removeLifeCycleHandling(Component comp) |
void |
TrackerImplEx.removeTrackings(Component comp) |
java.lang.String |
BindSearchboxRenderer.render(Component owner,
E data,
int index) |
java.lang.String |
BindCascaderRenderer.render(Component owner,
E data,
int index) |
java.lang.String |
BindChosenboxRenderer.render(Component owner,
java.lang.Object data,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
TrackerImplEx.removeTrackings(java.util.Set<Component> comps) |
Constructor and Description |
---|
TemplateResolverImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String templateExpr,
java.util.Map<java.lang.String,java.lang.Object> templateArgs) |
Constructor and Description |
---|
PortalDropEvent(java.lang.String evtnm,
Component target,
Portalchildren from,
Portalchildren to,
Panel dragged,
int droppedIndex)
Constructs a PortalDrop event.
|
PortalMoveEvent(java.lang.String evtnm,
Component target,
Portalchildren from,
Portalchildren to,
Panel dragged,
int droppedIndex)
Constructs a ColumnMoved event.
|
Modifier and Type | Method and Description |
---|---|
void |
UiEngineExtension.afterCreate(Component[] comps) |
Modifier and Type | Class and Description |
---|---|
class |
Anchornav
A anchornav component
Anchornav synchronizes the scrolling position on a page or within ZK containers (Div, Window, etc.)
|
class |
Barcode
Represents a barcode
A barcode is a component to handle 1D and 2D barcode image.
|
class |
Barcodescanner
A Barcode scanner
Only works for Chrome, Firefox and Edge. iOS Safari is supported since 11.
|
class |
Biglistbox
A component to handle a huge data sets and provides the same and as many as
the functionalities of
Listbox including selection,
sorting, keystroke navigation, ROD(rendering-on-demand), and so on. |
class |
Camera
A camera, use to record video and take snapshot, have a preview screen.
|
class |
Cardlayout
A layout allow end user change view like change card.
|
class |
Cascader<E>
A Cascader is a dropdown list in tree structure, and it supports TreeModel.
|
class |
Chosenbox
A component that similar to Combobox but handle the multi-selection and the select order.
|
class |
Coachmark
A coachmark component.
|
class |
Cropper
An image cropper that can select a range to get the cropped result.
|
class |
Drawer
A drawer.
|
class |
Dropupload
A component can handle drag files into it, and upload files to server.
|
class |
Fragment
A component that let developers combine native HTML elements with ZK data binding syntax to
make the static page to be dynamic.
|
class |
Fusionchart
The Fusionchart component.
|
class |
GoldenLayout
A docker type layout component.
|
class |
GoldenPanel
A GoldenPanel component.
|
class |
Lineitem
A lineitem.
|
class |
Linelayout
A linelayout component for stylistically displaying chronological information.
|
class |
Multislider
A Multislider.
|
class |
Navbar
A container that usually contains nav elements.
|
class |
Navitem
|
class |
Navseparator
Used to create a separator between menu items.
|
class |
Organigram
A container which can be used to draw a hierarchical organizational chart,
you can specify a
TreeModel to render the data. |
class |
Orgchildren
An orgchildren.
|
class |
Orgitem
An orgitem.
|
class |
Orgnode
An orgnode.
|
class |
Portalchildren
The column of Portallayout.
|
class |
Portallayout
A portal layout lays out a container which can have multiple columns, and each
column may contain one or more panel.
|
class |
Rowchildren
Rowchildren component is used for placing components inside the grid created by rowlayout component.
|
class |
Rowlayout
Divide the parent container into a row of equal-width columns separated by spacings.
|
class |
Scrollview
A container that can scroll containing elements on touch devices.
|
class |
Searchbox<E>
A dropdown list that allows users to search and select items.
|
class |
Signature
A signature pad for user to sign a signature on it with save, undo, clear method.
|
class |
Splitlayout
A layout container which is used to divide a component into two components.
|
class |
Step
A step is used for displaying user navigation, it should be placed inside a
Stepbar . |
class |
Stepbar
A stepbar.
|
class |
Tablechildren
The cell of Tablelayout.
|
class |
Tablelayout
Tablelayout 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.
|
class |
Tbeditor
A component which is similar to ckeditor but is lightweight and efficient.
|
class |
Timepicker
A combobox for holding a time (a java.util.Date Object , but only Hour, Minute, Second are used.
|
Modifier and Type | Method and Description |
---|---|
Component |
Dropupload.getAnchor()
Return the anchor of dropupload.
|
Modifier and Type | Method and Description |
---|---|
void |
Orgchildren.beforeChildAdded(Component child,
Component insertBefore) |
void |
Portallayout.beforeChildAdded(Component child,
Component refChild) |
void |
GoldenLayout.beforeChildAdded(Component child,
Component refChild) |
void |
Navbar.beforeChildAdded(Component child,
Component refChild) |
void |
Orgitem.beforeChildAdded(Component child,
Component insertBefore) |
void |
Organigram.beforeChildAdded(Component child,
Component insertBefore) |
void |
Rowlayout.beforeChildAdded(Component child,
Component refChild) |
void |
Portalchildren.beforeChildAdded(Component child,
Component refChild) |
void |
Multislider.beforeChildAdded(Component child,
Component refChild) |
void |
Tablelayout.beforeChildAdded(Component child,
Component refChild) |
void |
Rowchildren.beforeChildAdded(Component child,
Component insertBefore) |
void |
Stepbar.beforeChildAdded(Component child,
Component insertBefore) |
void |
Nav.beforeChildAdded(Component child,
Component refChild) |
void |
Splitlayout.beforeChildAdded(Component child,
Component refChild) |
void |
Linelayout.beforeChildAdded(Component child,
Component insertBefore) |
void |
Lineitem.beforeChildAdded(Component child,
Component refChild) |
void |
Video.beforeChildAdded(Component child,
Component insertBefore) |
void |
Orgchildren.beforeParentChanged(Component parent) |
void |
Navitem.beforeParentChanged(Component parent) |
void |
Orgitem.beforeParentChanged(Component parent) |
void |
Portalchildren.beforeParentChanged(Component parent) |
void |
Rowchildren.beforeParentChanged(Component parent) |
void |
Nav.beforeParentChanged(Component parent) |
void |
Step.beforeParentChanged(Component parent) |
void |
Tablechildren.beforeParentChanged(Component parent) |
void |
Lineitem.beforeParentChanged(Component parent) |
void |
GoldenPanel.beforeParentChanged(Component parent) |
boolean |
GoldenLayout.insertBefore(Component newChild,
Component refChild) |
boolean |
Orgitem.insertBefore(Component newChild,
Component refChild) |
boolean |
Organigram.insertBefore(Component newChild,
Component refChild) |
boolean |
Stepbar.insertBefore(Component newChild,
Component refChild) |
boolean |
Cardlayout.insertBefore(Component newChild,
Component refChild) |
void |
Orgchildren.onChildAdded(Component child) |
void |
GoldenLayout.onChildAdded(Component child) |
void |
Orgitem.onChildAdded(Component child) |
void |
Multislider.onChildAdded(Component child) |
void |
Orgchildren.onChildRemoved(Component child) |
void |
Orgitem.onChildRemoved(Component child) |
void |
Organigram.onChildRemoved(Component child) |
boolean |
Stepbar.removeChild(Component child) |
boolean |
Cardlayout.removeChild(Component child) |
java.lang.String |
MatrixRenderer.renderCell(Component owner,
T data,
int rowIndex,
int colIndex)
Renders the content of the cell as HTML result.
|
java.lang.String |
MatrixRenderer.renderHeader(Component owner,
T data,
int rowIndex,
int colIndex)
Renders the content of the header as HTML result.
|
void |
Dropupload.setAnchor(Component anchor)
Set 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.
|
void |
Orgchildren.setParent(Component parent) |
void |
Orgitem.setParent(Component parent) |
void |
Coachmark.setTarget(Component comp)
Sets the target component of this coachmark.
|
Constructor and Description |
---|
CellClickEvent(java.lang.String name,
Component target,
int x,
int y,
int pageX,
int pageY,
int keys,
int columnIndex,
int rowIndex) |
CellClickEvent(java.lang.String name,
Component target,
java.lang.String area,
int keys,
int columnIndex,
int rowIndex) |
DetectEvent(java.lang.String name,
Component target,
java.lang.Object data) |
DivisionSizeEvent(java.lang.String name,
Component target,
boolean isVertical,
int[] sizes) |
OfflineRecoverEvent(java.lang.String name,
Component target,
java.lang.Object vm,
java.util.Map<java.lang.String,java.lang.Object> packet) |
ScrollEventExt(java.lang.String name,
Component target,
int x,
int y) |
SortEventExt(java.lang.String name,
Component target,
boolean ascending,
int columnIndex) |
StateChangeEvent(java.lang.String name,
Component target,
java.lang.Integer state)
Constructs the state change event.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<? extends Component> |
LiveGridDataLoader.getAvailableAtClient() |
protected java.util.Set<? extends Component> |
LiveListboxDataLoader.getAvailableAtClient(boolean itemOnly) |
Modifier and Type | Method and Description |
---|---|
void |
LiveListboxDataLoader.init(Component owner,
int offset,
int limit) |
void |
LiveGridDataLoader.init(Component owner,
int offset,
int limit) |
Modifier and Type | Method and Description |
---|---|
void |
AcegiSecurityContextListener.abortResume(Component comp,
Event evt)
Deprecated.
|
void |
AcegiSecurityContextListener.afterResume(Component comp,
Event evt)
Deprecated.
|
void |
AcegiSecurityContextListener.beforeResume(Component comp,
Event evt)
Deprecated.
|
void |
AcegiSecurityContextListener.cleanup(Component comp,
Event evt,
java.util.List errs)
Deprecated.
|
void |
AcegiSecurityContextListener.complete(Component comp,
Event evt)
Deprecated.
|
boolean |
AcegiSecurityContextListener.init(Component comp,
Event evt)
Deprecated.
|
void |
AcegiSecurityContextListener.prepare(Component comp,
Event evt)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Component |
Binding.getComponent()
Deprecated.
Gets the associated Component of this Binding.
|
Component |
CollectionItem.getComponentAtIndexByOwner(Component comp,
int index)
Deprecated.
Returns the component by the index in the comp's children.
|
Component |
CollectionItem.getComponentCollectionOwner(Component comp)
Deprecated.
Returns the component's owner.
|
Component |
BindingSaveEvent.getReference()
Deprecated.
Gets the reference component that "trigger" sending of this event.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Component> |
BindingValidateEvent.getReferences()
Deprecated.
Gets the list of the reference components that "trigger" sending of this event.
|
Modifier and Type | Method and Description |
---|---|
void |
DataBinder.addBinding(Component comp,
java.lang.String attr,
java.lang.String expr)
Deprecated.
Binding bean to UI component.
|
void |
DataBinder.addBinding(Component comp,
java.lang.String attr,
java.lang.String expr,
java.util.List<java.lang.String> loadWhenEvents,
java.util.List<java.lang.String> saveWhenEvents,
java.lang.String access,
java.lang.String converter)
Deprecated.
Binding bean to UI component.
|
void |
DataBinder.addBinding(Component comp,
java.lang.String attr,
java.lang.String expr,
java.util.List<java.lang.String> loadWhenEvents,
java.util.List<java.lang.String> saveWhenEvents,
java.lang.String access,
java.lang.String converter,
java.util.Map<java.lang.Object,java.lang.Object> args,
java.util.List<java.lang.String> loadAfterEvents,
java.util.List<java.lang.String> saveAfterEvents)
Deprecated.
Binding bean to UI component.
|
void |
DataBinder.addBinding(Component comp,
java.lang.String attr,
java.lang.String expr,
java.util.List<java.lang.String> loadWhenEvents,
java.lang.String saveWhenEvent,
java.lang.String access,
java.lang.String converter)
Deprecated.
Binding bean to UI component.
|
void |
DataBinder.addBinding(Component comp,
java.lang.String attr,
java.lang.String expr,
java.lang.String[] loadWhenEvents,
java.lang.String[] saveWhenEvents,
java.lang.String access,
java.lang.String converter)
Deprecated.
Binding bean to UI component.
|
void |
DataBinder.addBinding(Component comp,
java.lang.String attr,
java.lang.String expr,
java.lang.String[] loadWhenEvents,
java.lang.String saveWhenEvent,
java.lang.String access,
java.lang.String converter)
Deprecated.
Binding bean to UI component.
|
java.lang.Object |
ListModelConverter.coerceToBean(java.lang.Object val,
Component comp)
Deprecated.
Convert a
BindingListModel to Set, Map, List, or BindingListModel (itself). |
java.lang.Object |
TypeConverter.coerceToBean(java.lang.Object val,
Component comp)
Deprecated.
Convert an value object to bean property type.
|
java.lang.Object |
SelectedComboitemConverter.coerceToBean(java.lang.Object val,
Component comp)
Deprecated.
|
java.lang.Object |
RadiogroupSelectedItemConverter.coerceToBean(java.lang.Object val,
Component comp)
Deprecated.
|
java.lang.Object |
SelectedItemConverter.coerceToBean(java.lang.Object val,
Component comp)
Deprecated.
|
java.lang.Object |
TabboxSelectedTabConverter.coerceToBean(java.lang.Object val,
Component comp)
Deprecated.
|
java.lang.Object |
DateFormatConverter.coerceToBean(java.lang.Object val,
Component comp)
Deprecated.
|
java.lang.Object |
ListModelConverter.coerceToUi(java.lang.Object val,
Component comp)
Deprecated.
Convert a Set, Map, List, Object[], Enum, or other kind of BindingListModel to associated
BindingListModel . |
java.lang.Object |
TypeConverter.coerceToUi(java.lang.Object val,
Component comp)
Deprecated.
Convert an value object to UI component attribute type.
|
java.lang.Object |
SelectedComboitemConverter.coerceToUi(java.lang.Object val,
Component comp)
Deprecated.
|
java.lang.Object |
RadiogroupSelectedItemConverter.coerceToUi(java.lang.Object val,
Component comp)
Deprecated.
|
java.lang.Object |
SelectedItemConverter.coerceToUi(java.lang.Object val,
Component comp)
Deprecated.
|
java.lang.Object |
TabboxSelectedTabConverter.coerceToUi(java.lang.Object val,
Component comp)
Deprecated.
|
java.lang.Object |
DateFormatConverter.coerceToUi(java.lang.Object val,
Component comp)
Deprecated.
Depending whether the data is coming from the database or coming from the datebox
we might be passed either a java.util.Date or a java.sql.Timestamp
|
void |
AnnotateDataBindingComposer.doAfterCompose(Component comp)
Deprecated.
|
void |
AnnotateDataBinderInit.doAfterCompose(Page page,
Component[] comps)
Deprecated.
|
boolean |
DataBinder.existBinding(Component comp,
java.lang.String attr)
Deprecated.
Whether this component and attribute associated with a binding.
|
boolean |
DataBinder.existsBindings(Component comp)
Deprecated.
Whether this component associated with any bindings.
|
java.lang.Object |
Binding.getBean(Component comp)
Deprecated.
Returns the associated bean of this binding; e.g., for a binding to the bean "a.b.c", this will return the bean associated to "a.b"
(and c is the property name).
|
Binding |
DataBinder.getBinding(Component comp,
java.lang.String attr)
Deprecated.
Given component and attr, return the associated
Binding . |
protected CollectionItem |
DataBinder.getBindingCollectionItem(Component comp)
Deprecated.
Returns a CollectionItem by the comp accordingly.
|
java.util.Collection<Binding> |
DataBinder.getBindings(Component comp)
Deprecated.
Given component, return the associated list of
Binding s. |
Component |
CollectionItem.getComponentAtIndexByOwner(Component comp,
int index)
Deprecated.
Returns the component by the index in the comp's children.
|
Component |
CollectionItem.getComponentCollectionOwner(Component comp)
Deprecated.
Returns the component's owner.
|
protected ListModel<?> |
ListModelConverter.getComponentModel(Component comp)
Deprecated.
Gets the model of the component, the sub-class should override this method
|
protected ListModel<?> |
SelectboxListModelConverter.getComponentModel(Component comp)
Deprecated.
|
protected ListModel<?> |
ListboxListModelConverter.getComponentModel(Component comp)
Deprecated.
|
protected ListModel<?> |
CombboxListModelConverter.getComponentModel(Component comp)
Deprecated.
|
java.util.List |
CollectionItemExt.getItems(Component owner)
Deprecated.
Returns all children items of the given Collection owner such as Grid.
|
ListModel |
CollectionItem.getModelByOwner(Component comp)
Deprecated.
Returns the component model as
ListModel
|
protected BindingListModel<?> |
ListModelConverter.handleWrappedNonListModel(Component comp,
BindingListModel<?> wrappedModel)
Deprecated.
Handles the wrapped non-list-model, by default it return the original one.
|
protected BindingListModel<?> |
ListboxListModelConverter.handleWrappedNonListModel(Component comp,
BindingListModel<?> wrappedModel)
Deprecated.
|
void |
AnnotateDataBinder.init(Component[] comps,
boolean defaultConfig)
Deprecated.
Initialization that read all binding annotations of the given component array.
|
void |
AnnotateDataBinder.init(Component comp,
boolean defaultConfig)
Deprecated.
Initialization that read all binding annotations in the components inside the specified component (inclusive).
|
void |
Binding.loadAttribute(Component comp)
Deprecated.
load bean value into the attribute of the specified component.
|
void |
Binding.loadAttribute(Component comp,
java.lang.Object bean)
Deprecated.
load bean value into the attribute of the specified component.
|
void |
DataBinder.loadAttribute(Component comp,
java.lang.String attr)
Deprecated.
Load value from the data bean property to a specified attribute of the UI component.
|
void |
DataBinder.loadComponent(Component comp)
Deprecated.
Load values from the data bean properties to all attributes of a specified UI component.
|
protected java.lang.Object[] |
DataBinder.loadPropertyAnnotation(Component comp,
java.lang.String propName,
java.lang.String bindName)
Deprecated.
|
void |
DataBinder.removeBinding(Component comp,
java.lang.String attr)
Deprecated.
Remove the binding associated with the attribute of the component.
|
void |
Binding.saveAttribute(Component comp)
Deprecated.
save into bean value from the attribute of the specified component.
|
void |
DataBinder.saveAttribute(Component comp,
java.lang.String attr)
Deprecated.
Save value from a specified attribute of the UI component to a data bean property.
|
void |
DataBinder.saveComponent(Component comp)
Deprecated.
Save values from all attributes of a specified UI component to data bean properties.
|
void |
CollectionItem.setupBindingRenderer(Component comp,
DataBinder binder)
Deprecated.
Sets the binding renderer for the template component such as Listitem
or Row.
|
void |
DataBinder.setupTemplateComponent(Component comp,
java.lang.Object owner)
Deprecated.
Sets up the specified comp and its descendants to be as template (or not)
|
Constructor and Description |
---|
AnnotateDataBinder(Component comp)
Deprecated.
Constructor that read all binding annotations in the components inside the specified component (inclusive).
|
AnnotateDataBinder(Component[] comps)
Deprecated.
Constructor that read all binding annotations of the given components array.
|
AnnotateDataBinder(Component[] comps,
boolean defaultConfig)
Deprecated.
Constructor that read all binding annotations of the given component array.
|
AnnotateDataBinder(Component comp,
boolean defaultConfig)
Deprecated.
Constructor that read all binding annotations in the components inside the specified component (inclusive).
|
BindingSaveEvent(java.lang.String name,
Component target,
Component reference,
Binding binding,
java.lang.Object value)
Deprecated.
Constructs a binding-relevant event.
|
BindingValidateEvent(java.lang.String name,
Component target,
java.util.List<Component> references,
java.util.List<Binding> bindings,
java.util.List<java.lang.Object> values)
Deprecated.
Constructs a binding-relevant event.
|
Constructor and Description |
---|
BindingValidateEvent(java.lang.String name,
Component target,
java.util.List<Component> references,
java.util.List<Binding> bindings,
java.util.List<java.lang.Object> values)
Deprecated.
Constructs a binding-relevant event.
|
Modifier and Type | Method and Description |
---|---|
static void |
Renders.render(javax.servlet.ServletContext ctx,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Component comp,
java.lang.String path,
java.io.Writer out)
Outputs the HTML tags of the given component to the given writer.
|
Modifier and Type | Method and Description |
---|---|
void |
HibernateSessionContextListener.abortResume(Component comp,
Event evt)
Deprecated.
|
void |
HibernateSessionContextListener.afterResume(Component comp,
Event evt)
Deprecated.
|
void |
HibernateSessionContextListener.beforeResume(Component comp,
Event evt)
Deprecated.
|
boolean |
HibernateSessionContextListener.init(Component comp,
Event evt)
Deprecated.
|
void |
HibernateSessionContextListener.prepare(Component comp,
Event evt)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SpringTransactionSynchronizationListener.abortResume(Component comp,
Event evt) |
void |
SpringTransactionSynchronizationListener.afterResume(Component comp,
Event evt) |
void |
SpringTransactionSynchronizationListener.beforeResume(Component comp,
Event evt) |
void |
SpringTransactionSynchronizationListener.cleanup(Component comp,
Event evt,
java.util.List errs) |
void |
SpringTransactionSynchronizationListener.complete(Component comp,
Event evt) |
boolean |
SpringTransactionSynchronizationListener.init(Component comp,
Event evt) |
void |
SpringTransactionSynchronizationListener.prepare(Component comp,
Event evt) |
Modifier and Type | Method and Description |
---|---|
void |
ThreadLocalListener.abortResume(Component comp,
Event evt) |
void |
ThreadLocalListener.afterResume(Component comp,
Event evt) |
void |
ThreadLocalListener.beforeResume(Component comp,
Event evt) |
void |
ThreadLocalListener.cleanup(Component comp,
Event evt,
java.util.List errs) |
void |
ThreadLocalListener.complete(Component comp,
Event evt) |
boolean |
ThreadLocalListener.init(Component comp,
Event evt) |
void |
ThreadLocalListener.prepare(Component comp,
Event evt) |
Modifier and Type | Class and Description |
---|---|
class |
Transformer
XML transformer.
|
class |
XmlMacroComponent
The implementation of a macro component for XML output.
|
class |
XmlNativeComponent
A comonent used to represent XML elements that are associated
with the inline namespace (http://www.zkoss.org/2005/zk/inline).
|
Modifier and Type | Method and Description |
---|---|
Component |
XmlNativeComponent.XmlHelper.newNative(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
boolean |
XmlMacroComponent.setInlineParent(Component parent,
Component beforeSibling) |
void |
XmlMacroComponent.setParent(Component parent)
Changes the parent.
|
Modifier and Type | Class and Description |
---|---|
class |
Absolutechildren
A container component that can contain any other ZK component and can only
be contained as direct child of Absolutelayout component.
|
class |
Absolutelayout
An Absolutelayout component can contain absolute positioned multiple
absolutechildren components.
|
class |
Anchorchildren
The children of Anchorlayout.
|
class |
Anchorlayout
An anchorlayout lays out a container which can resize
it's children base on its width and height
Default Anchorlayout.getZclass() : z-anchorlayout. |
class |
Applet
A generic applet component.
|
class |
Auxhead
Used to define a collection of auxiliary headers (
Auxheader ). |
class |
Auxheader
An auxiliary header.
|
class |
Bandbox
A band box.
|
class |
Bandpopup
The popup that belongs to a
Bandbox instance. |
class |
Borderlayout
A border layout is a layout container for arranging and resizing
child components to fit in five regions: north, south, east, west, and center.
|
class |
Box
A box.
|
class |
Calendar
A calendar.
|
class |
Captcha
The generic captcha component.
|
class |
Cell
|
class |
Chart
The generic chart component.
|
class |
Checkbox
A checkbox.
|
class |
Column
A single column in a
Columns element. |
class |
Columns
Defines the columns of a grid.
|
class |
Combobox
A combobox.
|
class |
Combobutton
A combo button.
|
class |
Comboitem
An item of a combo box.
|
class |
Datebox
An edit box for holding a date.
|
class |
Decimalbox
An edit box for holding BigDecimal.
|
class |
Detail
The detail component is used to display a detailed section where a master row and
multiple detail rows are on the same row.
|
class |
Doublebox
An edit box for holding an float point value (double).
|
class |
Doublespinner
An edit box for holding a constrained double.
|
class |
East
An east region of a border layout.
|
class |
Fileupload
A fileupload dialog used to let user upload a file.
|
class |
Flash
A generic flash component.
|
class |
Foot
|
class |
Frozen
A frozen component to represent a frozen column or row in grid, like MS Excel.
|
class |
Grid
A grid is an element that contains both rows and columns elements.
|
class |
Group
Adds the ability for single level grouping to the Grid.
|
class |
Groupbox
Groups a set of child elements to have a visual effect.
|
class |
Groupfoot
Groupfoot serves as a summary row of group.
|
class |
Hbox
A hbox.
|
class |
Hlayout
A horizontal layout
Default
Hlayout.getZclass() : z-hlayout. |
class |
Idspace
Just like DIV tag but implements IdSpace.
|
class |
Image
An image.
|
class |
Imagemap
An image map.
|
class |
Include
Includes the result generated by any servlet, not limited to a ZUML page.
|
class |
Inputgroup
An inputgroup.
|
class |
Intbox
An edit box for holding an integer.
|
class |
Layout
A layout.
|
class |
LayoutRegion
A layout region in a border layout.
|
class |
Listbox
A listbox.
|
class |
Listcell
A list cell.
|
class |
Listfoot
A row of
Listfooter . |
class |
Listfooter
A column of the footer of a list box (
Listbox ). |
class |
Listgroup
Adds the ability for single level grouping to the Listbox.
|
class |
Listgroupfoot
Listgroupfoot serves as a summary listitem of listgroup.
|
class |
Listhead
A list headers used to define multi-columns and/or headers.
|
class |
Listheader
The list header which defines the attributes and header of a column
of a list box.
|
class |
Listitem
A list item.
|
class |
Longbox
An edit box for holding an integer.
|
class |
Menubar
A container that usually contains menu elements.
|
class |
Menuitem
A single choice in a
Menupopup element. |
class |
Menupopup
A container used to display menus.
|
class |
Menuseparator
Used to create a separator between menu items.
|
class |
NoDOM
A no-dom component with comment scope
|
class |
North
A north region of a border layout.
|
class |
Paging
Paging of long content.
|
class |
Panel
Panel is a container that has specific functionality and structural components
that make it the perfect building block for application-oriented user interfaces.
|
class |
Panelchildren
Panelchildren is used for
Panel component to manage each child who will
be shown in the body of Panel. |
class |
Popup
A container that is displayed as a popup.
|
class |
Progressmeter
A progress meter is a bar that indicates how much of a task has been completed.
|
class |
Radio
A radio button.
|
class |
Radiogroup
A radio group.
|
class |
Rating
A rating component provides a icon based rating input.
|
class |
Row
A single row in a
Rows element. |
class |
Rows
Defines the rows of a grid.
|
class |
Selectbox
A light weight dropdown list.
|
class |
Separator
A separator.
|
class |
Slider
A slider.
|
class |
South
A south region of a border layout.
|
class |
Space
Space is a
Separator with the orient default to "vertical". |
class |
Spinner
An edit box for holding a constrained integer.
|
class |
Splitter
|
class |
Tab
A tab.
|
class |
Tabbox
A tabbox.
|
class |
Tabpanel
A tab panel.
|
class |
Tabpanels
A collection of tab panels.
|
class |
Tabs
A collection of tabs (
Tab ). |
class |
Textbox
A textbox.
|
class |
Timebox
An input box for holding a time (a java.util.Date Object , but only Hour & Minute are used.
|
class |
Timer
Fires one or more
Event after
a specified delay. |
class |
Toolbar
A toolbar.
|
class |
Toolbarbutton
A toolbar button.
|
class |
Tree
A container which can be used to hold a tabular
or hierarchical set of rows of elements.
|
class |
Treecell
A treecell.
|
class |
Treechildren
A treechildren.
|
class |
Treecol
A treecol.
|
class |
Treecols
A treecols.
|
class |
Treefoot
A row of
Treefooter . |
class |
Treefooter
A column of the footer of a tree (
Tree ). |
class |
Treeitem
A treeitem.
|
class |
Treerow
A treerow.
|
class |
Vbox
A vbox.
|
class |
Vlayout
A vertical layout
Default
Vlayout.getZclass() : z-vlayout. |
class |
West
A west region of a border layout.
|
class |
Window
A window.
|
Modifier and Type | Method and Description |
---|---|
<T extends Component> |
Rows.getChildren() |
<T extends Component> |
Listbox.getChildren() |
Modifier and Type | Method and Description |
---|---|
Component |
Grid.getCell(int row,
int col)
Returns the specified cell, or null if not available.
|
protected Component |
Tree.getChildByNode(java.lang.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 Component |
Tree.getChildByPath(int[] path)
Return the Tree or Treeitem component by a path, or null if corresponding
Treeitem is not instantiated (i.e., rendered) yet.
|
Component |
Treechildren.ExtraCtrl.getCropOwner() |
Component |
Rows.ExtraCtrl.getCropOwner() |
Component |
Listbox.ExtraCtrl.getCropOwner() |
Component |
RowRendererExt.newCell(Row row)
Create a component that will be attached to the unloaded row.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<? extends Component> |
Treechildren.ExtraCtrl.getAvailableAtClient() |
java.util.Set<? extends Component> |
Rows.ExtraCtrl.getAvailableAtClient() |
java.util.Set<? extends Component> |
Listbox.ExtraCtrl.getAvailableAtClient() |
java.util.Collection<Component> |
Tree.getHeads()
Returns a collection of heads, including
Tree.getTreecols()
and auxiliary heads (Auxhead ) (never null). |
java.util.Collection<Component> |
Listbox.getHeads()
Returns a collection of heads, including
Listbox.getListhead() and
auxiliary heads (Auxhead ) (never null). |
java.util.Collection<Component> |
Grid.getHeads()
Returns a collection of heads, including
Grid.getColumns()
and auxiliary heads (Auxhead ) (never null). |
Modifier and Type | Method and Description |
---|---|
protected void |
Listitem.addMoved(Component oldparent,
Page oldpg,
Page newpg) |
protected void |
Rows.afterInsert(Component comp)
Callback if a child has been inserted.
|
protected void |
Listbox.afterInsert(Component comp)
Callback if a list item has been inserted.
|
void |
Window.beforeChildAdded(Component child,
Component refChild) |
void |
Treerow.beforeChildAdded(Component child,
Component refChild) |
void |
Treeitem.beforeChildAdded(Component child,
Component refChild) |
void |
Treefoot.beforeChildAdded(Component child,
Component refChild) |
void |
Treecols.beforeChildAdded(Component child,
Component refChild) |
void |
Treechildren.beforeChildAdded(Component child,
Component refChild) |
void |
Tree.beforeChildAdded(Component newChild,
Component refChild) |
void |
Tabs.beforeChildAdded(Component child,
Component refChild) |
void |
Tabpanels.beforeChildAdded(Component child,
Component refChild) |
void |
Tabbox.beforeChildAdded(Component child,
Component refChild) |
void |
Tab.beforeChildAdded(Component child,
Component refChild) |
void |
Rows.beforeChildAdded(Component child,
Component refChild) |
void |
Row.beforeChildAdded(Component newChild,
Component refChild) |
void |
Panel.beforeChildAdded(Component newChild,
Component refChild) |
void |
Menupopup.beforeChildAdded(Component child,
Component refChild) |
void |
Menubar.beforeChildAdded(Component child,
Component refChild) |
void |
Menu.beforeChildAdded(Component child,
Component refChild) |
void |
Listitem.beforeChildAdded(Component child,
Component refChild) |
void |
Listhead.beforeChildAdded(Component child,
Component refChild) |
void |
Listfoot.beforeChildAdded(Component child,
Component refChild) |
void |
Listbox.beforeChildAdded(Component newChild,
Component refChild) |
void |
LayoutRegion.beforeChildAdded(Component child,
Component refChild) |
void |
Inputgroup.beforeChildAdded(Component child,
Component insertBefore) |
void |
Imagemap.beforeChildAdded(Component newChild,
Component refChild) |
void |
Groupbox.beforeChildAdded(Component child,
Component refChild) |
void |
Grid.beforeChildAdded(Component newChild,
Component refChild) |
void |
Foot.beforeChildAdded(Component child,
Component refChild) |
void |
Combobutton.beforeChildAdded(Component newChild,
Component refChild) |
void |
Combobox.beforeChildAdded(Component newChild,
Component refChild) |
void |
Columns.beforeChildAdded(Component child,
Component refChild) |
void |
Borderlayout.beforeChildAdded(Component child,
Component refChild) |
void |
Bandbox.beforeChildAdded(Component newChild,
Component refChild) |
void |
Auxhead.beforeChildAdded(Component child,
Component refChild) |
void |
Audio.beforeChildAdded(Component child,
Component insertBefore) |
void |
Anchorlayout.beforeChildAdded(Component child,
Component refChild) |
void |
Absolutelayout.beforeChildAdded(Component child,
Component refChild) |
void |
Treerow.beforeParentChanged(Component parent) |
void |
Treeitem.beforeParentChanged(Component parent) |
void |
Treefooter.beforeParentChanged(Component parent) |
void |
Treefoot.beforeParentChanged(Component parent) |
void |
Treecols.beforeParentChanged(Component parent) |
void |
Treecol.beforeParentChanged(Component parent) |
void |
Treechildren.beforeParentChanged(Component parent) |
void |
Treecell.beforeParentChanged(Component parent) |
void |
Track.beforeParentChanged(Component parent) |
void |
Tabs.beforeParentChanged(Component parent) |
void |
Tabpanels.beforeParentChanged(Component parent) |
void |
Tabpanel.beforeParentChanged(Component parent) |
void |
Tab.beforeParentChanged(Component parent) |
void |
Splitter.beforeParentChanged(Component parent) |
void |
Rows.beforeParentChanged(Component parent) |
void |
Row.beforeParentChanged(Component parent) |
void |
Panelchildren.beforeParentChanged(Component parent) |
void |
Menuitem.beforeParentChanged(Component parent) |
void |
Menu.beforeParentChanged(Component parent) |
void |
Listitem.beforeParentChanged(Component parent) |
void |
Listheader.beforeParentChanged(Component parent) |
void |
Listhead.beforeParentChanged(Component parent) |
void |
Listfooter.beforeParentChanged(Component parent) |
void |
Listfoot.beforeParentChanged(Component parent) |
void |
Listcell.beforeParentChanged(Component parent) |
void |
LayoutRegion.beforeParentChanged(Component parent) |
void |
Footer.beforeParentChanged(Component parent) |
void |
Foot.beforeParentChanged(Component parent) |
void |
Detail.beforeParentChanged(Component parent) |
void |
Comboitem.beforeParentChanged(Component parent) |
void |
Columns.beforeParentChanged(Component parent) |
void |
Column.beforeParentChanged(Component parent) |
void |
Caption.beforeParentChanged(Component parent) |
void |
Bandpopup.beforeParentChanged(Component parent) |
void |
Auxheader.beforeParentChanged(Component parent) |
void |
Auxhead.beforeParentChanged(Component parent) |
void |
Area.beforeParentChanged(Component parent) |
void |
Anchorchildren.beforeParentChanged(Component parent) |
void |
Absolutechildren.beforeParentChanged(Component parent) |
protected void |
Rows.beforeRemove(Component comp)
Callback if a child will be removed (not removed yet).
|
protected void |
Listbox.beforeRemove(Component comp)
Callback if a list item will be removed (not removed yet).
|
java.lang.String |
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.
|
boolean |
Window.insertBefore(Component child,
Component refChild) |
boolean |
Treeitem.insertBefore(Component child,
Component refChild) |
boolean |
Treechildren.insertBefore(Component newChild,
Component refChild) |
boolean |
Tree.insertBefore(Component newChild,
Component refChild) |
boolean |
Tabs.insertBefore(Component child,
Component refChild) |
boolean |
Tabbox.insertBefore(Component child,
Component refChild) |
boolean |
Tab.insertBefore(Component child,
Component refChild) |
boolean |
Rows.insertBefore(Component child,
Component refChild) |
boolean |
Row.insertBefore(Component newChild,
Component refChild) |
boolean |
Panel.insertBefore(Component newChild,
Component refChild) |
boolean |
Menu.insertBefore(Component child,
Component refChild) |
boolean |
Listbox.insertBefore(Component newChild,
Component refChild) |
boolean |
LayoutRegion.insertBefore(Component child,
Component refChild) |
boolean |
Groupbox.insertBefore(Component child,
Component refChild) |
boolean |
Grid.insertBefore(Component newChild,
Component refChild) |
boolean |
Borderlayout.insertBefore(Component child,
Component refChild) |
void |
Treeitem.onChildAdded(Component child) |
void |
Treechildren.onChildAdded(Component child) |
void |
Tree.onChildAdded(Component child) |
void |
Tabs.onChildAdded(Component child) |
void |
Radiogroup.onChildAdded(Component child) |
void |
Combobox.onChildAdded(Component child) |
void |
Window.onChildRemoved(Component child) |
void |
Treeitem.onChildRemoved(Component child) |
void |
Treechildren.onChildRemoved(Component child) |
void |
Tree.onChildRemoved(Component child) |
void |
Tabs.onChildRemoved(Component child) |
void |
Tabbox.onChildRemoved(Component child) |
void |
Tab.onChildRemoved(Component child) |
void |
Row.onChildRemoved(Component child) |
void |
Panel.onChildRemoved(Component child) |
void |
Menu.onChildRemoved(Component child) |
void |
LayoutRegion.onChildRemoved(Component child) |
void |
Groupbox.onChildRemoved(Component child) |
void |
Combobox.onChildRemoved(Component child) |
void |
Borderlayout.onChildRemoved(Component child) |
void |
Popup.open(Component ref)
Opens this popup right below the specified component at the client.
|
void |
Popup.open(Component ref,
java.lang.String position)
Opens this popup right below the specified component at the client.
|
boolean |
Rows.removeChild(Component child)
If the child is a group, its groupfoot will be removed at the same time.
|
boolean |
Listbox.removeChild(Component child)
If the child is a listgroup, its listgroupfoot will be removed at the
same time.
|
boolean |
Grid.removeChild(Component child) |
java.lang.String |
ItemRenderer.render(Component owner,
T data,
int index)
Renders the data to the corresponding HTML fragment, and returns
the HTML fragment.
|
void |
Treeitem.setParent(Component parent) |
void |
Treechildren.setParent(Component parent) |
void |
Selectbox.setParent(Component parent) |
void |
Radio.setParent(Component parent) |
void |
CustomConstraint.showCustomError(Component comp,
WrongValueException ex)
To display the error message in a custom way.
|
void |
SimpleSpinnerConstraint.validate(Component comp,
java.lang.Object value) |
void |
SimpleLocalTimeConstraint.validate(Component comp,
java.lang.Object value) |
void |
SimpleLocalDateConstraint.validate(Component comp,
java.lang.Object value) |
void |
SimpleDoubleSpinnerConstraint.validate(Component comp,
java.lang.Object value) |
void |
SimpleDateConstraint.validate(Component comp,
java.lang.Object value) |
void |
SimpleConstraint.validate(Component comp,
java.lang.Object value) |
void |
Constraint.validate(Component comp,
java.lang.Object value)
Verifies whether the value is acceptable.
|
void |
AbstractSimpleDateTimeConstraint.validate(Component comp,
java.lang.Object value) |
protected void |
AbstractSimpleDateTimeConstraint.
|