NASA World Wind

gov.nasa.worldwind.render
Class BasicShapeAttributes

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.WWObjectImpl
          extended by gov.nasa.worldwind.render.BasicShapeAttributes
All Implemented Interfaces:
AVList, ShapeAttributes, WWObject, PropertyChangeListener, EventListener

public class BasicShapeAttributes
extends WWObjectImpl
implements ShapeAttributes


Field Summary
protected  boolean drawInterior
           
protected  boolean drawOutline
           
protected  boolean enableAntialiasing
           
protected  Material interiorMaterial
           
protected  double interiorOpacity
           
protected  Material outlineMaterial
           
protected  double outlineOpacity
           
protected  double outlineWidth
           
 
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl
changeSupport
 
Constructor Summary
BasicShapeAttributes()
           
BasicShapeAttributes(ShapeAttributes attributes)
           
 
Method Summary
 boolean equals(Object o)
           
 double getInteriorImageScale()
           
 Object getInteriorImageSource()
           
 Material getInteriorMaterial()
           
 double getInteriorOpacity()
           
 Material getOutlineMaterial()
           
 double getOutlineOpacity()
           
 int getOutlineStippleFactor()
           
 short getOutlineStipplePattern()
           
 double getOutlineWidth()
           
 void getRestorableState(RestorableSupport rs, RestorableSupport.StateObject so)
           
 int hashCode()
           
 boolean isDrawInterior()
           
 boolean isDrawOutline()
           
 boolean isEnableAntialiasing()
           
 void restoreState(RestorableSupport rs, RestorableSupport.StateObject so)
           
 void setDrawInterior(boolean draw)
           
 void setDrawOutline(boolean draw)
           
 void setEnableAntialiasing(boolean enable)
           
 void setInteriorImageScale(double scale)
           
 void setInteriorImageSource(Object imageSource)
           
 void setInteriorMaterial(Material material)
           
 void setInteriorOpacity(double opacity)
           
 void setOutlineMaterial(Material material)
           
 void setOutlineOpacity(double opacity)
           
 void setOutlineStippleFactor(int factor)
           
 void setOutlineStipplePattern(short pattern)
           
 void setOutlineWidth(double width)
           
 
Methods inherited from class gov.nasa.worldwind.WWObjectImpl
propertyChange
 
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Field Detail

drawInterior

protected boolean drawInterior

drawOutline

protected boolean drawOutline

enableAntialiasing

protected boolean enableAntialiasing

interiorMaterial

protected Material interiorMaterial

interiorOpacity

protected double interiorOpacity

outlineMaterial

protected Material outlineMaterial

outlineOpacity

protected double outlineOpacity

outlineWidth

protected double outlineWidth
Constructor Detail

BasicShapeAttributes

public BasicShapeAttributes()

BasicShapeAttributes

public BasicShapeAttributes(ShapeAttributes attributes)
Method Detail

equals

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

getInteriorImageScale

public double getInteriorImageScale()
Specified by:
getInteriorImageScale in interface ShapeAttributes

getInteriorImageSource

public Object getInteriorImageSource()
Specified by:
getInteriorImageSource in interface ShapeAttributes

getInteriorMaterial

public Material getInteriorMaterial()
Specified by:
getInteriorMaterial in interface ShapeAttributes

getInteriorOpacity

public double getInteriorOpacity()
Specified by:
getInteriorOpacity in interface ShapeAttributes

getOutlineMaterial

public Material getOutlineMaterial()
Specified by:
getOutlineMaterial in interface ShapeAttributes

getOutlineOpacity

public double getOutlineOpacity()
Specified by:
getOutlineOpacity in interface ShapeAttributes

getOutlineStippleFactor

public int getOutlineStippleFactor()
Specified by:
getOutlineStippleFactor in interface ShapeAttributes

getOutlineStipplePattern

public short getOutlineStipplePattern()
Specified by:
getOutlineStipplePattern in interface ShapeAttributes

getOutlineWidth

public double getOutlineWidth()
Specified by:
getOutlineWidth in interface ShapeAttributes

getRestorableState

public void getRestorableState(RestorableSupport rs,
                               RestorableSupport.StateObject so)
Specified by:
getRestorableState in interface ShapeAttributes

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isDrawInterior

public boolean isDrawInterior()
Specified by:
isDrawInterior in interface ShapeAttributes

isDrawOutline

public boolean isDrawOutline()
Specified by:
isDrawOutline in interface ShapeAttributes

isEnableAntialiasing

public boolean isEnableAntialiasing()
Specified by:
isEnableAntialiasing in interface ShapeAttributes

restoreState

public void restoreState(RestorableSupport rs,
                         RestorableSupport.StateObject so)
Specified by:
restoreState in interface ShapeAttributes

setDrawInterior

public void setDrawInterior(boolean draw)
Specified by:
setDrawInterior in interface ShapeAttributes

setDrawOutline

public void setDrawOutline(boolean draw)
Specified by:
setDrawOutline in interface ShapeAttributes

setEnableAntialiasing

public void setEnableAntialiasing(boolean enable)
Specified by:
setEnableAntialiasing in interface ShapeAttributes

setInteriorImageScale

public void setInteriorImageScale(double scale)
Specified by:
setInteriorImageScale in interface ShapeAttributes

setInteriorImageSource

public void setInteriorImageSource(Object imageSource)
Specified by:
setInteriorImageSource in interface ShapeAttributes

setInteriorMaterial

public void setInteriorMaterial(Material material)
Specified by:
setInteriorMaterial in interface ShapeAttributes

setInteriorOpacity

public void setInteriorOpacity(double opacity)
Specified by:
setInteriorOpacity in interface ShapeAttributes

setOutlineMaterial

public void setOutlineMaterial(Material material)
Specified by:
setOutlineMaterial in interface ShapeAttributes

setOutlineOpacity

public void setOutlineOpacity(double opacity)
Specified by:
setOutlineOpacity in interface ShapeAttributes

setOutlineStippleFactor

public void setOutlineStippleFactor(int factor)
Specified by:
setOutlineStippleFactor in interface ShapeAttributes

setOutlineStipplePattern

public void setOutlineStipplePattern(short pattern)
Specified by:
setOutlineStipplePattern in interface ShapeAttributes

setOutlineWidth

public void setOutlineWidth(double width)
Specified by:
setOutlineWidth in interface ShapeAttributes

NASA World Wind

Hosted by docs.bugaco.com