org.jzy3d.global
Class Settings

java.lang.Object
  extended by org.jzy3d.global.Settings

public class Settings
extends Object

Settings is a singleton that holds general settings that configure Imaging classes instantiation.


Method Summary
 javax.media.opengl.GLCapabilities getGLCapabilities()
          Returns a copy of the current GL2 capabilities.
static Settings getInstance()
          Return the single allowed instance of Settings.
 boolean isHardwareAccelerated()
          Returns true if hardware acceleration is used for 3d graphics.
 void setHardwareAccelerated(boolean hardwareAccelerated)
          Modifies the acceleration status for all ICanvas.Canvas instantiations.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static Settings getInstance()
Return the single allowed instance of Settings.


setHardwareAccelerated

public void setHardwareAccelerated(boolean hardwareAccelerated)
Modifies the acceleration status for all ICanvas.Canvas instantiations. This doesn't modify the status of canvases that have allready been instantiated.


isHardwareAccelerated

public boolean isHardwareAccelerated()
Returns true if hardware acceleration is used for 3d graphics.


getGLCapabilities

public javax.media.opengl.GLCapabilities getGLCapabilities()
Returns a copy of the current GL2 capabilities.


toString

public String toString()
Overrides:
toString in class Object