Class ET_DefaultControlFactory
java.lang.Object
com.sun.javatest.exec.ET_DefaultControlFactory
- All Implemented Interfaces:
ET_ControlFactory
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.
All createXXX() methods construct new object only when invoked the first time. All consequent calls will return the instances previously created.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionET_DefaultControlFactory(JComponent parent, UIFactory uif, TestSuite ts, ContextManager cm, ExecModel execModel, Tool tool) Initializes fields, does not create any instances. -
Method Summary
Modifier and TypeMethodDescriptionNo custom controls by default.Creates a control over filters.Creates a control over help.Creates a report controls.Creates a control over session.Creates a view controls.
-
Field Details
-
parent
-
uif
-
ts
-
cm
-
execModel
-
tool
-
-
Constructor Details
-
ET_DefaultControlFactory
public ET_DefaultControlFactory(JComponent parent, UIFactory uif, TestSuite ts, ContextManager cm, ExecModel execModel, Tool tool) Initializes fields, does not create any instances.
-
-
Method Details
-
createSessionControl
Description copied from interface:ET_ControlFactoryCreates a control over session.- Specified by:
createSessionControlin interfaceET_ControlFactory- Returns:
- BasicSessionControl instance, unless overriden
- Throws:
Session.Fault- if failed to create session
-
createFilterControl
Description copied from interface:ET_ControlFactoryCreates a control over filters. Due to internal reasons the returned object must be instance of ET_FilterHandler. Sorry for the inconveniences caused.- Specified by:
createFilterControlin interfaceET_ControlFactory- Returns:
- ET_FilterHandler instance, unless overriden
-
createHelpControl
Description copied from interface:ET_ControlFactoryCreates a control over help.- Specified by:
createHelpControlin interfaceET_ControlFactory- Returns:
- ET_DefaultHelpControl instance, unless overriden
-
createViewControl
Description copied from interface:ET_ControlFactoryCreates a view controls.- Specified by:
createViewControlin interfaceET_ControlFactory- Returns:
- ET_DefaultViewControl instance, unless overriden
-
createReportControl
Description copied from interface:ET_ControlFactoryCreates a report controls.- Specified by:
createReportControlin interfaceET_ControlFactory- Returns:
- ReportHandler instance, unless overriden
-
createCustomControls
No custom controls by default.- Specified by:
createCustomControlsin interfaceET_ControlFactory- Returns:
- null
-