plugins.big.bigsnake3d.core
Class Settings

java.lang.Object
  extended by plugins.big.bigsnake3d.core.Settings

public class Settings
extends java.lang.Object

Offers global parameters (settings) and functions used by the plug-in. Settings makes use of the Singleton design pattern: There's at most one instance present, which can only be accessed through getInstance().

Version:
February 11, 2015
Author:
Ricard Delgado-Gonzalo (ricard.delgado@gmail.com)

Nested Class Summary
static class Settings.MeshResolution
           
 
Field Summary
static boolean DEBUG
          Set to true to enable DEBUG mode
static int DEPTH_TRANSPARENCY_DEFAULT
           
static Settings.MeshResolution MESH_RESOLUTION_DEFAULT
           
static boolean REFRESH_SCREEN_DEFAULT
           
static int STROKE_THICKNESS_DEFAULT
           
 
Constructor Summary
Settings()
           
 
Method Summary
 java.lang.String getAppName()
          Returns the name of the plug-in.
 java.lang.String getAppVersion()
          Returns the version of the plug-in.
 java.lang.String getIcyRequiredVersion()
          Returns the minimum version of ICY in which the plug-in works properly.
static Settings getInstance()
          Get Settings instance
 void setWindowIcon(icy.gui.frame.IcyFrame icyFrame)
          Set the window icon.
 void setWindowIcon(javax.swing.JDialog dialog)
          Set the window icon.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
Set to true to enable DEBUG mode

See Also:
Constant Field Values

MESH_RESOLUTION_DEFAULT

public static final Settings.MeshResolution MESH_RESOLUTION_DEFAULT

STROKE_THICKNESS_DEFAULT

public static final int STROKE_THICKNESS_DEFAULT
See Also:
Constant Field Values

DEPTH_TRANSPARENCY_DEFAULT

public static final int DEPTH_TRANSPARENCY_DEFAULT
See Also:
Constant Field Values

REFRESH_SCREEN_DEFAULT

public static final boolean REFRESH_SCREEN_DEFAULT
See Also:
Constant Field Values
Constructor Detail

Settings

public Settings()
Method Detail

getInstance

public static Settings getInstance()
Get Settings instance


setWindowIcon

public void setWindowIcon(javax.swing.JDialog dialog)
Set the window icon.


setWindowIcon

public void setWindowIcon(icy.gui.frame.IcyFrame icyFrame)
Set the window icon.


getAppName

public java.lang.String getAppName()
Returns the name of the plug-in.


getAppVersion

public java.lang.String getAppVersion()
Returns the version of the plug-in.


getIcyRequiredVersion

public java.lang.String getIcyRequiredVersion()
Returns the minimum version of ICY in which the plug-in works properly.