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.
Constructor Summary
ConstructorsConstructorDescriptionStatusPanel(int iParamTestsNum, String sParamEnableMultiple) Explicit no-arg body; the parameters are unused in this swing-free build.Method Summary
All MethodsModifier and TypeMethodDescriptionvoidendTest()End the currently running test Cannot be restarted.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.
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
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