public class AudioPlayerAnnotation extends DialogAnnotation
DialogAnnotation.BusyImage
AbstractAnnotation.TextCacheKey
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
BACK_IMAGE_PATH |
protected static java.lang.String |
BACK_TOOLTIP_TEXT |
protected ButtonAnnotation |
backButton |
protected long |
length |
protected Annotation |
lengthLabel |
protected static java.lang.String |
PAUSE_IMAGE_PATH |
protected static java.lang.String |
PAUSE_TOOLTIP_TEXT |
protected static java.lang.String |
PLAY_IMAGE_PATH |
protected static java.lang.String |
PLAY_TOOLTIP_TEXT |
protected ButtonAnnotation |
playButton |
protected long |
position |
protected Annotation |
positionLabel |
protected ProgressAnnotation |
progress |
protected Annotation |
titleLabel |
busy, BUSY_IMAGE_PATH, busyImage, CLOSE_IMAGE_PATH, CLOSE_TOOLTIP_TEXT, closeButton, DEPRESSED_MASK_PATH, listenerList
altitudeMode, dragEnabled, draggableSupport, heightInMeter
alwaysOnTop, attributes, childList, delegateOwner, layoutManager, maxActiveAltitude, minActiveAltitude, pickEnabled, pickSupport, text, textBoundsMap, vertexBuffer, wrappedTextMap
ANTIALIAS_DONT_CARE, ANTIALIAS_FASTEST, ANTIALIAS_NICEST
Constructor and Description |
---|
AudioPlayerAnnotation(Position position) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
formatAsMinutesSeconds(long millis) |
protected java.lang.String |
formatTimeString(long millis) |
ButtonAnnotation |
getBackButton() |
long |
getClipLength() |
Annotation |
getClipLengthLabel() |
long |
getClipPosition() |
Annotation |
getClipPositionLabel() |
ProgressAnnotation |
getClipProgressBar() |
ButtonAnnotation |
getPlayButton() |
Annotation |
getTitleLabel() |
protected void |
initComponents() |
protected void |
layoutComponents() |
void |
setClipLength(long length) |
void |
setClipPosition(long position) |
void |
setPlayButtonState(java.lang.String state) |
protected void |
setupProgressBar(ProgressAnnotation annotation) |
protected void |
setupTimeLabel(Annotation annotation) |
protected void |
setupTitle(Annotation annotation) |
actionPerformed, addActionListener, fireActionPerformed, getActionListeners, getBusyImage, getCloseButton, isBusy, removeActionListener, setBusy, setupContainer, setupDefaultAttributes, setupLabel
computeBounds, computeDistanceScaleAndOpacity, computeLookAtDistance, doDrag, doRenderNow, drag, getAltitudeMode, getAnnotationDrawPoint, getAnnotationDrawPointLegacy, getHeightInMeter, getPosition, getReferencePosition, getRestorableState, isDragEnabled, move, moveTo, restoreState, setAltitudeMode, setDepthFunc, setDragEnabled, setHeightInMeter, setPosition
addChild, adjustSizeToChildren, adjustSizeToText, applyBackgroundTextureState, applyColor, applyScreenTransform, beginDraw, beginDrawChildren, bindPickableObject, computeBoundingRectangle, computeFreeBounds, computeInsetBounds, computeOpacity, computeScale, computeTextBounds, dispose, doDraw, doDrawBackgroundTexture, doDrawChildren, draw, drawBackground, drawBackgroundImage, drawBorder, drawCallout, drawChildren, drawContent, drawHTML, drawPlainText, drawText, drawText, drawTopLevelAnnotation, endDraw, endDrawChildren, getAttributes, getBounds, getChildren, getDelegateOwner, getLayout, getMaxActiveAltitude, getMinActiveAltitude, getMultiLineTextRenderer, getPickSupport, getPreferredSize, getText, getTextBounds, getTextRenderer, getWrappedText, glPointFromAWTPoint, isAlwaysOnTop, isPickEnabled, modulateColorOpacity, pick, removeAllChildren, removeChild, render, renderNow, setAlwaysOnTop, setAttributes, setDelegateOwner, setLayout, setMaxActiveAltitude, setMinActiveAltitude, setPickEnabled, setPickSupport, setText, transformBackgroundImageCoordsToAnnotationCoords, transformByModelview, transformImageCoordsToBackgroundImageCoords, wrapText
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
protected static final java.lang.String BACK_IMAGE_PATH
protected static final java.lang.String BACK_TOOLTIP_TEXT
protected ButtonAnnotation backButton
protected long length
protected Annotation lengthLabel
protected static final java.lang.String PAUSE_IMAGE_PATH
protected static final java.lang.String PAUSE_TOOLTIP_TEXT
protected static final java.lang.String PLAY_IMAGE_PATH
protected static final java.lang.String PLAY_TOOLTIP_TEXT
protected ButtonAnnotation playButton
protected long position
protected Annotation positionLabel
protected ProgressAnnotation progress
protected Annotation titleLabel
public AudioPlayerAnnotation(Position position)
protected java.lang.String formatAsMinutesSeconds(long millis)
protected java.lang.String formatTimeString(long millis)
public ButtonAnnotation getBackButton()
public long getClipLength()
public Annotation getClipLengthLabel()
public long getClipPosition()
public Annotation getClipPositionLabel()
public ProgressAnnotation getClipProgressBar()
public ButtonAnnotation getPlayButton()
public Annotation getTitleLabel()
protected void initComponents()
initComponents
in class DialogAnnotation
protected void layoutComponents()
layoutComponents
in class DialogAnnotation
public void setClipLength(long length)
public void setClipPosition(long position)
public void setPlayButtonState(java.lang.String state)
protected void setupProgressBar(ProgressAnnotation annotation)
protected void setupTimeLabel(Annotation annotation)
protected void setupTitle(Annotation annotation)