API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicHTML View Source
Author(s)
Timothy Prinzing
Since
1.3
Version
1.27 04/07/06
Serial
Hierarchy
 Object
      BasicHTML
Implements
Subclasses
Description
public class BasicHTML
  Support for providing html views for the swing components.
See also:   
Constructors
public BasicHTML ()
Methods
Hide/Show inherited methods
publicstatic View createHTMLView (JComponent c, String html)
Create an html renderer for the given component and string of html.
pack-privatestatic int getBaseline (JComponent c, int y, int ascent, int w, int h)
  Gets the baseline for the specified component.
pack-privatestatic int getBaseline (View view, int w, int h)
Gets the baseline for the specified View.
pack-privatestatic BasicEditorKit getFactory ()
publicstatic int getHTMLBaseline (View view, int w, int h)
  Returns the baseline for the html renderer.
publicstatic boolean isHTMLString (String s)
Check the given string to see if it should trigger the html rendering logic in a non-text component that supports html rendering.
publicstatic void updateRenderer (JComponent c, String text)
  Stash the HTML render for the given text into the client properties of the given JComponent.
Fields
Hide/Show inherited fields
publicfinalstatic String documentBaseKey = "html.base"
  Key stored as a client property to indicate the base that relative references are resolved against.
publicfinalstatic String propertyKey = "html"
Key to use for the html renderer when stored as a client property of a JComponent.
Nested Classes
  BasicHTML.BasicEditorKit
The views produced for the ComponentUI implementations aren't going to be edited and don't need full html support.
  BasicHTML.BasicHTMLViewFactory
BasicHTMLViewFactory extends HTMLFactory to force images to be loaded synchronously.
  BasicHTML.BasicDocument
The subclass of HTMLDocument that is used as the model.
  BasicHTML.Renderer
Root text view that acts as an HTML renderer.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar