org.jbox2d.testbed.framework
Class TestbedSetting

java.lang.Object
  extended by org.jbox2d.testbed.framework.TestbedSetting

public class TestbedSetting
extends java.lang.Object

Defines a setting used in the testbed.

Author:
Daniel Murphy

Nested Class Summary
static class TestbedSetting.ConstraintType
          The type of value this setting pertains to
static class TestbedSetting.SettingType
          Whether the setting effects the engine's behavior or modifies drawing.
 
Field Summary
 TestbedSetting.ConstraintType constraintType
           
 boolean enabled
           
 int max
           
 int min
           
 java.lang.String name
           
 TestbedSetting.SettingType settingsType
           
 int value
           
 
Constructor Summary
TestbedSetting(java.lang.String argName, TestbedSetting.SettingType argType, boolean argValue)
           
TestbedSetting(java.lang.String argName, TestbedSetting.SettingType argType, int argValue, int argMinimum, int argMaximum)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final java.lang.String name

settingsType

public final TestbedSetting.SettingType settingsType

constraintType

public final TestbedSetting.ConstraintType constraintType

enabled

public boolean enabled

value

public int value

min

public final int min

max

public final int max
Constructor Detail

TestbedSetting

public TestbedSetting(java.lang.String argName,
                      TestbedSetting.SettingType argType,
                      boolean argValue)

TestbedSetting

public TestbedSetting(java.lang.String argName,
                      TestbedSetting.SettingType argType,
                      int argValue,
                      int argMinimum,
                      int argMaximum)


Copyright © 2013. All Rights Reserved.