javax.swing.text
public static class AbstractDocument.ElementEdit extends AbstractUndoableEdit implements DocumentEvent.ElementChange
Constructor Summary | |
---|---|
ElementEdit(Element elem, int index, Element[] removed, Element[] added)
Creates a new ElementEdit .
|
Method Summary | |
---|---|
Element[] | getChildrenAdded()
Returns the added elements.
|
Element[] | getChildrenRemoved()
Returns the removed elements.
|
Element | getElement()
Returns the changed element.
|
int | getIndex()
Returns the index of the change.
|
ElementEdit
.
Parameters: elem the changed element index the index of the change removed the removed elements added the added elements
Returns: the added elements
Returns: the removed elements
Returns: the changed element
Returns: the index of the change