public class SaveTreeAction extends AbstractTreeAction
IDecisionMethod to a file
Uses serialization mechanism.PARENTKEY, treechangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
SaveTreeAction(IDecisionMethod tree) |
SaveTreeAction(IDecisionMethod tree,
String name) |
SaveTreeAction(IDecisionMethod tree,
String name,
Icon icon) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent arg0) |
void |
exportRules(OutputStream stream,
String filename) |
getParentFrame, getTree, setTreeaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic SaveTreeAction(IDecisionMethod tree)
public SaveTreeAction(IDecisionMethod tree, String name)
public SaveTreeAction(IDecisionMethod tree, String name, Icon icon)
public void exportRules(OutputStream stream, String filename)
public void actionPerformed(ActionEvent arg0)
Copyright © 2004–2018 Ideaconsult Ltd. All rights reserved.