Class TestbedModel
java.lang.Object
org.jbox2d.testbed.framework.TestbedModel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCategory(String argName) voidaddTest(TestbedTest argTest) voidaddTestChangeListener(TestbedModel.TestChangedListener argListener) voidfloatboolean[]Gets the array of coded keys, index corresponding to the coded key value.intboolean[]getKeys()Gets the array of keys, index corresponding to the char value.getMouse()floatgetTestAt(int argIndex) intbooleanisTestAt(int argIndex) voidremoveTestChangeListener(TestbedModel.TestChangedListener argListener) voidsetCalculatedFps(float calculatedFps) voidsetCurrTestIndex(int argCurrTestIndex) voidsetDebugDraw(DebugDraw argDraw) voidvoidsetPanelWidth(float panelWidth) voidsetRunningTest(TestbedTest runningTest)
-
Constructor Details
-
TestbedModel
public TestbedModel()
-
-
Method Details
-
setCalculatedFps
public void setCalculatedFps(float calculatedFps) -
getCalculatedFps
public float getCalculatedFps() -
setPanelWidth
public void setPanelWidth(float panelWidth) -
getPanelWidth
public float getPanelWidth() -
setDebugDraw
-
getDebugDraw
-
getCurrTest
-
getMouse
-
setMouse
-
getKeys
public boolean[] getKeys()Gets the array of keys, index corresponding to the char value.- Returns:
-
getCodedKeys
public boolean[] getCodedKeys()Gets the array of coded keys, index corresponding to the coded key value.- Returns:
-
setCurrTestIndex
public void setCurrTestIndex(int argCurrTestIndex) -
getCurrTestIndex
public int getCurrTestIndex() -
setRunningTest
-
getRunningTest
-
addTestChangeListener
-
removeTestChangeListener
-
addTest
-
addCategory
-
getTestAt
-
isTestAt
public boolean isTestAt(int argIndex) -
clearTestList
public void clearTestList() -
getTestsSize
public int getTestsSize() -
getComboModel
-
getSettings
-