public class ResultController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) JTSTestBuilderFrame |
frame |
private javax.swing.Timer |
funcTimer |
(package private) TestBuilderModel |
model |
private long |
runMillis |
private static java.text.NumberFormat |
timeFmt |
private static int |
TIMER_DELAY_IN_MILLIS |
private SwingWorker |
worker |
Constructor and Description |
---|
ResultController(JTSTestBuilderFrame frame) |
Modifier and Type | Method and Description |
---|---|
private void |
clearFunctionWorker() |
private void |
clearResult() |
private void |
resetUI()
If result is null, clears result info.
|
private void |
runFunctionWorker(GeometryFunctionInvocation functionInvoc,
boolean createNew) |
void |
scalarFunctionPanel_functionExecuted(SpatialFunctionPanelEvent e) |
void |
spatialFunctionPanel_functionExecuted(SpatialFunctionPanelEvent e) |
private void |
startFunctionMonitor() |
private void |
stopFunctionMonitor() |
private void |
updateResult(GeometryFunctionInvocation functionDesc,
java.lang.Object result,
Stopwatch timer) |
private static java.text.NumberFormat timeFmt
JTSTestBuilderFrame frame
TestBuilderModel model
private SwingWorker worker
private javax.swing.Timer funcTimer
private long runMillis
private static final int TIMER_DELAY_IN_MILLIS
public ResultController(JTSTestBuilderFrame frame)
public void spatialFunctionPanel_functionExecuted(SpatialFunctionPanelEvent e)
private void clearResult()
private void resetUI()
result
- object
- object
- timer
- private void updateResult(GeometryFunctionInvocation functionDesc, java.lang.Object result, Stopwatch timer)
private void runFunctionWorker(GeometryFunctionInvocation functionInvoc, boolean createNew)
private void clearFunctionWorker()
private void startFunctionMonitor()
private void stopFunctionMonitor()
public void scalarFunctionPanel_functionExecuted(SpatialFunctionPanelEvent e)