GATE
Version 3.1-2270

gate.creole.ml.maxent
Class MaxentWrapper.SaveModelAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by gate.creole.ml.maxent.MaxentWrapper.SaveModelAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
MaxentWrapper

protected class MaxentWrapper.SaveModelAction
extends AbstractAction

This allows the model, including its parameters to be saved to a file.

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
MaxentWrapper.SaveModelAction()
           
 
Method Summary
 void actionPerformed(ActionEvent evt)
          This function will open a file chooser, and then call the save function to actually save the model.
 
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
 

Constructor Detail

MaxentWrapper.SaveModelAction

public MaxentWrapper.SaveModelAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent evt)
This function will open a file chooser, and then call the save function to actually save the model. (It is not normally called directly by the user, but will be called as the result of the save model menu option being selected.)


GATE
Version 3.1-2270