NASA World Wind

gov.nasa.worldwind.examples.util
Class DialogAnnotation

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
All Implemented Interfaces:
AVList, Disposable, Locatable, Movable, Pickable, Annotation, Renderable, Restorable, ActionListener, EventListener
Direct Known Subclasses:
AudioPlayerAnnotation, SlideShowAnnotation

public abstract class DialogAnnotation
extends GlobeAnnotation
implements ActionListener


Nested Class Summary
protected static class DialogAnnotation.BusyImage
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractAnnotation
AbstractAnnotation.TextCacheKey
 
Field Summary
protected  boolean busy
           
protected static String BUSY_IMAGE_PATH
           
protected  ImageAnnotation busyImage
           
protected static String CLOSE_IMAGE_PATH
           
protected static String CLOSE_TOOLTIP_TEXT
           
protected  ButtonAnnotation closeButton
           
protected static String DEPRESSED_MASK_PATH
           
protected  EventListenerList 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
protected DialogAnnotation(Position position)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void addActionListener(ActionListener listener)
           
protected  void fireActionPerformed(ActionEvent e)
           
 ActionListener[] getActionListeners()
           
 ImageAnnotation getBusyImage()
           
 ButtonAnnotation getCloseButton()
           
protected  void initComponents()
           
 boolean isBusy()
           
protected  void layoutComponents()
           
 void removeActionListener(ActionListener listener)
           
 void setBusy(boolean busy)
           
protected  void setupContainer(Annotation annotation)
           
protected  void setupDefaultAttributes(AnnotationAttributes attributes)
           
protected  void setupLabel(Annotation annotation)
           
 
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

busy

protected boolean busy

BUSY_IMAGE_PATH

protected static final String BUSY_IMAGE_PATH
See Also:
Constant Field Values

busyImage

protected ImageAnnotation busyImage

CLOSE_IMAGE_PATH

protected static final String CLOSE_IMAGE_PATH
See Also:
Constant Field Values

CLOSE_TOOLTIP_TEXT

protected static final String CLOSE_TOOLTIP_TEXT
See Also:
Constant Field Values

closeButton

protected ButtonAnnotation closeButton

DEPRESSED_MASK_PATH

protected static final String DEPRESSED_MASK_PATH
See Also:
Constant Field Values

listenerList

protected EventListenerList listenerList
Constructor Detail

DialogAnnotation

protected DialogAnnotation(Position position)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

addActionListener

public void addActionListener(ActionListener listener)

fireActionPerformed

protected void fireActionPerformed(ActionEvent e)

getActionListeners

public ActionListener[] getActionListeners()

getBusyImage

public ImageAnnotation getBusyImage()

getCloseButton

public ButtonAnnotation getCloseButton()

initComponents

protected void initComponents()

isBusy

public boolean isBusy()

layoutComponents

protected void layoutComponents()

removeActionListener

public void removeActionListener(ActionListener listener)

setBusy

public void setBusy(boolean busy)

setupContainer

protected void setupContainer(Annotation annotation)

setupDefaultAttributes

protected void setupDefaultAttributes(AnnotationAttributes attributes)

setupLabel

protected void setupLabel(Annotation annotation)

NASA World Wind