Displays the shell particle's initial conditions in an editor. @return OSPControl
()
| 101 | * @return OSPControl |
| 102 | */ |
| 103 | @Override |
| 104 | public OSPTableInspector edit() { |
| 105 | OSPTableInspector inspector = new OSPTableInspector(true, true); |
| 106 | Control control = inspector.getControl(); |
| 107 | inspector.setTitle("Shell Particle"); |
| 108 | inspector.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); |
| 109 | control.setValue("r", 5.0); |
| 110 | control.setValue(PHI, Math.PI / 2); |
| 111 | control.setValue("show tau", false); |
| 112 | control.setValue("draggable state", false); |
| 113 | control.setValue("label", ""); |
| 114 | inspector.setSize(160, 170); |
| 115 | return inspector; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * Calculates the rate array using the given state. |
no test coverage detected