|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjavax.swing.AbstractAction
jAudioFeatureExtractor.actions.SamplingRateAction
public class SamplingRateAction
Action handling changes in the sample rate.
フィールドの概要 | |
---|---|
javax.swing.JRadioButtonMenuItem[] |
samplingRates
references to the radio buttons representing the range of possible sample rates. |
クラス javax.swing.AbstractAction から継承されたフィールド |
---|
changeSupport, enabled |
インタフェース javax.swing.Action から継承されたフィールド |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
コンストラクタの概要 | |
---|---|
SamplingRateAction()
|
メソッドの概要 | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
stores an index to the currently selected sampling rate. |
double |
getSamplingRate()
Returns the sample rate as an double representing samples per second. |
int |
getSelected()
Return the integer index into the array of radio buttons that corresponds to the selected sampling rate. |
void |
setSelected(int i)
Allows the initial settings of the radiobuttons. |
void |
setTarget(javax.swing.JRadioButtonMenuItem[] s)
Sets references to the RadioButtons for sampling rate. |
クラス javax.swing.AbstractAction から継承されたメソッド |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
クラス java.lang.Object から継承されたメソッド |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public javax.swing.JRadioButtonMenuItem[] samplingRates
コンストラクタの詳細 |
---|
public SamplingRateAction()
メソッドの詳細 |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
public void setTarget(javax.swing.JRadioButtonMenuItem[] s)
s
- public int getSelected()
public double getSamplingRate()
public void setSelected(int i)
i
- which button is to be selected.
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |