JavaTM 2 Platform
Std. Ed. v1.4.1

Uses of Interface
javax.swing.event.DocumentEvent

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. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
 

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
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.
 void ZoneView.insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification that something was inserted into the document in a location that this view is responsible for.
 void ZoneView.removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification that something was removed from the document in a location that this view is responsible for.
protected  void TableView.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)
           
 void PlainView.insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification that something was inserted into the document in a location that this view is responsible for.
 void PlainView.removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification that something was removed from the document in a location that this view is responsible for.
 void PlainView.changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification from the document that attributes were changed in a location that this view is responsible for.
protected  void PlainView.updateDamage(DocumentEvent changes, Shape a, ViewFactory f)
           
 void FieldView.insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification that something was inserted into the document in a location that this view is responsible for.
 void FieldView.removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification that something was removed from the document in a location that 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.
 void WrappedPlainView.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 WrappedPlainView.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 WrappedPlainView.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  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.
 void LabelView.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.
 void GlyphView.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 GlyphView.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 GlyphView.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  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.
 void FlowView.FlowStrategy.insertUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
          Gives notification that something was inserted into the document in a location that the given flow view is responsible for.
 void FlowView.FlowStrategy.removeUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
          Gives notification that something was removed from the document in a location that the given flow view is responsible for.
 void FlowView.FlowStrategy.changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
          Gives notification from the document that attributes were changed in a location that this view is responsible for.
 void FlowView.insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification that something was inserted into the document in a location that this view is responsible for.
 void FlowView.removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification that something was removed from the document in a location that this view is responsible for.
 void FlowView.changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification from the document that attributes were changed in a location that this view is responsible for.
 void ParagraphView.changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
          Gives notification from the document that attributes were changed in a location that this view is responsible for.
 void JTextComponent.AccessibleJTextComponent.insertUpdate(DocumentEvent e)
          Handles document insert (fire appropriate property change event which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).
 void JTextComponent.AccessibleJTextComponent.removeUpdate(DocumentEvent e)
          Handles document remove (fire appropriate property change event, which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).
 void JTextComponent.AccessibleJTextComponent.changedUpdate(DocumentEvent e)
          Handles document remove (fire appropriate property change event, which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).
 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.
 

Uses of DocumentEvent in javax.swing.text.html
 

Methods in javax.swing.text.html with parameters of type DocumentEvent
 void ImageView.changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
          Invoked when the Elements attributes have changed.
 void InlineView.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.
 void BlockView.changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
           
protected  void HTMLDocument.fireChangedUpdate(DocumentEvent e)
          Notifies all listeners that have registered interest for notification on this event type.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.