| |
|
| com.jeta.forms.gui.form.GridComponent com.jeta.forms.gui.form.StandardComponent com.jeta.forms.gui.form.FormContainerComponent
FormContainerComponent | public class FormContainerComponent extends StandardComponent implements GridViewListener(Code) | | A FormContainerComponent is a standard Swing component that can have embedded
forms as children. An example of type type of component is a JTabbedPane. A
JTabbedPane is a StandardComponent in our architecture; however, it is the
only GridComponent besides a FormComponent that can have embedded forms as
children. We have this specialized class for the sole purpose of propagating
gridcomponent events up the forms hierarchy when in design mode. JSplitPanes
are not currrently supported, but they would also be an example of a
FormContainerComponent.
author: Jeff Tassin |
Constructor Summary | |
public | FormContainerComponent() Creates an uninitialized FormContainerComponent instance. | public | FormContainerComponent(GridView parentView) Creates a FormContainerComponent instance with the
specified parent view. | public | FormContainerComponent(JETABean jbean, GridView parentView) Creates a FormContainerComponent instance with the
specified jetabean and parent view.
Parameters: jbean - a JETABean that contains a Swing component that can contain anembedded form. |
FormContainerComponent | public FormContainerComponent()(Code) | | Creates an uninitialized FormContainerComponent instance.
|
FormContainerComponent | public FormContainerComponent(GridView parentView)(Code) | | Creates a FormContainerComponent instance with the
specified parent view.
Parameters: parentView - the view that contains this component |
FormContainerComponent | public FormContainerComponent(JETABean jbean, GridView parentView)(Code) | | Creates a FormContainerComponent instance with the
specified jetabean and parent view.
Parameters: jbean - a JETABean that contains a Swing component that can contain anembedded form. Currently, we are limited to JTabbedPane (or inthe future a JSplitPane). Parameters: parentView - the view that contains this component |
_postInitialize | public void _postInitialize(FormPanel panel, Container cc)(Code) | | PostInitialize is called once after all components in a form have been
re-instantiated at runtime (not design time). This gives each property
and component a chance to do some last minute initializations that might
depend on the top level parent. FormComponent simply forwards the call to
any children.
|
getSelectedComponent | public GridComponent getSelectedComponent()(Code) | | If this component is selected, then it is returned. Otherise, this call
is forwarded to any nested forms contained by this component.
|
getSelectedComponent | public GridComponent getSelectedComponent(Container cc)(Code) | | Returns the first selected GridComponent found in the specified component
hierarchy.
|
gridChanged | public void gridChanged(GridViewEvent evt)(Code) | | GridViewListener implementation. Forwards any GridView events from any
nested forms to any GridCellListeners on this component.
|
postInitialize | public void postInitialize(FormPanel panel)(Code) | | PostInitialize is called once after all components in a form have been
re-instantiated at runtime (not design time). This gives each property
and component a chance to do some last minute initializations that might
depend on the top level parent. FormComponent simply forwards the call to
any children.
|
|
|
|