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)
           
 Material getInteriorMaterial()
           
 double getInteriorOpacity()
           
 Material getOutlineMaterial()
           
 double getOutlineOpacity()
           
 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 setInteriorMaterial(Material material)
           
 void setInteriorOpacity(double opacity)
           
 void setOutlineMaterial(Material material)
           
 void setOutlineOpacity(double opacity)
           
 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

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

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

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

setOutlineWidth

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

NASA World Wind