public class TestbedModel
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
TestbedModel.ListItem |
static interface |
TestbedModel.TestChangedListener |
Constructor and Description |
---|
TestbedModel() |
Modifier and Type | Method and Description |
---|---|
void |
addCategory(java.lang.String argName) |
void |
addTest(TestbedTest argTest) |
void |
addTestChangeListener(TestbedModel.TestChangedListener argListener) |
void |
clearTestList() |
float |
getCalculatedFps() |
boolean[] |
getCodedKeys()
Gets the array of coded keys, index corresponding to the coded key value.
|
javax.swing.DefaultComboBoxModel<TestbedModel.ListItem> |
getComboModel() |
TestbedTest |
getCurrTest() |
int |
getCurrTestIndex() |
org.jbox2d.callbacks.DebugDraw |
getDebugDraw() |
boolean[] |
getKeys()
Gets the array of keys, index corresponding to the char value.
|
org.jbox2d.common.Vec2 |
getMouse() |
float |
getPanelWidth() |
TestbedSettings |
getSettings() |
TestbedTest |
getTestAt(int argIndex) |
int |
getTestsSize() |
boolean |
isTestAt(int argIndex) |
void |
removeTestChangeListener(TestbedModel.TestChangedListener argListener) |
void |
setCalculatedFps(float calculatedFps) |
void |
setCurrTestIndex(int argCurrTestIndex) |
void |
setDebugDraw(org.jbox2d.callbacks.DebugDraw argDraw) |
void |
setMouse(org.jbox2d.common.Vec2 argMouse) |
void |
setPanelWidth(float panelWidth) |
public void setCalculatedFps(float calculatedFps)
public float getCalculatedFps()
public void setPanelWidth(float panelWidth)
public float getPanelWidth()
public void setDebugDraw(org.jbox2d.callbacks.DebugDraw argDraw)
public org.jbox2d.callbacks.DebugDraw getDebugDraw()
public TestbedTest getCurrTest()
public org.jbox2d.common.Vec2 getMouse()
public void setMouse(org.jbox2d.common.Vec2 argMouse)
public boolean[] getKeys()
public boolean[] getCodedKeys()
public void setCurrTestIndex(int argCurrTestIndex)
public int getCurrTestIndex()
public void addTestChangeListener(TestbedModel.TestChangedListener argListener)
public void removeTestChangeListener(TestbedModel.TestChangedListener argListener)
public void addTest(TestbedTest argTest)
public void addCategory(java.lang.String argName)
public TestbedTest getTestAt(int argIndex)
public boolean isTestAt(int argIndex)
public void clearTestList()
public int getTestsSize()
public javax.swing.DefaultComboBoxModel<TestbedModel.ListItem> getComboModel()
public TestbedSettings getSettings()
Copyright © 2012. All Rights Reserved.