|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
jAudioFeatureExtractor.actions.OutputTypeAction
public class OutputTypeAction
Action responsible for processing when a user changes from either ACE or ARFF output format from the menu bar.
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 | |
---|---|
OutputTypeAction()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
When an output type is selected, change the output type to match and check against inconsistant states. |
java.lang.String |
getOutputType()
Provide a human friendly version of the outputType variable |
int |
getSelected()
Return the integer value corresponding to the current output type selected |
void |
setSelected(int i)
Set the current selected state. |
void |
setTarget(javax.swing.JRadioButtonMenuItem ace,
javax.swing.JRadioButtonMenuItem arff,
javax.swing.JCheckBox perWindow,
javax.swing.JCheckBox overall)
Sets all the references needed to check for invalid state combinations |
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 |
---|
public OutputTypeAction()
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
public void setTarget(javax.swing.JRadioButtonMenuItem ace, javax.swing.JRadioButtonMenuItem arff, javax.swing.JCheckBox perWindow, javax.swing.JCheckBox overall)
ace
- "ACE" radio buttonarff
- "ARFF" radio buttonperWindow
- should features be saved for each windowoverall
- should global features be savedpublic java.lang.String getOutputType()
public int getSelected()
public void setSelected(int i)
i
- integer representing the desired output type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |