|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.exec.ET_DefaultControlFactory
public class ET_DefaultControlFactory
Default implementation of ET_ControlFactory interface.
Subclasses might reuse it overriding necessary methods to provide
their own controls.
All createXXX() methods construct new object only when invoked the first
time. All consequent calls will return the instances previously created.
Field Summary | |
---|---|
protected ContextManager |
cm
|
protected ExecModel |
execModel
|
protected javax.swing.JComponent |
parent
|
protected Tool |
tool
|
protected TestSuite |
ts
|
protected UIFactory |
uif
|
Constructor Summary | |
---|---|
ET_DefaultControlFactory(javax.swing.JComponent parent,
UIFactory uif,
TestSuite ts,
ContextManager cm,
ExecModel execModel,
Tool tool)
Initializes fields, does not create any instances. |
Method Summary | |
---|---|
java.util.List<ET_Control> |
createCustomControls()
No custom controls by default. |
ET_FilterControl |
createFilterControl()
Creates a control over filters. |
ET_HelpControl |
createHelpControl()
Creates a control over help. |
ET_ReportControl |
createReportControl()
Creates a report controls. |
ET_SessionControl |
createSessionControl()
Creates a control over session. |
ET_ViewControl |
createViewControl()
Creates a view controls. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final javax.swing.JComponent parent
protected final UIFactory uif
protected final TestSuite ts
protected final ContextManager cm
protected final ExecModel execModel
protected final Tool tool
Constructor Detail |
---|
public ET_DefaultControlFactory(javax.swing.JComponent parent, UIFactory uif, TestSuite ts, ContextManager cm, ExecModel execModel, Tool tool)
Method Detail |
---|
public ET_SessionControl createSessionControl() throws Session.Fault
ET_ControlFactory
createSessionControl
in interface ET_ControlFactory
Session.Fault
- if failed to create sessionpublic ET_FilterControl createFilterControl()
ET_ControlFactory
createFilterControl
in interface ET_ControlFactory
public ET_HelpControl createHelpControl()
ET_ControlFactory
createHelpControl
in interface ET_ControlFactory
public ET_ViewControl createViewControl()
ET_ControlFactory
createViewControl
in interface ET_ControlFactory
public ET_ReportControl createReportControl()
ET_ControlFactory
createReportControl
in interface ET_ControlFactory
public java.util.List<ET_Control> createCustomControls()
createCustomControls
in interface ET_ControlFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |