Class GuiUtils
java.lang.Object
microsim.gui.GuiUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidaddWindow(JInternalFrame window) static voidaddWindow(JInternalFrame window, int x, int y, int width, int height) static JInternalFramebuildInternalFrame(JFrame frame) static ProbeFrameOpens a probe on the given object and return its reference.static ProbeFrameopenProbe(Object on, String title, SimulationManager ownerModel) Opens a probe on the given object and return its reference.
-
Constructor Details
-
GuiUtils
public GuiUtils()
-
-
Method Details
-
openProbe
Opens a probe on the given object and return its reference.- Parameters:
on- Object to be probed. If on implements the IProbeFields interface the probe will use this set of fields.title- The title of the probe frame.ownerModel- The caller SimModel.- Returns:
- A new instance of ProbeFrame.
-
openProbe
Opens a probe on the given object and return its reference.- Parameters:
on- Object to be probed. If on implements the IProbeFields interface the probe will use this set of fields.title- The title of the probe frame.- Returns:
- A new instance of ProbeFrame.
-
addWindow
-
addWindow
-
addWindow
-
addWindow
-
buildInternalFrame
-