org.apache.batik.apps.svgbrowser
Interface Application

All Known Implementing Classes:
Main

public interface Application

This interface represents a SVG viewer application.


Method Summary
 void closeJSVGViewerFrame(JSVGViewerFrame f)
          Closes the given viewer frame.
 JSVGViewerFrame createAndShowJSVGViewerFrame()
          Creates and shows a new viewer frame.
 javax.swing.Action createExitAction(JSVGViewerFrame vf)
          Creates an action to exit the application.
 java.lang.String getLanguages()
          Returns the user languages.
 java.lang.String getUserStyleSheetURI()
          Returns the user stylesheet uri.
 java.lang.String getXMLParserClassName()
          Returns the XML parser class name.
 void openLink(java.lang.String url)
          Opens the given link in a new window.
 void showPreferenceDialog(JSVGViewerFrame f)
          Shows the preference dialog.
 

Method Detail

createAndShowJSVGViewerFrame

public JSVGViewerFrame createAndShowJSVGViewerFrame()
Creates and shows a new viewer frame.

closeJSVGViewerFrame

public void closeJSVGViewerFrame(JSVGViewerFrame f)
Closes the given viewer frame.

createExitAction

public javax.swing.Action createExitAction(JSVGViewerFrame vf)
Creates an action to exit the application.

openLink

public void openLink(java.lang.String url)
Opens the given link in a new window.

getXMLParserClassName

public java.lang.String getXMLParserClassName()
Returns the XML parser class name.

showPreferenceDialog

public void showPreferenceDialog(JSVGViewerFrame f)
Shows the preference dialog.

getLanguages

public java.lang.String getLanguages()
Returns the user languages.

getUserStyleSheetURI

public java.lang.String getUserStyleSheetURI()
Returns the user stylesheet uri.
Returns:
null if no user style sheet was specified.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.