| com.jeta.forms.gui.components.ComponentFactory
All known Subclasses: com.jeta.forms.gui.components.AbstractComponentFactory,
ComponentFactory | public interface ComponentFactory (Code) | | A ComponentFactory is responsible for creating GridComponent
objects for a GridView. A GridComponent is a container for a JETABean and
maintains information such as grid cell location and col/row span. There are
several types of GridComponents. For example, there is a GridComponent for
handling standard Swing components. There is also a GridComponent for
handling nested forms. Each type has different initialization requirements.
This is especially true during design mode when event listerners are
installed on the GridComponents. See:
com.jeta.forms.gui.form.GridComponent author: Jeff Tassin |
createComponent | public GridComponent createComponent(String compName, GridView parentView) throws FormException(Code) | | Creates a GridComponent instances with the given name and the given
parent view. However, the GridComponent is not added to the view in this
call.
Parameters: compName - the name of the component. Parameters: parentView - the parent view for the new grid component. This value isneeded mainly for installing event listeners to theGridComponent in design mode. |
getComponentSource | ComponentSource getComponentSource()(Code) | | Returns the current component source object.
the current component source. |
setComponentSource | void setComponentSource(ComponentSource compsrc)(Code) | | Sets the component source object associated with this factory.
Parameters: compsrc - the current component source to associate with this factory. |
|
|