Class SlideShowAnnotation
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.render.AbstractAnnotation
-
- gov.nasa.worldwind.render.GlobeAnnotation
-
- gov.nasa.worldwindx.examples.util.DialogAnnotation
-
- gov.nasa.worldwindx.examples.util.SlideShowAnnotation
-
- All Implemented Interfaces:
AVList,Disposable,Draggable,Locatable,Movable,Annotation,Renderable,Restorable,java.awt.event.ActionListener,java.util.EventListener
public class SlideShowAnnotation extends DialogAnnotation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.util.DialogAnnotation
DialogAnnotation.BusyImage
-
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractAnnotation
AbstractAnnotation.TextCacheKey
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringBEGIN_IMAGE_PATHprotected static java.lang.StringBEGIN_TOOLTIP_TEXTprotected ButtonAnnotationbeginButtonprotected static java.lang.StringBUSY_IMAGE_PATHstatic java.lang.StringDECREASEprotected static java.lang.StringDECREASE_IMAGE_PATHprotected static java.lang.StringDECREASE_TOOLTIP_TEXTprotected static java.lang.StringEND_IMAGE_PATHprotected static java.lang.StringEND_TOOLTIP_TEXTprotected ButtonAnnotationendButtonprotected ImageAnnotationimageAnnotationstatic java.lang.StringINCREASEprotected static java.lang.StringINCREASE_IMAGE_PATHprotected static java.lang.StringINCREASE_TOOLTIP_TEXTprotected static java.lang.StringNEXT_IMAGE_PATHprotected static java.lang.StringNEXT_TOOLTIP_TEXTprotected ButtonAnnotationnextButtonprotected static java.lang.StringPAUSE_IMAGE_PATHprotected static java.lang.StringPAUSE_TOOLTIP_TEXTprotected static java.lang.StringPLAY_IMAGE_PATHprotected static java.lang.StringPLAY_TOOLTIP_TEXTprotected ButtonAnnotationplayButtonprotected AnnotationpositionLabelprotected static java.lang.StringPREVIOUS_IMAGE_PATHprotected static java.lang.StringPREVIOUS_TOOLTIP_TEXTprotected ButtonAnnotationpreviousButtonprotected ButtonAnnotationsizeButtonprotected AnnotationtitleLabel-
Fields inherited from class gov.nasa.worldwindx.examples.util.DialogAnnotation
busy, busyImage, CLOSE_IMAGE_PATH, CLOSE_TOOLTIP_TEXT, closeButton, DEPRESSED_MASK_PATH, listenerList
-
Fields inherited from class gov.nasa.worldwind.render.GlobeAnnotation
altitudeMode, dragEnabled, draggableSupport, heightInMeter, position
-
Fields inherited from class gov.nasa.worldwind.render.AbstractAnnotation
alwaysOnTop, attributes, childList, delegateOwner, layoutManager, maxActiveAltitude, minActiveAltitude, pickEnabled, pickSupport, text, textBoundsMap, vertexBuffer, wrappedTextMap
-
Fields inherited from interface gov.nasa.worldwind.render.Annotation
ANTIALIAS_DONT_CARE, ANTIALIAS_FASTEST, ANTIALIAS_NICEST
-
-
Constructor Summary
Constructors Constructor Description SlideShowAnnotation(Position position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ButtonAnnotationgetBeginButton()ButtonAnnotationgetEndButton()ImageAnnotationgetImageAnnotation()ButtonAnnotationgetNextButton()ButtonAnnotationgetPlayButton()AnnotationgetPositionLabel()ButtonAnnotationgetPreviousButton()ButtonAnnotationgetSizeButton()AnnotationgetTitleLabel()protected voidinitComponents()protected voidlayoutComponents()voidsetPlayButtonState(java.lang.String state)voidsetSizeButtonState(java.lang.String state)protected voidsetupImage(ImageAnnotation annotation)protected voidsetupPositionLabel(Annotation annotation)protected voidsetupTitle(Annotation annotation)-
Methods inherited from class gov.nasa.worldwindx.examples.util.DialogAnnotation
actionPerformed, addActionListener, fireActionPerformed, getActionListeners, getBusyImage, getCloseButton, isBusy, removeActionListener, setBusy, setupContainer, setupDefaultAttributes, setupLabel
-
Methods inherited from class gov.nasa.worldwind.render.GlobeAnnotation
computeBounds, computeDistanceScaleAndOpacity, computeLookAtDistance, doDrag, doRenderNow, drag, getAltitudeMode, getAnnotationDrawPoint, getAnnotationDrawPointLegacy, getHeightInMeter, getPosition, getReferencePosition, getRestorableState, isDragEnabled, move, moveTo, restoreState, setAltitudeMode, setDepthFunc, setDragEnabled, setHeightInMeter, setPosition
-
Methods inherited from class gov.nasa.worldwind.render.AbstractAnnotation
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
-
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
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
-
-
-
-
Field Detail
-
INCREASE
public static final java.lang.String INCREASE
- See Also:
- Constant Field Values
-
DECREASE
public static final java.lang.String DECREASE
- See Also:
- Constant Field Values
-
PLAY_IMAGE_PATH
protected static final java.lang.String PLAY_IMAGE_PATH
- See Also:
- Constant Field Values
-
PAUSE_IMAGE_PATH
protected static final java.lang.String PAUSE_IMAGE_PATH
- See Also:
- Constant Field Values
-
PREVIOUS_IMAGE_PATH
protected static final java.lang.String PREVIOUS_IMAGE_PATH
- See Also:
- Constant Field Values
-
NEXT_IMAGE_PATH
protected static final java.lang.String NEXT_IMAGE_PATH
- See Also:
- Constant Field Values
-
BEGIN_IMAGE_PATH
protected static final java.lang.String BEGIN_IMAGE_PATH
- See Also:
- Constant Field Values
-
END_IMAGE_PATH
protected static final java.lang.String END_IMAGE_PATH
- See Also:
- Constant Field Values
-
INCREASE_IMAGE_PATH
protected static final java.lang.String INCREASE_IMAGE_PATH
- See Also:
- Constant Field Values
-
DECREASE_IMAGE_PATH
protected static final java.lang.String DECREASE_IMAGE_PATH
- See Also:
- Constant Field Values
-
BUSY_IMAGE_PATH
protected static final java.lang.String BUSY_IMAGE_PATH
- See Also:
- Constant Field Values
-
PLAY_TOOLTIP_TEXT
protected static final java.lang.String PLAY_TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
PAUSE_TOOLTIP_TEXT
protected static final java.lang.String PAUSE_TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
PREVIOUS_TOOLTIP_TEXT
protected static final java.lang.String PREVIOUS_TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
NEXT_TOOLTIP_TEXT
protected static final java.lang.String NEXT_TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
BEGIN_TOOLTIP_TEXT
protected static final java.lang.String BEGIN_TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
END_TOOLTIP_TEXT
protected static final java.lang.String END_TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
INCREASE_TOOLTIP_TEXT
protected static final java.lang.String INCREASE_TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
DECREASE_TOOLTIP_TEXT
protected static final java.lang.String DECREASE_TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
titleLabel
protected Annotation titleLabel
-
positionLabel
protected Annotation positionLabel
-
imageAnnotation
protected ImageAnnotation imageAnnotation
-
playButton
protected ButtonAnnotation playButton
-
previousButton
protected ButtonAnnotation previousButton
-
nextButton
protected ButtonAnnotation nextButton
-
beginButton
protected ButtonAnnotation beginButton
-
endButton
protected ButtonAnnotation endButton
-
sizeButton
protected ButtonAnnotation sizeButton
-
-
Constructor Detail
-
SlideShowAnnotation
public SlideShowAnnotation(Position position)
-
-
Method Detail
-
getTitleLabel
public Annotation getTitleLabel()
-
getPositionLabel
public Annotation getPositionLabel()
-
getImageAnnotation
public ImageAnnotation getImageAnnotation()
-
getPlayButton
public ButtonAnnotation getPlayButton()
-
getPreviousButton
public ButtonAnnotation getPreviousButton()
-
getNextButton
public ButtonAnnotation getNextButton()
-
getBeginButton
public ButtonAnnotation getBeginButton()
-
getEndButton
public ButtonAnnotation getEndButton()
-
getSizeButton
public ButtonAnnotation getSizeButton()
-
setPlayButtonState
public void setPlayButtonState(java.lang.String state)
-
setSizeButtonState
public void setSizeButtonState(java.lang.String state)
-
initComponents
protected void initComponents()
- Overrides:
initComponentsin classDialogAnnotation
-
layoutComponents
protected void layoutComponents()
- Overrides:
layoutComponentsin classDialogAnnotation
-
setupTitle
protected void setupTitle(Annotation annotation)
-
setupPositionLabel
protected void setupPositionLabel(Annotation annotation)
-
setupImage
protected void setupImage(ImageAnnotation annotation)
-
-