net.sf.sdedit.ui.components
Class HelpPanel

java.lang.Object
  extended by net.sf.sdedit.ui.components.HelpPanel

public class HelpPanel
extends Object

Utility class that allows to load an html file and display it by a JEditorPane that can be embedded into a grapical user interface.

Author:
Markus Strauch

Constructor Summary
HelpPanel(String text)
           
HelpPanel(URL page, HyperlinkListener listener)
          Creates a new Help object for displaying some html page.
 
Method Summary
 JEditorPane getPane()
          Returns the JEditorPane on which the help page is displayed and which can be embedded into your graphical user interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpPanel

public HelpPanel(URL page,
                 HyperlinkListener listener)
Creates a new Help object for displaying some html page.

Parameters:
page - URL of the html page

HelpPanel

public HelpPanel(String text)
Method Detail

getPane

public JEditorPane getPane()
Returns the JEditorPane on which the help page is displayed and which can be embedded into your graphical user interface.

Returns:
the JEditorPane on which the help page is displayed


Copyright © 2011. All Rights Reserved.