public interface ElementListener extends EventListener
ElementListener
will perform some actions when an Element
is added.
DocListener
Modifier and Type | Method and Description |
---|---|
boolean |
add(Element element)
Signals that an Element was added to the Document .
|
boolean add(Element element) throws DocumentException
Element
was added to the Document
.
element
- a high level object
true
if the element was added, false
if not.
DocumentException
- when a document isn't open yet, or has been closed
Copyright © 1998–2022. All rights reserved.