Package | Description |
---|---|
javax.swing.event |
Provides for events fired by Swing components.
|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
Modifier and Type | Method and Description |
---|---|
DocumentEvent.ElementChange |
DocumentEvent.getChange(Element elem)
Gets the change information for the given element.
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDocument.ElementEdit
An implementation of ElementChange that can be added to the document
event.
|
Modifier and Type | Method and Description |
---|---|
DocumentEvent.ElementChange |
AbstractDocument.DefaultDocumentEvent.getChange(Element elem)
Gets the changes for an element.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BoxView.forwardUpdate(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a,
ViewFactory f)
Forwards the given
DocumentEvent to the child views
that need to be notified of the change to the model. |
protected void |
TableView.forwardUpdate(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a,
ViewFactory f) |
protected void |
View.forwardUpdate(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a,
ViewFactory f)
Forwards the given
DocumentEvent to the child views
that need to be notified of the change to the model. |
protected boolean |
ZoneView.updateChildren(DocumentEvent.ElementChange ec,
DocumentEvent e,
ViewFactory f)
The superclass behavior will try to update the child views
which is not desired in this case, since the children are
zones and not directly effected by the changes to the
associated element.
|
protected boolean |
View.updateChildren(DocumentEvent.ElementChange ec,
DocumentEvent e,
ViewFactory f)
Updates the child views in response to receiving notification
that the model changed, and there is change record for the
element this view is responsible for.
|
protected void |
AsyncBoxView.updateLayout(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a)
Update the layout in response to receiving notification of
change from the model.
|
protected void |
View.updateLayout(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a)
Updates the layout in response to receiving notification of
change from the model.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.