org.stringer.ui.action
Class Export
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--org.stringer.ui.action.Export
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public class Export
- extends javax.swing.AbstractAction
end the program and exit.
- Author:
- R. Kevin Cole kcole@users.sourceforge.net
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
export(java.lang.String filename)
|
protected void |
walk(java.lang.Object o,
java.lang.StringBuffer buf)
Build an XML string representation of the nodes in a TreeModel
by visiting every node in the tree and appending to a StringBuffer. |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
Stringer parent
url
java.net.URL url
Export
public Export(Stringer parent)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
export
public void export(java.lang.String filename)
walk
protected void walk(java.lang.Object o,
java.lang.StringBuffer buf)
- Build an XML string representation of the nodes in a TreeModel
by visiting every node in the tree and appending to a StringBuffer.
- Parameters:
o - the tree branchbuf - xml representation of this branch is written here.
Copyright © R. Kevin Cole. All Rights Reserved.