Uses of Interface
org.zkoss.zk.ui.ext.Scope
-
Packages that use Scope Package Description org.zkoss.zk.scripting org.zkoss.zk.scripting.bsh org.zkoss.zk.scripting.util org.zkoss.zk.ui org.zkoss.zk.ui.ext org.zkoss.zk.ui.http org.zkoss.zk.ui.impl org.zkoss.zk.ui.sys -
-
Uses of Scope in org.zkoss.zk.scripting
Methods in org.zkoss.zk.scripting with parameters of type Scope Modifier and Type Method Description booleanHierarchicalAware. containsVariable(Scope scope, java.lang.String name)Tests whether a variable defined in this interpreter.org.zkoss.xel.FunctionHierarchicalAware. getFunction(Scope scope, java.lang.String name, java.lang.Class[] argTypes)Returns the method of the specified name defined in this interpreter's scope identified by the specified scope, or null if not defined.java.lang.ObjectHierarchicalAware. getVariable(Scope scope, java.lang.String name)Returns the value of a variable defined in this interpreter's scope identified by the specified scope.voidInterpreter. interpret(java.lang.String script, Scope scope)Evaluates the script against the specified scope.voidHierarchicalAware. setVariable(Scope scope, java.lang.String name, java.lang.Object value)Sets the value of a variable to this interpreter's scope identified by the specified scope.voidHierarchicalAware. unsetVariable(Scope scope, java.lang.String name)Removes the value of a variable defined in the interpreter's scope identified by the specified scope. -
Uses of Scope in org.zkoss.zk.scripting.bsh
Methods in org.zkoss.zk.scripting.bsh with parameters of type Scope Modifier and Type Method Description protected booleanBSHInterpreter. contains(Scope scope, java.lang.String name)protected java.lang.ObjectBSHInterpreter. get(Scope scope, java.lang.String name)org.zkoss.xel.FunctionBSHInterpreter. getFunction(Scope scope, java.lang.String name, java.lang.Class[] argTypes)protected voidBSHInterpreter. set(Scope scope, java.lang.String name, java.lang.Object val)protected voidBSHInterpreter. unset(Scope scope, java.lang.String name) -
Uses of Scope in org.zkoss.zk.scripting.util
Methods in org.zkoss.zk.scripting.util that return Scope Modifier and Type Method Description protected ScopeGenericInterpreter. getCurrent()Returns the current scope, or null if no scope is allowed.Methods in org.zkoss.zk.scripting.util with parameters of type Scope Modifier and Type Method Description protected voidGenericInterpreter. afterInterpret(Scope scope)Called afterGenericInterpreter.exec(java.lang.String).protected voidGenericInterpreter. beforeInterpret(Scope scope)Called beforeGenericInterpreter.exec(java.lang.String).protected booleanGenericInterpreter. contains(Scope scope, java.lang.String name)Tests whether a variable is defined in the interpreter's scope associated with the specified scope.booleanGenericInterpreter. containsVariable(Scope scope, java.lang.String name)Tests whether the variable exists by using the specified name as a reference to identify the interpreter's scope.protected java.lang.ObjectGenericInterpreter. get(Scope scope, java.lang.String name)Gets the variable from the interpreter's scope associated with the giving scope.protected java.lang.ObjectGenericInterpreter. getFromNamespace(Scope scope, java.lang.String name, boolean recurse)Returns the variable through the specified scopes and variable resolvers, orGenericInterpreter.UNDEFINEDif the variable is not defined.org.zkoss.xel.FunctionGenericInterpreter. getFunction(Scope scope, java.lang.String name, java.lang.Class[] argTypes)Returns null since retrieving methods is not supported.java.lang.ObjectGenericInterpreter. getVariable(Scope scope, java.lang.String name)Returns the value of a variable defined in this interpreter's scope identified by the specified scope.voidGenericInterpreter. interpret(java.lang.String script, Scope scope)Handles the scope and then invokeGenericInterpreter.exec(java.lang.String).protected voidGenericInterpreter. set(Scope scope, java.lang.String name, java.lang.Object value)Sets the variable to the interpreter's scope associated with the giving scope.voidGenericInterpreter. setVariable(Scope scope, java.lang.String name, java.lang.Object value)Sets the value of a variable to this interpreter's scope identified by the specified scope.protected voidGenericInterpreter. unset(Scope scope, java.lang.String name)Removes the variable from the interpreter.voidGenericInterpreter. unsetVariable(Scope scope, java.lang.String name)Removes the value of a variable defined in the interpreter's scope identified by the specified scope. -
Uses of Scope in org.zkoss.zk.ui
Subinterfaces of Scope in org.zkoss.zk.ui Modifier and Type Interface Description interfaceComponentAn UI component.interfaceDesktopRepresents a desktop.interfaceExecutionAn execution of a client request (e.g., ServletRequest).interfaceIdSpaceinterfacePageA page.interfaceSessionA user session.interfaceWebAppRepresents a Web application.Classes in org.zkoss.zk.ui that implement Scope Modifier and Type Class Description classAbstractComponentA skeletal implementation ofComponent.classAbstractPageA skeletal implementation ofPage.classHtmlBasedComponentA skeletal implementation for HTML based components.classHtmlMacroComponentThe implementation of a macro component for HTML-based clients.classHtmlNativeComponentA component used to represent XML elements that are associated with the native namespace (http://www.zkoss.org/2005/zk/native).classHtmlShadowElementA skeleton of shadow element that represents as a shadow tree.Methods in org.zkoss.zk.ui with parameters of type Scope Modifier and Type Method Description voidPage. interpret(java.lang.String zslang, java.lang.String script, Scope scope)Interprets a script in the specified scripting language in the context of the specified scope.voidAbstractComponent. service(Event event, Scope scope) -
Uses of Scope in org.zkoss.zk.ui.ext
Subinterfaces of Scope in org.zkoss.zk.ui.ext Modifier and Type Interface Description interfaceMacroImplemented withComponentto represent a macro component.Methods in org.zkoss.zk.ui.ext that return Scope Modifier and Type Method Description static ScopeScopes. beforeInterpret(Scope scope)Prepares implicit variable before callingPage.interpret(java.lang.String, java.lang.String, org.zkoss.zk.ui.ext.Scope).static ScopeScopes. getCurrent(Page page)Returns the current scope.Methods in org.zkoss.zk.ui.ext with parameters of type Scope Modifier and Type Method Description voidScopeListener. attributeAdded(Scope scope, java.lang.String name, java.lang.Object value)Called when an attribute is going to be added toScope.voidScopeListener. attributeRemoved(Scope scope, java.lang.String name)Called when an attribute is going to be removed fromScope.voidScopeListener. attributeReplaced(Scope scope, java.lang.String name, java.lang.Object value)Called when an attribute is going to be replaced inScope.static ScopeScopes. beforeInterpret(Scope scope)Prepares implicit variable before callingPage.interpret(java.lang.String, java.lang.String, org.zkoss.zk.ui.ext.Scope).static java.lang.ObjectScopes. getLockForScopeIfAny(Scope scope)Returns a consistent lock for a given scope, if available.voidScopeListener. idSpaceChanged(Scope scope, IdSpace newIdSpace)Called when the ID space of this scope has been changed.voidScopeListener. parentChanged(Scope scope, Scope newparent)Called when the parent has been changed. -
Uses of Scope in org.zkoss.zk.ui.http
Classes in org.zkoss.zk.ui.http that implement Scope Modifier and Type Class Description classExecutionImplAnExecutionimplementation for HTTP request and response.classSerializableSessionSerializableSession.classSimpleSessionA non-serializable implementation ofSession.classSimpleWebAppA servlet-based Web application. -
Uses of Scope in org.zkoss.zk.ui.impl
Classes in org.zkoss.zk.ui.impl that implement Scope Modifier and Type Class Description classAbstractExecutionA skeletal implementation ofExecution.classAbstractWebAppA skeletal implementation ofWebApp.classDesktopImplThe implementation ofDesktop.classPageImplclassSimpleScopeA simple implementation ofScope.classSynchronizedScopeA synchronized scope.classVolatilePageA page that does not really exist at the client.Methods in org.zkoss.zk.ui.impl with parameters of type Scope Modifier and Type Method Description SimpleScopeSimpleScope. clone(Scope owner)Clones this scope.voidPageImpl. interpret(java.lang.String zslang, java.lang.String script, Scope scope)voidScopeListeners. notifyParentChanged(Scope newparent)InvokesScopeListener.parentChanged(org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.ext.Scope)for registered listeners.voidSimpleScope. notifyParentChanged(Scope newparent)InvokesScopeListener.parentChanged(org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.ext.Scope)for registered listeners.Constructors in org.zkoss.zk.ui.impl with parameters of type Scope Constructor Description ScopeListeners(Scope owner)Constructor.SimpleScope(Scope owner)Constructor.SynchronizedScope(Scope owner) -
Uses of Scope in org.zkoss.zk.ui.sys
Classes in org.zkoss.zk.ui.sys that implement Scope Modifier and Type Class Description classStubComponentA stub component is a 'degenerated' component that does not maintain the states at the server.classStubsComponentRepresents a tree ofStubComponentthat are merged into a single component.Methods in org.zkoss.zk.ui.sys with parameters of type Scope Modifier and Type Method Description voidComponentCtrl. service(Event event, Scope scope)Handles an event.voidEventListenerMap. service(Event event, Scope scope, Component comp, java.lang.String cmd)Services the event under the given page and scope.voidStubComponent. service(Event event, Scope scope)voidStubsComponent. service(Event event, Scope scope)
-