org.apache.batik.apps.svgviewer
Interface ViewerFrame.Application

All Known Implementing Classes:
Main
Enclosing class:
ViewerFrame

public static interface ViewerFrame.Application

To manage the actions associated with the application.


Method Summary
 boolean closeFrame(ViewerFrame f)
          Called when the frame will be closed.
 void createAndShowViewerFrame()
          Called when a new viewer frame needs to be created.
 javax.swing.Action createCloseAction(ViewerFrame vf)
          Creates a close action.
 javax.swing.Action createExitAction()
          Creates a exit action.
 java.lang.String getXMLParserClassName()
          Returns the XML parser class name.
 void openLink(ViewerFrame f, SVGAElement elt)
          Opens the given link.
 

Method Detail

createAndShowViewerFrame

public void createAndShowViewerFrame()
Called when a new viewer frame needs to be created.

createCloseAction

public javax.swing.Action createCloseAction(ViewerFrame vf)
Creates a close action.

createExitAction

public javax.swing.Action createExitAction()
Creates a exit action.

getXMLParserClassName

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

closeFrame

public boolean closeFrame(ViewerFrame f)
Called when the frame will be closed.
Returns:
true if the frame must be closed.

openLink

public void openLink(ViewerFrame f,
                     SVGAElement elt)
Opens the given link.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.