NASA World Wind

gov.nasa.worldwind.render
Class ScreenCreditImage

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.render.ScreenImage
          extended by gov.nasa.worldwind.render.ScreenCreditImage
All Implemented Interfaces:
AVList, Exportable, Renderable, ScreenCredit

public class ScreenCreditImage
extends ScreenImage
implements ScreenCredit


Nested Class Summary
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.ScreenImage
ScreenImage.OrderedImage
 
Field Summary
 
Fields inherited from class gov.nasa.worldwind.render.ScreenImage
awtScreenLocation, color, dx, dy, frameNumber, height, imageOffset, imageSource, opacity, orderedImage, originalImageHeight, originalImageWidth, pickLayer, pickSupport, rotation, rotationOffset, rotationPoint, screenLocation, screenOffset, size, texture, width
 
Fields inherited from interface gov.nasa.worldwind.Exportable
FORMAT_NOT_SUPPORTED, FORMAT_PARTIALLY_SUPPORTED, FORMAT_SUPPORTED
 
Constructor Summary
ScreenCreditImage(String name, Object imageSource)
           
 
Method Summary
 boolean equals(Object o)
           
 int getImageHeight(DrawContext dc)
          Returns the height of the image after dynamic scaling has been applied.
 int getImageWidth(DrawContext dc)
          Returns the width of the source image after dynamic scaling has been applied.
 String getLink()
           
 String getName()
           
 Rectangle getViewport()
           
 int hashCode()
           
 void setLink(String link)
           
 void setName(String name)
           
 void setViewport(Rectangle viewport)
           
 
Methods inherited from class gov.nasa.worldwind.render.ScreenImage
computeOffsets, doRender, draw, export, exportAsKML, getColor, getImageOffset, getImageSource, getOpacity, getRotation, getRotationOffset, getScreenLocation, getScreenLocation, getScreenOffset, getSize, getTexture, initializeTexture, isExportFormatSupported, pick, render, setColor, setImageOffset, setImageSource, setOpacity, setRotation, setRotationOffset, setScreenLocation, setScreenOffset, setSize
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.nasa.worldwind.render.ScreenCredit
getOpacity, pick, setOpacity
 
Methods inherited from interface gov.nasa.worldwind.render.Renderable
render
 

Constructor Detail

ScreenCreditImage

public ScreenCreditImage(String name,
                         Object imageSource)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getImageHeight

public int getImageHeight(DrawContext dc)
Description copied from class: ScreenImage
Returns the height of the image after dynamic scaling has been applied. If no image has been specified, but a dimension has been specified, the height of the dimension is returned.

Overrides:
getImageHeight in class ScreenImage
Parameters:
dc - the current draw context.
Returns:
the source image height after scaling.
See Also:
ScreenImage.getSize()

getImageWidth

public int getImageWidth(DrawContext dc)
Description copied from class: ScreenImage
Returns the width of the source image after dynamic scaling has been applied. If no image has been specified, but a dimension has been specified, the width of the dimension is returned.

Overrides:
getImageWidth in class ScreenImage
Parameters:
dc - the current draw context.
Returns:
the source image width after scaling.
See Also:
ScreenImage.getSize()

getLink

public String getLink()
Specified by:
getLink in interface ScreenCredit

getName

public String getName()

getViewport

public Rectangle getViewport()
Specified by:
getViewport in interface ScreenCredit

hashCode

public int hashCode()
Overrides:
hashCode in class Object

setLink

public void setLink(String link)
Specified by:
setLink in interface ScreenCredit

setName

public void setName(String name)

setViewport

public void setViewport(Rectangle viewport)
Specified by:
setViewport in interface ScreenCredit

NASA World Wind