Java™ Platform
Standard Ed. 6

Uses of Interface
javax.swing.text.ViewFactory

Packages that use ViewFactory
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.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
 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
 class MetalTextFieldUI
          Basis of a look and feel for a JTextField.
 

Uses of ViewFactory in javax.swing.text
 

Classes in javax.swing.text that implement ViewFactory
 class DefaultTextUI
          Deprecated.  
 

Methods in javax.swing.text that return ViewFactory
 ViewFactory View.getViewFactory()
          Fetches the ViewFactory implementation that is feeding the view hierarchy.
 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.
 ViewFactory DefaultEditorKit.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
 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 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.
 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.
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 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 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 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 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.
protected  void ZoneView.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 FlowView.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 AsyncBoxView.loadChildren(ViewFactory f)
          Loads all of the children to initialize the view.
 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 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 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 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  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  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 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
static class HTMLEditorKit.HTMLFactory
          A factory to build views for HTML.
 

Methods in javax.swing.text.html that return ViewFactory
 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
 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 BlockView.changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
           
 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.
 


Java™ Platform
Standard Ed. 6

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

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.