# Uses of Interface
javax.swing.text.ViewFactory

Packages that use ViewFactory
Package
Description
javax.swing.plaf.basic
Provides user interface objects built according to the Basic look and feel.
javax.swing.plaf.metal
Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.
javax.swing.plaf.synth
Synth is a skinnable look and feel in which all painting is delegated.
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 ViewFactory in javax.swing.plaf.basic

Classes in javax.swing.plaf.basic that implement ViewFactory
Modifier and Type
Class
Description
`class`
`BasicEditorPaneUI`
Provides the look and feel for a JEditorPane.
`class`
`BasicFormattedTextFieldUI`
Provides the look and feel implementation for `JFormattedTextField`.
`class`
`BasicPasswordFieldUI`
Provides the Windows look and feel for a password field.
`class`
`BasicTextAreaUI`
Provides the look and feel for a plain text editor.
`class`
`BasicTextFieldUI`
Basis of a look and feel for a JTextField.
`class`
`BasicTextPaneUI`
Provides the look and feel for a styled text editor.
`class`
`BasicTextUI`
Basis of a text components look-and-feel.

## Uses of ViewFactory in javax.swing.plaf.metal

Classes in javax.swing.plaf.metal that implement ViewFactory
Modifier and Type
Class
Description
`class`
`MetalTextFieldUI`
Basis of a look and feel for a JTextField.

## Uses of ViewFactory in javax.swing.plaf.synth

Classes in javax.swing.plaf.synth that implement ViewFactory
Modifier and Type
Class
Description
`class`
`SynthEditorPaneUI`
Provides the Synth L&F UI delegate for `JEditorPane`.
`class`
`SynthFormattedTextFieldUI`
Provides the Synth L&F UI delegate for `JFormattedTextField`.
`class`
`SynthPasswordFieldUI`
Provides the Synth L&F UI delegate for `JPasswordField`.
`class`
`SynthTextAreaUI`
Provides the look and feel for a plain text editor in the Synth look and feel.
`class`
`SynthTextFieldUI`
Provides the Synth L&F UI delegate for `JTextField`.
`class`
`SynthTextPaneUI`
Provides the look and feel for a styled text editor in the Synth look and feel.

## Uses of ViewFactory in javax.swing.text

Classes in javax.swing.text that implement ViewFactory
Modifier and Type
Class
Description
`class`
`DefaultTextUI`
Deprecated.
Methods in javax.swing.text that return ViewFactory
Modifier and Type
Method
Description
`ViewFactory`
DefaultEditorKit.`getViewFactory()`
Fetches a factory that is suitable for producing views of any models that are produced by this kit.
`abstract ViewFactory`
EditorKit.`getViewFactory()`
Fetches a factory that is suitable for producing views of any models that are produced by this kit.
`ViewFactory`
StyledEditorKit.`getViewFactory()`
Fetches a factory that is suitable for producing views of any models that are produced by this kit.
`ViewFactory`
View.`getViewFactory()`
Fetches the `ViewFactory` implementation that is feeding the view hierarchy.
Methods in javax.swing.text with parameters of type ViewFactory
Modifier and Type
Method
Description
`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`
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`
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`
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`
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`
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`
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`
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`
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.
`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`
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`
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`
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`
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`
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`
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.
`protected void`
AsyncBoxView.`loadChildren​(ViewFactory f)`
Loads all of the children to initialize the view.
`protected void`
CompositeView.`loadChildren​(ViewFactory f)`
Loads all of the children to initialize the view.
`protected void`
FlowView.`loadChildren​(ViewFactory f)`
Loads all of the children to initialize the view.
`protected void`
WrappedPlainView.`loadChildren​(ViewFactory f)`
Loads all of the children to initialize the view.
`protected void`
ZoneView.`loadChildren​(ViewFactory f)`
Loads all of the children to initialize the view.
`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`
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`
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`
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`
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`
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`
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 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.

## Uses of ViewFactory in javax.swing.text.html

Classes in javax.swing.text.html that implement ViewFactory
Modifier and Type
Class
Description
`static class`
`HTMLEditorKit.HTMLFactory`
A factory to build views for HTML.
Methods in javax.swing.text.html that return ViewFactory
Modifier and Type
Method
Description
`ViewFactory`
HTMLEditorKit.`getViewFactory()`
Fetch a factory that is suitable for producing views of any models that are produced by this kit.
Methods in javax.swing.text.html with parameters of type ViewFactory
Modifier and Type
Method
Description
`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`
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.