public class AudioPlayerAnnotationController extends DialogAnnotationController implements LineListener
Modifier and Type | Field and Description |
---|---|
protected static long |
PLAYER_UPDATE_DELAY_MILLIS |
toolTipComponent
Constructor and Description |
---|
AudioPlayerAnnotationController(WorldWindow worldWindow,
AudioPlayerAnnotation audioAnnotation) |
AudioPlayerAnnotationController(WorldWindow worldWindow,
AudioPlayerAnnotation audioAnnotation,
Clip clip) |
Modifier and Type | Method and Description |
---|---|
protected void |
doUpdateAudioAnnotation(long position,
long length,
boolean haveClip) |
protected AudioPlayer |
getAudioPlayer() |
Clip |
getClip() |
String |
getClipStatus() |
void |
onActionPerformed(ActionEvent e) |
protected void |
onClipStart(LineEvent e) |
protected void |
onClipStop(LineEvent e) |
protected void |
onPlayerUpdate() |
protected void |
onPlayPressed(ActionEvent e) |
protected void |
onStopPressed(ActionEvent e) |
void |
pauseClip() |
protected void |
playPressed(ActionEvent e) |
protected void |
setAudioPlayer(AudioPlayer audioPlayer) |
void |
setClip(Clip clip) |
void |
startClip() |
protected void |
startPlayerUpdate() |
void |
stopClip() |
protected void |
stopPlayerUpdate() |
protected void |
stopPressed(ActionEvent e) |
void |
update(LineEvent e) |
protected void |
updateAudioAnnotation() |
actionPerformed, doDisable, doEnable, forwardToButtonAnnotations, getAnnotation, getToolTipPoint, getWorldWindow, glPointFromAwt, isEnabled, onSelected, selected, setAnnotation, setCursor, setEnabled, showToolTip, updateCursor, updateToolTip
protected static final long PLAYER_UPDATE_DELAY_MILLIS
public AudioPlayerAnnotationController(WorldWindow worldWindow, AudioPlayerAnnotation audioAnnotation)
public AudioPlayerAnnotationController(WorldWindow worldWindow, AudioPlayerAnnotation audioAnnotation, Clip clip)
protected void doUpdateAudioAnnotation(long position, long length, boolean haveClip)
protected AudioPlayer getAudioPlayer()
public Clip getClip()
public String getClipStatus()
public void onActionPerformed(ActionEvent e)
onActionPerformed
in class DialogAnnotationController
protected void onClipStart(LineEvent e)
protected void onClipStop(LineEvent e)
protected void onPlayerUpdate()
protected void onPlayPressed(ActionEvent e)
protected void onStopPressed(ActionEvent e)
public void pauseClip()
protected void playPressed(ActionEvent e)
protected void setAudioPlayer(AudioPlayer audioPlayer)
public void setClip(Clip clip)
public void startClip()
protected void startPlayerUpdate()
public void stopClip()
protected void stopPlayerUpdate()
protected void stopPressed(ActionEvent e)
public void update(LineEvent e)
update
in interface LineListener
protected void updateAudioAnnotation()