org.opensourcephysics.display3d.simple3d
Class Style

java.lang.Object
  extended by org.opensourcephysics.display3d.simple3d.Style
All Implemented Interfaces:
Style

public class Style
extends java.lang.Object
implements Style


Nested Class Summary
protected static class Style.StyleLoader
           
 
Nested classes/interfaces inherited from interface org.opensourcephysics.display3d.core.Style
Style.Loader
 
Method Summary
 double getDepthFactor()
           
 java.awt.Color getFillColor()
           
 java.awt.Color getLineColor()
           
 float getLineWidth()
           
static XML.ObjectLoader getLoader()
           
 Resolution getResolution()
           
 boolean isDrawingFill()
           
 boolean isDrawingLines()
           
 void setDepthFactor(double factor)
           
 void setDrawingFill(boolean _drawsFill)
           
 void setDrawingLines(boolean _drawsLines)
           
 void setFillColor(java.awt.Color _color)
           
 void setLineColor(java.awt.Color _color)
           
 void setLineWidth(float _width)
           
 void setResolution(Resolution _res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setLineColor

public void setLineColor(java.awt.Color _color)
Specified by:
setLineColor in interface Style

getLineColor

public final java.awt.Color getLineColor()
Specified by:
getLineColor in interface Style

setLineWidth

public void setLineWidth(float _width)
Specified by:
setLineWidth in interface Style

getLineWidth

public final float getLineWidth()
Specified by:
getLineWidth in interface Style

setFillColor

public void setFillColor(java.awt.Color _color)
Specified by:
setFillColor in interface Style

getFillColor

public final java.awt.Color getFillColor()
Specified by:
getFillColor in interface Style

setResolution

public void setResolution(Resolution _res)
Specified by:
setResolution in interface Style

getResolution

public final Resolution getResolution()
Specified by:
getResolution in interface Style

isDrawingFill

public boolean isDrawingFill()
Specified by:
isDrawingFill in interface Style

setDrawingFill

public void setDrawingFill(boolean _drawsFill)
Specified by:
setDrawingFill in interface Style

isDrawingLines

public boolean isDrawingLines()
Specified by:
isDrawingLines in interface Style

setDrawingLines

public void setDrawingLines(boolean _drawsLines)
Specified by:
setDrawingLines in interface Style

setDepthFactor

public void setDepthFactor(double factor)
Specified by:
setDepthFactor in interface Style

getDepthFactor

public double getDepthFactor()
Specified by:
getDepthFactor in interface Style

getLoader

public static XML.ObjectLoader getLoader()