|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.levelEditor.xml.menu.MenuXMLParser
public class MenuXMLParser
This class is able to create a JMenuBar from an XML file.
Constructor Summary | |
---|---|
MenuXMLParser(java.util.ResourceBundle resBundle,
java.lang.Object menuItemContainer)
Constructs a new MenuFactory. |
Method Summary | |
---|---|
javax.swing.JMenuBar |
buildMenuBar(java.io.File menuBarFile)
Constructs a JMenuBar from the specified XML file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MenuXMLParser(java.util.ResourceBundle resBundle, java.lang.Object menuItemContainer)
resBundle
- A resource bundle to translate "name" fields into the
appropriate locale-specific strings.Method Detail |
---|
public javax.swing.JMenuBar buildMenuBar(java.io.File menuBarFile) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
- If an I/O error occurred.
org.xml.sax.SAXException
- If an XML parser error occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |