public interface ScopeListener
A listener used to listen whether a scope (Scope
) is changed.
To add a listener to the scope, invoke
Scope.addScopeListener(org.zkoss.zk.ui.ext.ScopeListener)
.
Modifier and Type | Method and Description |
---|---|
void |
attributeAdded(Scope scope,
java.lang.String name,
java.lang.Object value)
Called when an attribute is going to be added to
Scope . |
void |
attributeRemoved(Scope scope,
java.lang.String name)
Called when an attribute is going to be removed from
Scope . |
void |
attributeReplaced(Scope scope,
java.lang.String name,
java.lang.Object value)
Called when an attribute is going to be replaced in
Scope . |
void |
idSpaceChanged(Scope scope,
IdSpace newIdSpace)
Called when the ID space of this scope has been changed.
|
void |
parentChanged(Scope scope,
Scope newparent)
Called when the parent has been changed.
|
void attributeAdded(Scope scope, java.lang.String name, java.lang.Object value)
Scope
.scope
- the scope where a new attribute is addedvalue
- the new value.void attributeReplaced(Scope scope, java.lang.String name, java.lang.Object value)
Scope
.scope
- the scope where a new attribute is replacedvalue
- the new value.void attributeRemoved(Scope scope, java.lang.String name)
Scope
.scope
- the scope where a new attribute is removedvoid parentChanged(Scope scope, Scope newparent)
scope
- the scope whose parent is changednewparent
- the new parent.void idSpaceChanged(Scope scope, IdSpace newIdSpace)
IdSpace
, such as components and pages.scope
- the scope whose ID space is changednewIdSpace
- the new ID space.Copyright © 2005-2023 Potix Corporation. All Rights Reserved.