NASA World Wind

gov.nasa.worldwind.examples.util
Class SlideShowAnnotation

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.render.AbstractAnnotation
          extended by gov.nasa.worldwind.render.GlobeAnnotation
              extended by gov.nasa.worldwind.examples.util.DialogAnnotation
                  extended by gov.nasa.worldwind.examples.util.SlideShowAnnotation
All Implemented Interfaces:
AVList, Disposable, Locatable, Movable, Pickable, Annotation, Renderable, Restorable, ActionListener, EventListener

public class SlideShowAnnotation
extends DialogAnnotation


Nested Class Summary
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.examples.util.DialogAnnotation
DialogAnnotation.BusyImage
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractAnnotation
AbstractAnnotation.TextCacheKey
 
Field Summary
protected static String BEGIN_IMAGE_PATH
           
protected static String BEGIN_TOOLTIP_TEXT
           
protected  ButtonAnnotation beginButton
           
protected static String BUSY_IMAGE_PATH
           
static String DECREASE
           
protected static String DECREASE_IMAGE_PATH
           
protected static String DECREASE_TOOLTIP_TEXT
           
protected static String END_IMAGE_PATH
           
protected static String END_TOOLTIP_TEXT
           
protected  ButtonAnnotation endButton
           
protected  ImageAnnotation imageAnnotation
           
static String INCREASE
           
protected static String INCREASE_IMAGE_PATH
           
protected static String INCREASE_TOOLTIP_TEXT
           
protected static String NEXT_IMAGE_PATH
           
protected static String NEXT_TOOLTIP_TEXT
           
protected  ButtonAnnotation nextButton
           
protected static String PAUSE_IMAGE_PATH
           
protected static String PAUSE_TOOLTIP_TEXT
           
protected static String PLAY_IMAGE_PATH
           
protected static String PLAY_TOOLTIP_TEXT
           
protected  ButtonAnnotation playButton
           
protected  Annotation positionLabel
           
protected static String PREVIOUS_IMAGE_PATH
           
protected static String PREVIOUS_TOOLTIP_TEXT
           
protected  ButtonAnnotation previousButton
           
protected  ButtonAnnotation sizeButton
           
protected  Annotation titleLabel
           
 
Fields inherited from class gov.nasa.worldwind.examples.util.DialogAnnotation
busy, busyImage, CLOSE_IMAGE_PATH, CLOSE_TOOLTIP_TEXT, closeButton, DEPRESSED_MASK_PATH, listenerList
 
Fields inherited from class gov.nasa.worldwind.render.AbstractAnnotation
attributes, childList, delegateOwner, layoutManager, text, textBoundsMap, wrappedTextMap
 
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl
changeSupport
 
Fields inherited from interface gov.nasa.worldwind.render.Annotation
ANTIALIAS_DONT_CARE, ANTIALIAS_FASTEST, ANTIALIAS_NICEST, IMAGE_REPEAT_NONE, IMAGE_REPEAT_X, IMAGE_REPEAT_XY, IMAGE_REPEAT_Y, SIZE_FIT_TEXT, SIZE_FIXED
 
Constructor Summary
SlideShowAnnotation(Position position)
           
 
Method Summary
 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(String state)
           
 void setSizeButtonState(String state)
           
protected  void setupImage(ImageAnnotation annotation)
           
protected  void setupPositionLabel(Annotation annotation)
           
protected  void setupTitle(Annotation annotation)
           
 
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.GlobeAnnotation
computeLookAtDistance, doRenderNow, getPosition, getReferencePosition, getRestorableState, move, moveTo, restoreState, setDepthFunc, setPosition
 
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
 

Field Detail

BEGIN_IMAGE_PATH

protected static final String BEGIN_IMAGE_PATH
See Also:
Constant Field Values

BEGIN_TOOLTIP_TEXT

protected static final String BEGIN_TOOLTIP_TEXT
See Also:
Constant Field Values

beginButton

protected ButtonAnnotation beginButton

BUSY_IMAGE_PATH

protected static final String BUSY_IMAGE_PATH
See Also:
Constant Field Values

DECREASE

public static final String DECREASE
See Also:
Constant Field Values

DECREASE_IMAGE_PATH

protected static final String DECREASE_IMAGE_PATH
See Also:
Constant Field Values

DECREASE_TOOLTIP_TEXT

protected static final String DECREASE_TOOLTIP_TEXT
See Also:
Constant Field Values

END_IMAGE_PATH

protected static final String END_IMAGE_PATH
See Also:
Constant Field Values

END_TOOLTIP_TEXT

protected static final String END_TOOLTIP_TEXT
See Also:
Constant Field Values

endButton

protected ButtonAnnotation endButton

imageAnnotation

protected ImageAnnotation imageAnnotation

INCREASE

public static final String INCREASE
See Also:
Constant Field Values

INCREASE_IMAGE_PATH

protected static final String INCREASE_IMAGE_PATH
See Also:
Constant Field Values

INCREASE_TOOLTIP_TEXT

protected static final String INCREASE_TOOLTIP_TEXT
See Also:
Constant Field Values

NEXT_IMAGE_PATH

protected static final String NEXT_IMAGE_PATH
See Also:
Constant Field Values

NEXT_TOOLTIP_TEXT

protected static final String NEXT_TOOLTIP_TEXT
See Also:
Constant Field Values

nextButton

protected ButtonAnnotation nextButton

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

positionLabel

protected Annotation positionLabel

PREVIOUS_IMAGE_PATH

protected static final String PREVIOUS_IMAGE_PATH
See Also:
Constant Field Values

PREVIOUS_TOOLTIP_TEXT

protected static final String PREVIOUS_TOOLTIP_TEXT
See Also:
Constant Field Values

previousButton

protected ButtonAnnotation previousButton

sizeButton

protected ButtonAnnotation sizeButton

titleLabel

protected Annotation titleLabel
Constructor Detail

SlideShowAnnotation

public SlideShowAnnotation(Position position)
Method Detail

getBeginButton

public ButtonAnnotation getBeginButton()

getEndButton

public ButtonAnnotation getEndButton()

getImageAnnotation

public ImageAnnotation getImageAnnotation()

getNextButton

public ButtonAnnotation getNextButton()

getPlayButton

public ButtonAnnotation getPlayButton()

getPositionLabel

public Annotation getPositionLabel()

getPreviousButton

public ButtonAnnotation getPreviousButton()

getSizeButton

public ButtonAnnotation getSizeButton()

getTitleLabel

public Annotation getTitleLabel()

initComponents

protected void initComponents()
Overrides:
initComponents in class DialogAnnotation

layoutComponents

protected void layoutComponents()
Overrides:
layoutComponents in class DialogAnnotation

setPlayButtonState

public void setPlayButtonState(String state)

setSizeButtonState

public void setSizeButtonState(String state)

setupImage

protected void setupImage(ImageAnnotation annotation)

setupPositionLabel

protected void setupPositionLabel(Annotation annotation)

setupTitle

protected void setupTitle(Annotation annotation)

NASA World Wind