|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Component | |
|---|---|
| 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.fn | A collections of functions used in EL expressions (implementation only). |
| org.zkoss.zk.scripting | Scripting intepreter relevant classes, including interpreter, namespace and so on. |
| org.zkoss.zk.scripting.util | Utilities for implementing interpters and namespaces. |
| org.zkoss.zk.ui | Interfaces of the common user-interfaces, such as Page and Component. |
| 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.render | The component render is a way to render a component in addition to the use of JSP, DSP, and other Servlet technologies. |
| 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. |
| Uses of Component in org.zkoss.zk.au |
|---|
| Methods in org.zkoss.zk.au that return Component | |
|---|---|
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. |
| Constructors in org.zkoss.zk.au with parameters of type Component | |
|---|---|
AuResponse(java.lang.String cmd,
Component depends,
java.lang.String data)
Constructs a response with one or zero data. |
|
AuResponse(java.lang.String cmd,
Component depends,
java.lang.String[] data)
Constructs a response with multiple data. |
|
AuScript(Component depends,
java.lang.String script)
Deprecated. |
|
| Uses of Component in org.zkoss.zk.au.out |
|---|
| Constructors in org.zkoss.zk.au.out with parameters of type Component | |
|---|---|
AuAppendChild(Component comp,
java.lang.String content)
|
|
AuCloseErrorBox(Component comp)
|
|
AuFocus(Component comp)
|
|
AuInsertAfter(Component comp,
java.lang.String content)
|
|
AuInsertBefore(Component comp,
java.lang.String content)
|
|
AuInvoke(Component comp,
java.lang.String function)
Construct AuInvoke to call a client function with one argument, the component itself. |
|
AuInvoke(Component comp,
java.lang.String function,
java.lang.String arg)
Construct AuInvoke to call a client function with two arguments, the component itself and arg. |
|
AuInvoke(Component comp,
java.lang.String function,
java.lang.String arg1,
java.lang.String arg2)
Construct AuInvoke to call a client function with three arguments, the component itself, arg1 and arg2. |
|
AuInvoke(Component comp,
java.lang.String function,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3)
Construct AuInvoke to call a client function with four arguments, the component itself, arg1, arg2 and arg3. |
|
AuRemove(Component comp)
|
|
AuRemoveAttribute(Component comp,
java.lang.String attr)
|
|
AuReplace(Component comp,
java.lang.String content)
|
|
AuScript(Component depends,
java.lang.String script)
|
|
AuSetAttribute(Component comp,
java.lang.String attr,
java.lang.String val)
|
|
AuWrongValue(Component comp,
java.lang.String message)
|
|
| Uses of Component in org.zkoss.zk.fn |
|---|
| Methods in org.zkoss.zk.fn with parameters of type Component | |
|---|---|
static void |
ZkFns.redraw(Component comp,
java.io.Writer out)
Redraw the specified component into the specified out. |
| Uses of Component in org.zkoss.zk.scripting |
|---|
| Methods in org.zkoss.zk.scripting with parameters of type Component | |
|---|---|
static Namespace |
Namespaces.beforeInterpret(java.util.Map backup,
Component comp,
boolean pushNS)
Prepares builtin variable before calling Page.interpret(java.lang.String, java.lang.String, org.zkoss.zk.scripting.Namespace). |
| Uses of Component in org.zkoss.zk.scripting.util |
|---|
| Constructors in org.zkoss.zk.scripting.util with parameters of type Component | |
|---|---|
SimpleNamespace(Component owner)
|
|
| Uses of Component in org.zkoss.zk.ui |
|---|
| Classes in org.zkoss.zk.ui that implement Component | |
|---|---|
class |
AbstractComponent
A skeletal implementation of Component. |
class |
HtmlBasedComponent
A skeletal implementation for HTML based components. |
class |
HtmlMacroComponent
The implemetation of a macro component for HTML-based clients. |
class |
HtmlNativeComponent
A comonent used to represent XML elements that are associated with the inline namespace (http://www.zkoss.org/2005/zk/inline). |
| Methods in org.zkoss.zk.ui that return 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. |
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.createComponentsDirectly(org.zkoss.idom.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(org.zkoss.idom.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(org.zkoss.idom.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(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. |
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. |
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 the same ID space. |
Component |
Component.getFellow(java.lang.String id)
Returns a component of the specified ID in the same ID space. |
Component |
AbstractComponent.getFellow(java.lang.String compId)
|
Component |
IdSpace.getFellowIfAny(java.lang.String id)
Returns a component of the specified ID in the same 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 |
AbstractComponent.getFellowIfAny(java.lang.String compId)
|
Component |
Component.getFirstChild()
Returns the first child component, or null if no child at all. |
Component |
AbstractComponent.getFirstChild()
|
Component |
Component.getLastChild()
Returns the last child component, or null if no child at all. |
Component |
AbstractComponent.getLastChild()
|
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 |
Component.getPreviousSibling()
Returns the previous sibling, or null if it is the first child. |
Component |
AbstractComponent.getPreviousSibling()
|
Component |
AbstractComponent.getPropagatee(java.lang.String evtnm)
Default: null (no propagation at all). |
Component |
Component.getRoot()
Returns the root of this component. |
Component |
AbstractComponent.getRoot()
Returns the root of the specified component. |
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. |
| Methods in org.zkoss.zk.ui with parameters of type Component | |
|---|---|
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)
|
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. |
boolean |
Component.appendChild(Component child)
Appends a child. |
boolean |
AbstractComponent.appendChild(Component child)
Appends a child to the end of all children. |
static java.lang.String |
Components.componentToPath(Component comp,
Component ref)
Converts a component to a path (relavant to another 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. |
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. |
static Component |
Executions.createComponentsDirectly(org.zkoss.idom.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(org.zkoss.idom.Document content,
java.lang.String extension,
Component parent,
java.util.Map arg)
Creates components from the raw content specified by a DOM tree. |
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. |
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)
Evluates 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)
Evluates the specified expression with ${link #getVariableResolver} and Page.getFunctionMapper() of the page of the specified
component. |
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 expfcls)
Returns the evaluator of the current execution. |
Evaluator |
Execution.getEvaluator(Component comp,
java.lang.Class expfcls)
Returns the evaluator of the current execution. |
static java.lang.String |
Path.getPath(Component comp)
Returns the path of the specified component. |
static java.util.Collection |
Components.getVisibleChildren(Component comp)
Returns a collection of visible children. |
org.zkoss.xel.Function |
Page.getZScriptFunction(Component comp,
java.lang.String name,
java.lang.Class[] argTypes)
Returns the variable of the specified name by searching the logical scope of the namespace of the specified component for 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 namespace of the specified component for all the loaded interpreters, if any. |
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 ancessor of node 2. |
static boolean |
Components.isRealVisible(Component comp)
Returns whether this component is real visible (all its parents are visible). |
void |
Component.onChildAdded(Component child)
Called when a child is added. |
void |
AbstractComponent.onChildAdded(Component child)
Default: does nothing. |
void |
Component.onChildRemoved(Component child)
Called when a child is removed. |
void |
AbstractComponent.onChildRemoved(Component child)
Default: does nothing. |
void |
Component.onDrawNewChild(Component child,
java.lang.StringBuffer out)
Called when a new-created child is about to render. |
void |
AbstractComponent.onDrawNewChild(Component child,
java.lang.StringBuffer out)
|
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. |
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)
|
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 |
HtmlMacroComponent.setParent(Component parent)
Changes the parent. |
void |
Component.setParent(Component parent)
Sets the parent component. |
void |
AbstractComponent.setParent(Component parent)
|
| Constructors in org.zkoss.zk.ui with parameters of type Component | |
|---|---|
Path(Component comp)
Returns the path of the specified component. |
|
WrongValueException(Component comp,
int code)
Contructs a wrong value exception to show an error box at the client. |
|
WrongValueException(Component comp,
int code,
java.lang.Object fmtArg)
Contructs a wrong value exception to show an error box at the client. |
|
WrongValueException(Component comp,
int code,
java.lang.Object[] fmtArgs)
Contructs a wrong value exception to show an error box at the client. |
|
WrongValueException(Component comp,
java.lang.String msg)
Contructs a wrong value exception to show an error box at the client. |
|
| Uses of Component in org.zkoss.zk.ui.event |
|---|
| Methods in org.zkoss.zk.ui.event that return Component | |
|---|---|
Component |
DropEvent.getDragged()
Returns the component being dragged and drop to Event.getTarget(). |
Component |
OpenEvent.getReference()
Returns the reference that is the component causing Event.getTarget()
to be opened. |
Component |
Event.getTarget()
Returns the target component that receives this event, or null if broadcast. |
| Methods in org.zkoss.zk.ui.event with parameters of type Component | |
|---|---|
void |
EventThreadResume.abortResume(Component comp,
Event evt)
Called when the suspended event thread is aborted. |
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 |
EventThreadCleanup.cleanup(Component comp,
Event evt,
java.util.List errs)
Cleans up the event processing thread. |
void |
EventThreadCleanup.complete(Component comp,
Event evt)
Called in the serlvet thread to clean up. |
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 boolean |
Events.isListenerAvailable(Component comp,
java.lang.String evtnm,
boolean asap)
Deprecated. As of release 2.4.0, replaced by Events.isListened(org.zkoss.zk.ui.Component, java.lang.String, boolean) |
static void |
Events.postEvent(java.lang.String name,
Component target,
java.lang.Object data)
Posts a generic event (aka, an instance of Event). |
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. |
| Constructors in org.zkoss.zk.ui.event with parameters of type Component | |
|---|---|
CheckEvent(java.lang.String name,
Component target,
boolean checked)
Constructs a check-relevant event. |
|
CreateEvent(java.lang.String name,
Component target,
java.util.Map args)
|
|
DropEvent(java.lang.String name,
Component target,
Component dragged,
int x,
int y,
int keys)
Constructs a drop event. |
|
ErrorEvent(java.lang.String name,
Component target,
java.lang.String val,
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 foward event. |
|
InputEvent(java.lang.String name,
Component target,
java.lang.String val)
Constructs a input-relevant event. |
|
InputEvent(java.lang.String name,
Component target,
java.lang.String val,
boolean selbk)
Constructs an event for onChanging. |
|
KeyEvent(java.lang.String name,
Component target,
int keyCode,
boolean ctrlKey,
boolean shiftKey,
boolean altKey)
Constructs a mouse relevant event. |
|
MouseEvent(java.lang.String name,
Component target)
Construct a mouse relevant event with coordination or area. |
|
MouseEvent(java.lang.String name,
Component target,
int x,
int y)
Constructs a mouse relevant event. |
|
MouseEvent(java.lang.String name,
Component target,
int x,
int y,
int keys)
Constructs a mouse relevant event. |
|
MouseEvent(java.lang.String name,
Component target,
java.lang.String area)
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. |
|
ScrollEvent(java.lang.String name,
Component target,
int pos)
Constructs an scroll-relevant event. |
|
SelectEvent(java.lang.String name,
Component target,
java.util.Set selectedItems)
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. |
|
UploadEvent(java.lang.String name,
Component target,
org.zkoss.util.media.Media[] meds)
Constructs the upload event. |
|
ZIndexEvent(java.lang.String name,
Component target,
int zIndex)
Constructs a mouse relevant event. |
|
| Uses of Component in org.zkoss.zk.ui.ext |
|---|
| Methods in org.zkoss.zk.ui.ext that return Component | |
|---|---|
Component |
Native.Helper.newNative(java.lang.String text)
Creates a native component with the specified content. |
| Uses of Component in org.zkoss.zk.ui.ext.render |
|---|
| Methods in org.zkoss.zk.ui.ext.render with parameters of type Component | |
|---|---|
boolean |
MultiBranch.inDifferentBranch(Component child)
Whether the specified child is placed in different branch of the DOM tree (other than the main one). |
| Uses of Component in org.zkoss.zk.ui.http |
|---|
| Methods in org.zkoss.zk.ui.http with parameters of type Component | |
|---|---|
java.lang.Object |
ExecutionImpl.evaluate(Component comp,
java.lang.String expr,
java.lang.Class expectedType)
|
Evaluator |
ExecutionImpl.getEvaluator(Component comp,
java.lang.Class expfcls)
|
| Uses of Component in org.zkoss.zk.ui.impl |
|---|
| Methods in org.zkoss.zk.ui.impl that return Component | |
|---|---|
Component[] |
UiEngineImpl.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
java.util.Map arg)
|
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,
java.util.Map arg)
|
Component[] |
AbstractExecution.createComponents(java.lang.String uri,
java.util.Map arg)
|
Component |
AbstractExecution.createComponentsDirectly(org.zkoss.idom.Document content,
java.lang.String ext,
Component parent,
java.util.Map arg)
|
Component[] |
AbstractExecution.createComponentsDirectly(org.zkoss.idom.Document content,
java.lang.String ext,
java.util.Map arg)
|
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,
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.getDefaultParent()
|
Component |
PageImpl.getFellow(java.lang.String compId)
|
Component |
PageImpl.getFellowIfAny(java.lang.String compId)
|
Component |
PageImpl.getOwner()
|
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ComponentDefinition compdef,
java.lang.String clsnm)
|
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ComponentInfo compInfo)
|
| Methods in org.zkoss.zk.ui.impl with parameters of type Component | |
|---|---|
void |
DesktopImpl.addComponent(Component comp)
|
void |
PageImpl.addDeferredZScript(Component parent,
ZScript zscript)
|
void |
PageImpl.addFellow(Component comp)
|
void |
UiEngineImpl.addInvalidate(Component comp)
|
void |
UiEngineImpl.addMoved(Component comp,
Component oldparent,
Page oldpg,
Page newpg)
|
void |
PageImpl.addRoot(Component comp)
|
void |
UiEngineImpl.addSmartUpdate(Component comp,
java.lang.String attr,
java.lang.String value)
|
void |
UiEngineImpl.addUuidChanged(Component comp,
boolean addOnlyMoved)
Called before changing the component's UUID. |
Component[] |
UiEngineImpl.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
java.util.Map arg)
|
Component |
AbstractExecution.createComponents(PageDefinition pagedef,
Component parent,
java.util.Map arg)
|
Component |
AbstractExecution.createComponents(java.lang.String uri,
Component parent,
java.util.Map arg)
|
Component |
AbstractExecution.createComponentsDirectly(org.zkoss.idom.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,
java.util.Map arg)
|
Component |
AbstractExecution.createComponentsDirectly(java.lang.String content,
java.lang.String ext,
Component parent,
java.util.Map arg)
|
java.lang.String |
DesktopImpl.getDynamicMediaURI(Component comp,
java.lang.String pathInfo)
|
org.zkoss.xel.Function |
PageImpl.getZScriptFunction(Component comp,
java.lang.String name,
java.lang.Class[] argTypes)
|
java.lang.Object |
PageImpl.getZScriptVariable(Component comp,
java.lang.String name)
|
void |
PageImpl.moveRoot(Component comp,
Component refRoot)
|
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ComponentDefinition compdef,
java.lang.String clsnm)
|
Component |
AbstractUiFactory.newComponent(Page page,
Component parent,
ComponentInfo compInfo)
|
void |
DesktopImpl.onPiggybackListened(Component comp,
boolean listen)
|
boolean |
EventProcessingThreadImpl.processEvent(Desktop desktop,
Component comp,
Event event)
Ask this event thread to process the specified event. |
void |
UiEngineImpl.pushOwner(Component comp)
|
void |
DesktopImpl.removeComponent(Component comp)
|
void |
PageImpl.removeFellow(Component comp)
|
void |
PageImpl.removeRoot(Component comp)
|
void |
EventProcessingThreadImpl.sendEvent(Component comp,
Event event)
Sends the specified component and event and processes the event synchronously. |
void |
PageImpl.setDefaultParent(Component comp)
|
void |
PageImpl.setOwner(Component comp)
|
| Constructors in org.zkoss.zk.ui.impl with parameters of type Component | |
|---|---|
EventProcessor(Desktop desktop,
Component comp,
Event event)
|
|
| Uses of Component in org.zkoss.zk.ui.metainfo |
|---|
| Methods in org.zkoss.zk.ui.metainfo that return Component | |
|---|---|
Component |
NativeInfo.newInstance(Page page)
|
Component |
ComponentInfo.newInstance(Page page)
Creates an component based on this info (never null). |
Component |
ComponentDefinition.newInstance(Page page,
java.lang.String clsnm)
Creates an component of this definition. |
| Methods in org.zkoss.zk.ui.metainfo with parameters of type Component | |
|---|---|
void |
VariablesInfo.apply(Component comp)
Applies the variable element against the parent component. |
void |
AttributesInfo.apply(Component comp)
Applies the custom attributes. |
void |
ComponentInfo.applyProperties(Component comp)
Applies the event handlers, annotations, properties and custom attributes to the specified component. |
void |
ComponentDefinition.applyProperties(Component comp)
Applies the properties and custom attributes defined in this definition to the specified component. |
void |
Property.assign(Component comp)
Assigns the value of this memeber to the specified component. |
java.util.Map |
ComponentDefinition.evalProperties(java.util.Map propmap,
Page owner,
Component parent)
Evaluates and retrieves properties to the specified map. |
java.util.Map |
ComponentInfo.evalProperties(java.util.Map 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 |
ZScript.getContent(Page page,
Component comp)
Returns the content of zscript. |
ForEach |
ComponentInfo.getForEach(Page page,
Component comp)
Returns the forEach object if the forEach attribute is defined (or ComponentInfo.setForEach(java.lang.String, java.lang.String, java.lang.String) is called). |
java.lang.Object |
ComponentDefinition.getMoldURI(Component comp,
java.lang.String name)
Returns the URI (String) or an instance of ComponentRenderer
of the mold, or null if no such mold available. |
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. |
boolean |
ZScript.isEffective(Component comp)
|
boolean |
VariablesInfo.isEffective(Component comp)
|
boolean |
Property.isEffective(Component comp)
|
boolean |
EventHandler.isEffective(Component comp)
|
boolean |
ComponentInfo.isEffective(Component comp)
|
boolean |
AttributesInfo.isEffective(Component comp)
|
boolean |
ComponentDefinition.isInstance(Component comp)
Returns whether a component belongs to this definition. |
| Uses of Component in org.zkoss.zk.ui.metainfo.impl |
|---|
| Methods in org.zkoss.zk.ui.metainfo.impl that return Component | |
|---|---|
Component |
ComponentDefinitionImpl.newInstance(Page page,
java.lang.String clsnm)
|
| Methods in org.zkoss.zk.ui.metainfo.impl with parameters of type Component | |
|---|---|
void |
AnnotationHelper.applyAnnotations(Component comp,
java.lang.String propName,
boolean clear)
Applies the annotations defined in this helper to the specified component. |
void |
ComponentDefinitionImpl.applyProperties(Component comp)
|
java.util.Map |
ComponentDefinitionImpl.evalProperties(java.util.Map propmap,
Page owner,
Component parent)
|
java.lang.Object |
ComponentDefinitionImpl.getMoldURI(Component comp,
java.lang.String name)
|
boolean |
ComponentDefinitionImpl.isInstance(Component comp)
|
| Uses of Component in org.zkoss.zk.ui.render |
|---|
| Methods in org.zkoss.zk.ui.render with parameters of type Component | |
|---|---|
void |
ComponentRenderer.render(Component comp,
java.io.Writer out)
Redraws a component. |
SmartWriter |
SmartWriter.write(Component comp)
Write a component. |
SmartWriter |
SmartWriter.writeChildren(Component comp)
Writes all children. |
SmartWriter |
SmartWriter.writeChildren(Component comp,
int from,
int to)
Writes children in the specified range. |
SmartWriter |
SmartWriter.writeln(Component comp)
Write a component. |
| Uses of Component in org.zkoss.zk.ui.sys |
|---|
| Methods in org.zkoss.zk.ui.sys that return Component | |
|---|---|
Component[] |
UiEngine.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
java.util.Map arg)
Creates components from the specified page and definition. |
Component |
EventProcessingThread.getComponent()
Returns the component being processed by this thread, or null if idle. |
Component |
PageCtrl.getDefaultParent()
Returns the default parent, or null if no such parent. |
Component |
PageCtrl.getOwner()
Returns the owner of this page, or null if it is not owned by any component. |
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)
Creates and initializes a component based on the specified ComponentInfo. |
| Methods in org.zkoss.zk.ui.sys with parameters of type Component | |
|---|---|
void |
DesktopCtrl.addComponent(Component comp)
Adds a component to this page. |
void |
PageCtrl.addDeferredZScript(Component parent,
ZScript zscript)
Adds a deferred zscript. |
void |
PageCtrl.addFellow(Component comp)
Adds a fellow. |
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 |
PageCtrl.addRoot(Component comp)
Adds a root component to a page. |
void |
UiEngine.addSmartUpdate(Component comp,
java.lang.String attr,
java.lang.String value)
Smart updates an attribute of a component. |
void |
UiEngine.addUuidChanged(Component comp,
boolean addOnlyMoved)
Called before changing the component's UUID. |
static void |
ComponentsCtrl.applyForward(Component comp,
java.lang.String forward)
Applies the forward condition to the specified component. |
Component[] |
UiEngine.createComponents(Execution exec,
PageDefinition pagedef,
Page page,
Component parent,
java.util.Map arg)
Creates components from the specified page and definition. |
void |
PageCtrl.moveRoot(Component comp,
Component refRoot)
Moves a root component before the reference component. |
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)
Creates and initializes a component based on the specified ComponentInfo. |
java.lang.String |
IdGenerator.nextComponentUuid(Desktop desktop,
Component comp)
Returns the next component UUID for the specified component, or null to generate the default UUID. |
void |
DesktopCtrl.onPiggybackListened(Component comp,
boolean listen)
Called when a component added or removed a listener for Events.ON_PIGGYBACK. |
static java.lang.String |
ComponentsCtrl.parseClientScript(Component comp,
java.lang.String script)
Parses a script by resolving #{xx} to make it executable at the client. |
static java.lang.Object[] |
ComponentsCtrl.parseEventExpression(Component comp,
java.lang.String evtexpr,
Component defaultComp,
boolean deferred)
Pares the event expression. |
void |
UiEngine.pushOwner(Component comp)
Called before a component redraws itself if the component might include another page. |
void |
DesktopCtrl.removeComponent(Component comp)
Removes a component to this page. |
void |
PageCtrl.removeFellow(Component comp)
Removes a fellow. |
void |
PageCtrl.removeRoot(Component comp)
Detaches a root component from this page. |
void |
PageCtrl.setDefaultParent(Component comp)
Sets the default parent. |
void |
PageCtrl.setOwner(Component comp)
Sets the owner of this page. |
| Uses of Component in org.zkoss.zk.ui.util |
|---|
| Methods in org.zkoss.zk.ui.util with parameters of type Component | |
|---|---|
java.lang.Object |
ComponentCloneListener.clone(Component comp)
Called when a component is cloned. |
static void |
Clients.closeErrorBox(Component owner)
Closes the error box at the browser belonging to the specified component, if any. |
void |
ComponentSerializationListener.didDeserialize(Component comp)
Called when a component has de-serialized this object back. |
void |
Composer.doAfterCompose(Component comp)
Invokes after ZK loader creates this component, initializes it and composes all its children, if any. |
void |
InitiatorExt.doAfterCompose(Page page,
Component[] comps)
Called after all components are created (aka., composed), and before any event is processed. |
ComponentInfo |
ComposerExt.doBeforeCompose(Page page,
Component parent,
ComponentInfo compInfo)
Invokes before composing a component. |
void |
ComposerExt.doBeforeComposeChildren(Component comp)
Invokes after the component is instantiated and initialized, but before composing any child. |
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 cleanups,
Component comp,
Event evt,
java.util.List errs)
Invoke EventThreadCleanup.complete(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event) for each instance returned by
Configuration.newEventThreadCleanups(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event, java.util.List). |
boolean |
Configuration.invokeEventThreadInits(java.util.List inits,
Component comp,
Event evt)
Invokes EventThreadInit.init(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event) for each instance returned
by Configuration.newEventThreadInits(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event). |
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 resumes,
Component comp,
Event evt)
Invokes EventThreadResume.afterResume(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event) for each instance returned
by Configuration.newEventThreadResumes(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event). |
void |
Configuration.invokeEventThreadSuspends(java.util.List 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 |
Configuration.newEventThreadCleanups(Component comp,
Event evt,
java.util.List errs)
Invokes EventThreadCleanup.cleanup(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.Event, java.util.List) for each relevant
listener registered by Configuration.addListener(java.lang.Class). |
java.util.List |
Configuration.newEventThreadInits(Component comp,
Event evt)
Contructs 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 |
Configuration.newEventThreadResumes(Component comp,
Event evt)
Contructs 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 |
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.submitForm(Component form)
Submits the form with the specified form. |
void |
ComponentSerializationListener.willSerialize(Component comp)
Called when a component is going to serialize this object. |
| Constructors in org.zkoss.zk.ui.util with parameters of type Component | |
|---|---|
ForEachImpl(EvaluatorRef evalr,
Component comp,
java.lang.String expr,
java.lang.String begin,
java.lang.String end)
Constructor. |
|
| Uses of Component in org.zkoss.zk.xel |
|---|
| Methods in org.zkoss.zk.xel with parameters of type Component | |
|---|---|
java.lang.Object |
Evaluator.evaluate(Component comp,
org.zkoss.xel.Expression expression)
Evaluates the expression. |
java.lang.Object |
ExValue.getValue(Evaluator eval,
Component comp)
Returns the value after evaluation. |
| Uses of Component in org.zkoss.zk.xel.impl |
|---|
| Methods in org.zkoss.zk.xel.impl with parameters of type Component | |
|---|---|
java.lang.Object |
SimpleEvaluator.evaluate(Component comp,
org.zkoss.xel.Expression expression)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||