net.sf.jaxodraw.gui.panel
Class JaxoUserGuide

java.lang.Object
  extended by net.sf.jaxodraw.gui.panel.JaxoUserGuide

public class JaxoUserGuide
extends java.lang.Object

Responsible for creating and locating the User Guide.


Constructor Summary
JaxoUserGuide(java.awt.Component parentc)
          Constructor that takes a parent component.
 
Method Summary
 boolean isLocallyBrowsable()
          Checks if the User Guide exists locally and if not, tries to re-create it.
 java.net.URL localIndexPage()
          Returns a URL to the index page of the local copy of the User Guide.
 void show(JaxoPreview p)
          Shows the User Guide in the given Preview.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxoUserGuide

public JaxoUserGuide(java.awt.Component parentc)
Constructor that takes a parent component.

Parameters:
parentc - The parent component for this UserGuide.
Method Detail

show

public void show(JaxoPreview p)
Shows the User Guide in the given Preview.

Parameters:
p - The preview to use.

isLocallyBrowsable

public boolean isLocallyBrowsable()
Checks if the User Guide exists locally and if not, tries to re-create it.

Returns:
True if the local version of the User Guide was created without errors, and is therefore browsable.

localIndexPage

public java.net.URL localIndexPage()
Returns a URL to the index page of the local copy of the User Guide.

Returns:
Null if isLocallyBrowsable() returns false, or if another error occurred; the local URL otherwise.


Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.