NASA World Wind

gov.nasa.worldwind.examples.util
Class DialogAnnotation.BusyImage

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.render.AbstractAnnotation
          extended by gov.nasa.worldwind.render.ScreenAnnotation
              extended by gov.nasa.worldwind.examples.util.ImageAnnotation
                  extended by gov.nasa.worldwind.examples.util.DialogAnnotation.BusyImage
All Implemented Interfaces:
AVList, Disposable, Pickable, Annotation, Renderable, Restorable
Enclosing class:
DialogAnnotation

protected static class DialogAnnotation.BusyImage
extends ImageAnnotation


Nested Class Summary
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractAnnotation
AbstractAnnotation.TextCacheKey
 
Field Summary
protected  Angle angle
           
protected  Angle increment
           
protected  long lastFrameTime
           
 
Fields inherited from class gov.nasa.worldwind.examples.util.ImageAnnotation
enableSmoothing, fitSizeToImage, showToolTip, toolTipPoint, toolTipText, useImageAspectRatio, useMipmaps
 
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
DialogAnnotation.BusyImage(Object imageSource)
           
 
Method Summary
protected  Angle adjustAngleIncrement(DrawContext dc, Angle unitsPerSecond)
           
protected  void applyBackgroundTextureTransform(DrawContext dc, int width, int height, AnnotationTexture texture)
           
 void drawContent(DrawContext dc, int width, int height, double opacity, Position pickPosition)
           
 Angle getAngle()
           
 Angle getIncrement()
           
 void setAngle(Angle angle)
           
 void setIncrement(Angle angle)
           
protected  void updateState(DrawContext dc)
           
 
Methods inherited from class gov.nasa.worldwind.examples.util.ImageAnnotation
adjustTextureToSize, applyBackgroundTextureState, doDrawToolTip, drawToolTip, getImageDimensions, getImageDimensions, getImageSource, getPreferredSize, getToolTipPoint, getToolTipText, isEnableSmoothing, isFitSizeToImage, isShowToolTip, isUseImageAspectRatio, isUseMipmaps, setEnableSmoothing, setFitSizeToImage, setImageSource, setShowToolTip, setToolTipPoint, setToolTipText, setupAnnotationAttributes, setUseImageAspectRatio, setUseMipmaps
 
Methods inherited from class gov.nasa.worldwind.render.ScreenAnnotation
doRenderNow, getRestorableState, getScreenPoint, restoreState, setScreenPoint
 
Methods inherited from class gov.nasa.worldwind.render.AbstractAnnotation
addChild, adjustSizeToChildren, adjustSizeToText, applyScreenTransform, beginDraw, beginDrawChildren, bindPickableObject, computeFreeBounds, computeInsetBounds, computeOpacity, computeScale, computeTextBounds, dispose, doDraw, doDrawBackgroundTexture, doDrawChildren, draw, drawBackground, drawBackgroundImage, drawBorder, drawCallout, drawChildren, drawHTML, drawPlainText, drawText, drawText, drawTopLevelAnnotation, endDraw, endDrawChildren, getAnnotationTexture, getAttributes, getCachedImage, getChildren, getDelegateOwner, getLayout, getMultiLineTextRenderer, getPickSupport, 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

angle

protected Angle angle

increment

protected Angle increment

lastFrameTime

protected long lastFrameTime
Constructor Detail

DialogAnnotation.BusyImage

public DialogAnnotation.BusyImage(Object imageSource)
Method Detail

adjustAngleIncrement

protected Angle adjustAngleIncrement(DrawContext dc,
                                     Angle unitsPerSecond)

applyBackgroundTextureTransform

protected void applyBackgroundTextureTransform(DrawContext dc,
                                               int width,
                                               int height,
                                               AnnotationTexture texture)
Overrides:
applyBackgroundTextureTransform in class ImageAnnotation

drawContent

public void drawContent(DrawContext dc,
                        int width,
                        int height,
                        double opacity,
                        Position pickPosition)
Overrides:
drawContent in class ImageAnnotation

getAngle

public Angle getAngle()

getIncrement

public Angle getIncrement()

setAngle

public void setAngle(Angle angle)

setIncrement

public void setIncrement(Angle angle)

updateState

protected void updateState(DrawContext dc)

NASA World Wind