Package ipsk.audio.actions
Class BasicAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- ipsk.audio.actions.BasicAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Direct Known Subclasses:
LoopAction
,PauseAction
,SetFramePositionAction
,StartPlaybackAction
,StartRecordAction
,StopAction
public class BasicAction extends javax.swing.AbstractAction
Base class for an action.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
HIGH_LIGHTED_KEY
-
Constructor Summary
Constructors Constructor Description BasicAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
void
addActionListener(java.awt.event.ActionListener al)
protected void
fireActionEvent(java.awt.event.ActionEvent ae)
boolean
isHighlighted()
void
removeActionListener(java.awt.event.ActionListener al)
void
setHighlighted(boolean highlighted)
-
-
-
Field Detail
-
HIGH_LIGHTED_KEY
public final java.lang.String HIGH_LIGHTED_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
addActionListener
public void addActionListener(java.awt.event.ActionListener al)
-
removeActionListener
public void removeActionListener(java.awt.event.ActionListener al)
-
fireActionEvent
protected void fireActionEvent(java.awt.event.ActionEvent ae)
-
isHighlighted
public boolean isHighlighted()
- Returns:
- Returns the highlighted.
-
setHighlighted
public void setHighlighted(boolean highlighted)
- Parameters:
highlighted
- The highlighted to set.
-
-