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.
|
javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes
for creating HTML text editors. |
Modifier and Type | Method and Description |
---|---|
void |
DocumentListener.changedUpdate(DocumentEvent e)
Gives notification that an attribute or set of attributes changed.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDocument.DefaultDocumentEvent
Stores document changes as the document is being
modified.
|
Modifier and Type | Method and Description |
---|---|
void |
JTextComponent.AccessibleJTextComponent.changedUpdate(DocumentEvent e)
Handles document remove (fire appropriate property change event,
which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).
|
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.
|
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.
|
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.
|
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 |
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.
|
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 |
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 |
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.
|
protected void |
AbstractDocument.fireChangedUpdate(DocumentEvent e)
Notifies all listeners that have registered interest for
notification on this event type.
|
protected void |
AbstractDocument.fireInsertUpdate(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.
|
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 |
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.forwardUpdateToView(View v,
DocumentEvent e,
Shape a,
ViewFactory f)
Forwards the
DocumentEvent to the give child view. |
void |
JTextComponent.AccessibleJTextComponent.insertUpdate(DocumentEvent e)
Handles document insert (fire appropriate property change event
which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).
|
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 |
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 |
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 |
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 |
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 |
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 |
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.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 |
JTextComponent.AccessibleJTextComponent.removeUpdate(DocumentEvent e)
Handles document remove (fire appropriate property change event,
which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).
|
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 |
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 |
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 |
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.
|
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.
|
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 |
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.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.
|
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 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 void |
PlainView.updateDamage(DocumentEvent changes,
Shape a,
ViewFactory f)
Repaint the region of change covered by the given document
event.
|
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 |
AsyncBoxView.updateLayout(DocumentEvent.ElementChange ec,
DocumentEvent e,
Shape a)
Update the layout in response to receiving notification of
change from the model.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockView.changedUpdate(DocumentEvent changes,
Shape a,
ViewFactory f) |
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 |
ImageView.changedUpdate(DocumentEvent e,
Shape a,
ViewFactory f)
Invoked when the Elements attributes have changed.
|
protected void |
HTMLDocument.fireChangedUpdate(DocumentEvent e)
Notifies all listeners that have registered interest for
notification on this event type.
|
void |
InlineView.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 |
InlineView.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.
|
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, 2014, Oracle and/or its affiliates. All rights reserved.