gov.nasa.worldwind.examples.util
Class AudioPlayerAnnotation
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.AbstractAnnotation
gov.nasa.worldwind.render.GlobeAnnotation
gov.nasa.worldwind.examples.util.DialogAnnotation
gov.nasa.worldwind.examples.util.AudioPlayerAnnotation
- All Implemented Interfaces:
- AVList, Disposable, Locatable, Movable, Pickable, Annotation, Renderable, Restorable, ActionListener, EventListener
public class AudioPlayerAnnotation
- extends DialogAnnotation
Methods inherited from class gov.nasa.worldwind.examples.util.DialogAnnotation |
actionPerformed, addActionListener, fireActionPerformed, getActionListeners, getBusyImage, getCloseButton, isBusy, removeActionListener, setBusy, setupContainer, setupDefaultAttributes, setupLabel |
Methods inherited from class gov.nasa.worldwind.render.AbstractAnnotation |
addChild, adjustSizeToChildren, adjustSizeToText, applyBackgroundTextureState, applyBackgroundTextureTransform, applyScreenTransform, beginDraw, beginDrawChildren, bindPickableObject, computeFreeBounds, computeInsetBounds, computeOpacity, computeScale, computeTextBounds, dispose, doDraw, doDrawBackgroundTexture, doDrawChildren, draw, drawBackground, drawBackgroundImage, drawBorder, drawCallout, drawChildren, drawContent, drawHTML, drawPlainText, drawText, drawText, drawTopLevelAnnotation, endDraw, endDrawChildren, getAnnotationTexture, getAttributes, getCachedImage, getChildren, getDelegateOwner, getLayout, getMultiLineTextRenderer, getPickSupport, getPreferredSize, getText, getTextBounds, getTextRenderer, getWrappedText, glPointFromAWTPoint, isAlwaysOnTop, isPickEnabled, modulateColorOpacity, pick, removeAllChildren, removeChild, render, renderNow, setAlwaysOnTop, setAttributes, setCachedImage, setDelegateOwner, setDrawColor, setLayout, setPickEnabled, setPickSupport, setText, transformByModelview, wrapText |
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BACK_IMAGE_PATH
protected static final String BACK_IMAGE_PATH
- See Also:
- Constant Field Values
BACK_TOOLTIP_TEXT
protected static final String BACK_TOOLTIP_TEXT
- See Also:
- Constant Field Values
backButton
protected ButtonAnnotation backButton
length
protected long length
lengthLabel
protected Annotation lengthLabel
PAUSE_IMAGE_PATH
protected static final String PAUSE_IMAGE_PATH
- See Also:
- Constant Field Values
PAUSE_TOOLTIP_TEXT
protected static final String PAUSE_TOOLTIP_TEXT
- See Also:
- Constant Field Values
PLAY_IMAGE_PATH
protected static final String PLAY_IMAGE_PATH
- See Also:
- Constant Field Values
PLAY_TOOLTIP_TEXT
protected static final String PLAY_TOOLTIP_TEXT
- See Also:
- Constant Field Values
playButton
protected ButtonAnnotation playButton
position
protected long position
positionLabel
protected Annotation positionLabel
progress
protected ProgressAnnotation progress
titleLabel
protected Annotation titleLabel
AudioPlayerAnnotation
public AudioPlayerAnnotation(Position position)
formatAsMinutesSeconds
protected String formatAsMinutesSeconds(long millis)
formatTimeString
protected String formatTimeString(long millis)
getBackButton
public ButtonAnnotation getBackButton()
getClipLength
public long getClipLength()
getClipLengthLabel
public Annotation getClipLengthLabel()
getClipPosition
public long getClipPosition()
getClipPositionLabel
public Annotation getClipPositionLabel()
getClipProgressBar
public ProgressAnnotation getClipProgressBar()
getPlayButton
public ButtonAnnotation getPlayButton()
getTitleLabel
public Annotation getTitleLabel()
initComponents
protected void initComponents()
- Overrides:
initComponents
in class DialogAnnotation
layoutComponents
protected void layoutComponents()
- Overrides:
layoutComponents
in class DialogAnnotation
setClipLength
public void setClipLength(long length)
setClipPosition
public void setClipPosition(long position)
setPlayButtonState
public void setPlayButtonState(String state)
setupProgressBar
protected void setupProgressBar(ProgressAnnotation annotation)
setupTimeLabel
protected void setupTimeLabel(Annotation annotation)
setupTitle
protected void setupTitle(Annotation annotation)