Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
class: JEditorPane.PageLoader [javadoc | source]
java.lang.Object
   javax.swing.SwingWorker<URL, Object>
      javax.swing.JEditorPane$PageLoader

All Implemented Interfaces:
    RunnableFuture

Loads a stream into the text document model.
Field Summary
 InputStream in    The stream to load the document with 
 URL old    URL of the old page that was replaced (for the property change event) 
 URL page    URL of the page being loaded (for the property change event) 
 Document doc    The Document instance to load into. This is cached in case a new Document is created between the time the thread this is created and run. 
Constructor:
 PageLoader(Document doc,
    InputStream in,
    URL old,
    URL page) 
    Construct an asynchronous page loader.
Method from javax.swing.JEditorPane$PageLoader Summary:
doInBackground
Methods from javax.swing.SwingWorker:
addPropertyChangeListener,   cancel,   doInBackground,   done,   execute,   firePropertyChange,   get,   get,   getProgress,   getPropertyChangeSupport,   getState,   isCancelled,   isDone,   process,   publish,   removePropertyChangeListener,   run,   setProgress
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.JEditorPane$PageLoader Detail:
 protected URL doInBackground() 
    Try to load the document, then scroll the view to the reference (if specified). When done, fire a page property change event.