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.String
BEGIN_IMAGE_PATH
protected static java.lang.String
BEGIN_TOOLTIP_TEXT
protected ButtonAnnotation
beginButton
protected static java.lang.String
BUSY_IMAGE_PATH
static java.lang.String
DECREASE
protected static java.lang.String
DECREASE_IMAGE_PATH
protected static java.lang.String
DECREASE_TOOLTIP_TEXT
protected static java.lang.String
END_IMAGE_PATH
protected static java.lang.String
END_TOOLTIP_TEXT
protected ButtonAnnotation
endButton
protected ImageAnnotation
imageAnnotation
static java.lang.String
INCREASE
protected static java.lang.String
INCREASE_IMAGE_PATH
protected static java.lang.String
INCREASE_TOOLTIP_TEXT
protected static java.lang.String
NEXT_IMAGE_PATH
protected static java.lang.String
NEXT_TOOLTIP_TEXT
protected ButtonAnnotation
nextButton
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 Annotation
positionLabel
protected static java.lang.String
PREVIOUS_IMAGE_PATH
protected static java.lang.String
PREVIOUS_TOOLTIP_TEXT
protected ButtonAnnotation
previousButton
protected ButtonAnnotation
sizeButton
protected Annotation
titleLabel
-
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 ButtonAnnotation
getBeginButton()
ButtonAnnotation
getEndButton()
ImageAnnotation
getImageAnnotation()
ButtonAnnotation
getNextButton()
ButtonAnnotation
getPlayButton()
Annotation
getPositionLabel()
ButtonAnnotation
getPreviousButton()
ButtonAnnotation
getSizeButton()
Annotation
getTitleLabel()
protected void
initComponents()
protected void
layoutComponents()
void
setPlayButtonState(java.lang.String state)
void
setSizeButtonState(java.lang.String state)
protected void
setupImage(ImageAnnotation annotation)
protected void
setupPositionLabel(Annotation annotation)
protected void
setupTitle(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:
initComponents
in classDialogAnnotation
-
layoutComponents
protected void layoutComponents()
- Overrides:
layoutComponents
in classDialogAnnotation
-
setupTitle
protected void setupTitle(Annotation annotation)
-
setupPositionLabel
protected void setupPositionLabel(Annotation annotation)
-
setupImage
protected void setupImage(ImageAnnotation annotation)
-
-