|
JSR-209 (Final Approval Ballot) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DocumentEvent | |
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. |
Uses of DocumentEvent in javax.swing.event |
Methods in javax.swing.event with parameters of type DocumentEvent | |
void |
DocumentListener.insertUpdate(DocumentEvent e)
Gives notification that there was an insert into the document. |
void |
DocumentListener.removeUpdate(DocumentEvent e)
Gives notification that a portion of the document has been removed. |
void |
DocumentListener.changedUpdate(DocumentEvent e)
Gives notification that an attribute or set of attributes changed. |
Uses of DocumentEvent in javax.swing.text |
Classes in javax.swing.text that implement DocumentEvent | |
class |
AbstractDocument.DefaultDocumentEvent
Stores document changes as the document is being modified. |
Methods in javax.swing.text with parameters of type DocumentEvent | |
void |
View.insertUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification that something was inserted into the document in a location that this view is responsible for. |
void |
View.removeUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification that something was removed from the document in a location that this view is responsible for. |
void |
View.changedUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Gives notification from the document that attributes were changed in a location that this view is responsible for. |
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 |
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 void |
View.forwardUpdateToView(View v,
DocumentEvent e,
Shape a,
ViewFactory f)
Forwards the DocumentEvent to the give child view. |
protected void |
View.updateLayout(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a)
Updates the layout in response to receiving notification of change from the model. |
protected void |
AbstractDocument.fireInsertUpdate(DocumentEvent e)
Notifies all listeners that have registered interest for notification on this event type. |
protected void |
AbstractDocument.fireChangedUpdate(DocumentEvent e)
Notifies all listeners that have registered interest for notification on this event type. |
protected void |
AbstractDocument.fireRemoveUpdate(DocumentEvent e)
Notifies all listeners that have registered interest for notification on this event type. |
|
JSR-209 (Final Approval Ballot) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |