org.openide.src
Interface Element.Impl2
- All Superinterfaces:
- Element.Impl, Serializable
- Enclosing class:
- Element
- public static interface Element.Impl2
- extends Element.Impl
Extended version of the implementation interface. The new version contains
support for vetoable listeners for all Elements and some more for specialized
ones.
- Since:
- 24/11/2000
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener l)
- Adds a vetoable listener.
- Parameters:
l
- instener instance to add.
removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener l)
- Removes a vetoable listener.
- Parameters:
l
- instener instance to remove.
isValid
public boolean isValid()
- Determines whether the element is still valid - if it is a part of its original model.
The Element should be invalidated during its removal from the model so further
operations may notice that and fail in appropriate cases.
- Returns:
- true, if the element is still valid and a part of a model.
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.