## 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 and 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 and 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 and 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 and Description
    --- | ---
    `class` | `DefaultTextUI` Deprecated.

    Methods in javax.swing.text that return ViewFactory
    Modifier and Type | Method and Description
    --- | ---
    `ViewFactory` | View.`getViewFactory()` Fetches the `ViewFactory` implementation that is feeding the view hierarchy.
    `ViewFactory` | DefaultEditorKit.`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.
    `abstract ViewFactory` | EditorKit.`getViewFactory()` Fetches a factory that is suitable for producing views of any models that are produced by this kit.

    Methods in javax.swing.text with parameters of type ViewFactory
    Modifier and Type | Method and Description
    --- | ---
    `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` | 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` | 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` | 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` | 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.`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` | 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` | TableView.`forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)`
    `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.`forwardUpdateToView(View v, DocumentEvent e, Shape a, ViewFactory f)` Forwards the `DocumentEvent` to the give child view.
    `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` | 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` | 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` | 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` | 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` | 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.
    `protected void` | ZoneView.`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` | AsyncBoxView.`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` | CompositeView.`loadChildren(ViewFactory f)` Loads all of the children to initialize the view.
    `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` | 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` | 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` | 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` | 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` | 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.
    `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 and 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 and 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 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.
    `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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.