|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.ui.XmlUi
ucar.unidata.idv.ui.IdvXmlUi
public class IdvXmlUi
This class extends the XmlUi
class to provide handling of special xml tags that define
certain components. The XmlUi class processes an xml
file that specifies a UI and creates the user interface.
This class handles the tags "datatree" and "messagelogger", though in the future it could handle the creation of view managers, legends, etc. ew
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.ui.XmlUi |
|---|
XmlUi.ActionHandler, XmlUi.CardPanel |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
IdvXmlUi(IdvWindow window,
List viewManagers,
IntegratedDataViewer idv,
Element root)
Construct this object |
|
IdvXmlUi(IdvWindow window,
List viewManagers,
IntegratedDataViewer idv,
Element root,
Element startNode)
|
|
IdvXmlUi(IntegratedDataViewer idv,
Element root)
Construct this object |
|
| Method Summary | |
|---|---|
Component |
createComponent(Element node,
String id)
Override the base class factory method to create idv specific components. |
void |
dispose()
The destructor |
Border |
getBorder(String type,
Element node)
Override base class method to provide the idv.status border |
protected ViewManager |
getViewManager(Element node)
_more_ |
List |
getViewManagers()
Get the view managers created |
protected IdvComponentGroup |
makeComponentGroup(Element node)
_more_ |
protected static void |
processToolbarXml(Element root,
IdvUIManager uiManager)
Add in the appropriate state to the given toolbar xml |
| Methods inherited from class ucar.unidata.ui.XmlUi |
|---|
actionPerformed, addComponent, addComponent, extractOneArg, extractTwoArgs, getAlign, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getComponent, getComponents, getContents, getImage, getImageAttr, getProperty, hasComponent, inheritName, initializeComponents, itemStateChanged, main, makeButton, setRoot, setStartNode, xmlToUi |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdvXmlUi(IntegratedDataViewer idv,
Element root)
idv - The IDVroot - The root of the xml tree that defines the UI
public IdvXmlUi(IdvWindow window,
List viewManagers,
IntegratedDataViewer idv,
Element root)
window - The window the gui is shown inviewManagers - The ViewManagers that are being shownidv - The IDVroot - The root of the xml tree that defines the UI
public IdvXmlUi(IdvWindow window,
List viewManagers,
IntegratedDataViewer idv,
Element root,
Element startNode)
| Method Detail |
|---|
protected static void processToolbarXml(Element root,
IdvUIManager uiManager)
root - Root of the toolbar xmluiManager - the ui managerpublic void dispose()
dispose in class XmlUi
public Component createComponent(Element node,
String id)
createComponent in class XmlUinode - The node th e xml ui treeid - The id of the node
protected IdvComponentGroup makeComponentGroup(Element node)
node - _more_
protected ViewManager getViewManager(Element node)
node - _more_
public Border getBorder(String type,
Element node)
getBorder in class XmlUitype - Border typenode - Component xml node
public List getViewManagers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||