| com.jeta.forms.gui.components.ContainedFormFactory
All known Subclasses: com.jeta.swingbuilder.gui.components.DefaultContainedFormFactory,
ContainedFormFactory | public interface ContainedFormFactory (Code) | | A factory for creating a form that is contained within a Swing container
other than another FormComponent. For example, when a form is contained
within a JTabbedPane or a JSplitPane, we use this factory to instantiate the
form.
author: Jeff Tassin |
createContainedForm | FormComponent createContainedForm(Class swingClass, FormMemento fm) throws FormException(Code) | | Creates a form that is meant to be contained in a Swing container. This
is form forms that can be edited in-place in the designer. This method
actually creates two forms. The actual form that we can edit, and a top
level parent that contains the form but is not directly editable.
the top level parent form. |
createTopParent | FormComponent createTopParent(Container parent, ComponentSource compsrc, FormComponent form) throws FormException(Code) | | This method creates a top-level parent form that is used to contain a
form that we can edit. This is used in two cases. In the first, we use a
top level form in the FormEditor. In the second, we use the top-level
form in contained forms (e.g. a form that is contained in a JTabbedPane
tab ).
Parameters: parent - the object that will contain the top-level parent Parameters: compsrc - the component source Parameters: form - the form that will be contained by the top-level parent |
|
|