Lafros MaCS 1.2r1
|
|
trait
GuiSupport
extends
AnyRefMethod Summary | |
def
|
displayGui
(c : scala.swing.Component, menuBar : scala.swing.MenuBar) : Unit
also accepts optional menu bar.
|
def
|
displayGui (c : scala.swing.Component) : Unit |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
displayGui(c : scala.swing.Component) : Unit
displays c in a dialogue box complete with 'Pass' and 'Fail' buttons, and waits for the dialog box to be dismissed.
The title of the dialog box will be c.getClass.getName +" test". May be called from any thread.
RuntimeException -
if 'Fail' is clicked on, or if the dialog box is closed
def
displayGui(c : scala.swing.Component, menuBar : scala.swing.MenuBar) : Unit
Lafros MaCS 1.2r1
|
|