Package kiyut.sketsa.loaders

## Class SVGEditorSupport.SVGDocumentLoader

- java.lang.Object
- - kiyut.sketsa.loaders.SVGEditorSupport.SVGDocumentLoader

- All Implemented Interfaces:
    `Runnable`, `org.openide.util.Cancellable`
  Enclosing class:
    SVGEditorSupport

      public class SVGEditorSupport.SVGDocumentLoader
      extends Object
      implements Runnable, org.openide.util.Cancellable

  DocumentLoader Helper class

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SVGDocumentLoader()` |
    `SVGDocumentLoader​(boolean revert)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `cancel()` |
    `org.w3c.dom.svg.SVGDocument` | `loadDocument()` |
    `void` | `openEditor​(org.w3c.dom.svg.SVGDocument doc)` | This will invoke openEditorImpl in the event thread
    `void` | `run()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SVGDocumentLoader

          public SVGDocumentLoader()

    - #### SVGDocumentLoader

          public SVGDocumentLoader​(boolean revert)

  - ### Method Detail

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

    - #### cancel

          public boolean cancel()

      Specified by:
        `cancel` in interface `org.openide.util.Cancellable`

    - #### loadDocument

          public org.w3c.dom.svg.SVGDocument loadDocument()
                                                   throws IOException

      Throws:
        `IOException`

    - #### openEditor

          public void openEditor​(org.w3c.dom.svg.SVGDocument doc)

      This will invoke openEditorImpl in the event thread
      Parameters:
        `doc` - SVGDocument