|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.chooser.XmlHandler
ucar.unidata.idv.chooser.MenuHandler
public class MenuHandler
This handles the menu bar xml (from idv/resources/defaultmenu.xml)
to include idv commands, etc, into a XmlChooser chooser.
| Field Summary | |
|---|---|
static String |
ATTR_ACTION
The action attribute in menuitems |
static String |
TAG_MENU
Xml tag name for menu |
static String |
TAG_MENUITEM
Xml tag name for menuitems |
static String |
TAG_MENUS
Xml tag name for menus |
| Fields inherited from class ucar.unidata.idv.chooser.XmlHandler |
|---|
chooser, path, root, tree |
| Constructor Summary | |
|---|---|
MenuHandler(XmlChooser chooser,
Element root,
String path)
Create the handler |
|
| Method Summary | |
|---|---|
void |
doLoad()
The user has pressed the 'Load' button. |
JComponent |
doMakeContents()
Make the GUI |
| Methods inherited from class ucar.unidata.idv.chooser.XmlHandler |
|---|
getContents, getPath, updateStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TAG_MENUS
public static final String TAG_MENU
public static final String TAG_MENUITEM
public static final String ATTR_ACTION
| Constructor Detail |
|---|
public MenuHandler(XmlChooser chooser,
Element root,
String path)
chooser - The chooser we are inroot - The root of the xml treepath - The url path of the xml document| Method Detail |
|---|
public JComponent doMakeContents()
doMakeContents in class XmlHandlerpublic void doLoad()
doLoad in class XmlHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||