Package com.sun.javatest.exec
Class ServiceViewer
- java.lang.Object
-
- com.sun.javatest.tool.ToolDialog
-
- com.sun.javatest.exec.ServiceViewer
-
- All Implemented Interfaces:
Interview.Observer
public class ServiceViewer extends ToolDialog implements Interview.Observer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.javatest.tool.ToolDialog
ToolDialog.Restorer
-
-
Field Summary
-
Fields inherited from class com.sun.javatest.tool.ToolDialog
DIALOG, FRAME, FREE, MODAL, MODAL_APPLICATION, MODAL_DOCUMENT, MODAL_TOOLKIT, parent, tool, uif
-
-
Constructor Summary
Constructors Constructor Description ServiceViewer(com.sun.javatest.services.ServiceManager mgr, UIFactory uif, java.awt.Component parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
currentQuestionChanged(Question q)
Invoked when the current question in the interview has been changed.protected void
initGUI()
Initialize the GUI, by calling the various setXXX methods.void
pathUpdated()
Invoked when the set of questions in the current path has been changed.-
Methods inherited from class com.sun.javatest.tool.ToolDialog
disableDefaultDisposeHandler, dispose, getBody, getButtons, getDefaultButton, getDialogParent, getJMenuBar, getLocation, getRestorer, getSize, getTitle, getTool, isShowing, isVisible, pack, setBody, setButtons, setComponentListener, setDefaultCloseOperation, setHelp, setI18NTitle, setI18NTitle, setI18NTitle, setJMenuBar, setLocation, setLocation, setRestorer, setSize, setSize, setTool, setTool, setVisible, windowClosingAction
-
-
-
-
Constructor Detail
-
ServiceViewer
public ServiceViewer(com.sun.javatest.services.ServiceManager mgr, UIFactory uif, java.awt.Component parent)
-
-
Method Detail
-
initGUI
protected void initGUI()
Description copied from class:ToolDialog
Initialize the GUI, by calling the various setXXX methods.- Specified by:
initGUI
in classToolDialog
-
currentQuestionChanged
public void currentQuestionChanged(Question q)
Description copied from interface:Interview.Observer
Invoked when the current question in the interview has been changed.- Specified by:
currentQuestionChanged
in interfaceInterview.Observer
- Parameters:
q
- the new current question
-
pathUpdated
public void pathUpdated()
Description copied from interface:Interview.Observer
Invoked when the set of questions in the current path has been changed. This is normally because the response to one of the questions on the path has been changed, thereby causing a change to its successor questions.- Specified by:
pathUpdated
in interfaceInterview.Observer
-
-