|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.apps.svgviewer.Main
This class represents a SVG viewer.
Inner Class Summary | |
class |
Main.CloseAction
To close a frame. |
class |
Main.ExitAction
To exit the application |
Field Summary | |
protected static java.util.ResourceBundle |
bundle
The resource bundle |
static java.lang.String |
CSS_PARSER_CLASS_NAME_KEY
The CSS parser class name key. |
protected ViewerFrame |
mainFrame
The main frame. |
protected int |
mainFrames
The number of main frames. |
static java.lang.String |
RESOURCES
The gui resources file name |
static java.lang.String |
XML_PARSER_CLASS_NAME_KEY
The XML parser class name key. |
protected static java.lang.String |
xmlParserClassName
The XML parser class name. |
Constructor Summary | |
Main(java.lang.String[] args)
Creates a viewer application frame. |
Method Summary | |
boolean |
closeFrame(ViewerFrame f)
Called when the frame will be closed. |
void |
createAndShowViewerFrame()
Creates and shows a new viewer frame. |
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. |
static void |
main(java.lang.String[] args)
The program entry point. |
void |
openLink(ViewerFrame f,
SVGAElement elt)
Opens the given link. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CSS_PARSER_CLASS_NAME_KEY
public static final java.lang.String XML_PARSER_CLASS_NAME_KEY
public static final java.lang.String RESOURCES
protected static java.util.ResourceBundle bundle
protected static java.lang.String xmlParserClassName
protected int mainFrames
protected ViewerFrame mainFrame
Constructor Detail |
public Main(java.lang.String[] args)
args
- The command-line arguments.Method Detail |
public static void main(java.lang.String[] args)
args
- The command-line arguments.public void createAndShowViewerFrame()
createAndShowViewerFrame
in interface ViewerFrame.Application
public javax.swing.Action createCloseAction(ViewerFrame vf)
createCloseAction
in interface ViewerFrame.Application
public javax.swing.Action createExitAction()
createExitAction
in interface ViewerFrame.Application
public java.lang.String getXMLParserClassName()
getXMLParserClassName
in interface ViewerFrame.Application
public boolean closeFrame(ViewerFrame f)
closeFrame
in interface ViewerFrame.Application
public void openLink(ViewerFrame f, SVGAElement elt)
openLink
in interface ViewerFrame.Application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |