org.apache.pivot.tools.xml
Class XMLViewer
java.lang.Object
org.apache.pivot.tools.xml.XMLViewer
- All Implemented Interfaces:
- Application
public class XMLViewer
- extends Object
- implements Application
Utility application that allows the user to browse an XML DOM using
a tree view component.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APPLICATION_KEY
public static final String APPLICATION_KEY
- See Also:
- Constant Field Values
WINDOW_TITLE
public static final String WINDOW_TITLE
- See Also:
- Constant Field Values
XMLViewer
public XMLViewer()
startup
public void startup(Display display,
Map<String,String> properties)
throws Exception
- Description copied from interface:
Application
- Called when the application is starting up.
- Specified by:
startup
in interface Application
- Parameters:
display
- The display on which this application was started.properties
- Initialization properties passed to the application.
- Throws:
Exception
shutdown
public boolean shutdown(boolean optional)
- Description copied from interface:
Application
- Called when the application is being shut down.
- Specified by:
shutdown
in interface Application
- Parameters:
optional
- If true, the shutdown may be canceled by returning a value of
true.
- Returns:
- true to cancel shutdown, false to continue.
suspend
public void suspend()
- Description copied from interface:
Application
- Called to notify the application that it is being suspended.
- Specified by:
suspend
in interface Application
resume
public void resume()
- Description copied from interface:
Application
- Called when a suspended application has been resumed.
- Specified by:
resume
in interface Application
paste
public void paste()
drop
public DropAction drop(Manifest dragContent)
updateProperties
public void updateProperties()
main
public static void main(String[] args)