java.lang.Object
com.vuze.plugins.mlab.tools.ndt.swingemu.Component
com.vuze.plugins.mlab.tools.ndt.swingemu.JPanel
edu.internet2.ndt.StatusPanel
Swing-free status panel; the display methods are no-ops and only the stop flag is tracked.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanSet to stop the test run.private intTests finished so far.private intTests the run will perform.private static final longCompiler generated constant that is not related to current classes' specific functionality.Constructor Summary
ConstructorsConstructorDescriptionStatusPanel(int iParamTestsNum, String sParamEnableMultiple) Explicit no-arg body; the parameters are unused in this swing-free build.Method Summary
Modifier and TypeMethodDescriptionvoidendTest()End the currently running test Cannot be restarted.private voidSet Test number being run.voidSets a string explaining progress of tests.booleanGet intention to stop tests.Methods inherited from class Component
add, addMouseListener, addWindowListener, getToolkit, pack, repaint, setBorder, setCursor, setEditable, setEnabled, setForeground, setLayout, setLayout, setPreferredSize, setResizable, setSize, setTitle, setVisibleModifier and TypeMethodDescriptionvoidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.Creates a stub toolkit; this AWT emulation has no real one.voidpack()Stub, does nothing.voidrepaint()Stub, does nothing.voidStub, discards its arguments.voidStub, discards its arguments.voidsetEditable(boolean b) Stub, discards its arguments.voidsetEnabled(boolean b) Stub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidsetResizable(boolean b) Stub, discards its arguments.voidsetSize(int i, int j) Stub, discards its arguments.voidStub, discards its arguments.voidsetVisible(boolean b) Stub, discards its arguments.
Field Details
serialVersionUID
private static final long serialVersionUIDCompiler generated constant that is not related to current classes' specific functionality.- See Also:
_iTestsCompleted
private int _iTestsCompletedTests finished so far._iTestsNum
private int _iTestsNumTests the run will perform._bStop
private boolean _bStopSet to stop the test run.
Constructor Details
StatusPanel
Explicit no-arg body; the parameters are unused in this swing-free build.- Parameters:
iParamTestsNum- total number of tests scheduled to be runsParamEnableMultiple- string indicating whether multiple tests have been scheduled
Method Details
setTestNoLabelText
private void setTestNoLabelText()Set Test number being run.wantToStop
public boolean wantToStop()Get intention to stop tests.- Returns:
- boolean indicating intention to stop or not
endTest
public void endTest()End the currently running test Cannot be restarted.setText
Sets a string explaining progress of tests.- Parameters:
sParamText- String status of test-run