Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atomikos.swing
Class HtmlFrame

    java.lang.Object
      com.atomikos.swing.HtmlFrame

All Implemented Interfaces:
  ActionListener, EventListener, HyperlinkListener

    public class HtmlFrame

extends Object
implements HyperlinkListener, ActionListener

A frame to display an HTML document, and respond to clicks on hyperlinks by loading the clicked link.

Constructor Summary
`HtmlFrame(URL url, JFrame parent)` Creates a new window that displays the given URL.

Method Summary
`void` | `actionPerformed(ActionEvent e)`
`void` | `hyperlinkUpdate(HyperlinkEvent e)`
`static void` | `main(String[] args)` Allows simple retrieval of command-line URL

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HtmlFrame

    public HtmlFrame(URL url,
                     JFrame parent)
              throws IOException

  Creates a new window that displays the given URL.

  Parameters:
    `url` - The URL to load.
    `parent` - If in dialog mode, this indicates which parent. Null means a standalone app. This determines the behaviour for closing the window.
  Throws:
    `IOException`

Method Detail

### hyperlinkUpdate

    public void hyperlinkUpdate(HyperlinkEvent e)

  Specified by:
    `hyperlinkUpdate` in interface `HyperlinkListener`
  See Also:
    `HyperlinkListener`

### actionPerformed

    public void actionPerformed(ActionEvent e)

  Specified by:
    `actionPerformed` in interface `ActionListener`
  See Also:
    `ActionListener`

### main

    public static void main(String[] args)

  Allows simple retrieval of command-line URL

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.