com.arsdigita.formbuilder.ui
Class BaseAddObserver

java.lang.Object
  extended bycom.arsdigita.formbuilder.ui.BaseAddObserver
All Implemented Interfaces:
ComponentAddObserver
Direct Known Subclasses:
BaseEditAddObserver

public class BaseAddObserver
extends Object
implements ComponentAddObserver

This class provides a basic implementation of the ComponentAddObserver class which will organise a sensible layout for controls on a form


Constructor Summary
BaseAddObserver()
           
 
Method Summary
 void addingComponent(PersistentComponentFactory componentFactory, int componentPosition, Component component)
           
 void afterAddingComponent(FormSection formSection, PersistentComponentFactory componentFactory, int componentPosition)
           
 void beforeAddingComponent(FormSection formSection, PersistentComponentFactory componentFactory, int componentPosition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAddObserver

public BaseAddObserver()
Method Detail

beforeAddingComponent

public void beforeAddingComponent(FormSection formSection,
                                  PersistentComponentFactory componentFactory,
                                  int componentPosition)
Specified by:
beforeAddingComponent in interface ComponentAddObserver

addingComponent

public void addingComponent(PersistentComponentFactory componentFactory,
                            int componentPosition,
                            Component component)
Specified by:
addingComponent in interface ComponentAddObserver

afterAddingComponent

public void afterAddingComponent(FormSection formSection,
                                 PersistentComponentFactory componentFactory,
                                 int componentPosition)
Specified by:
afterAddingComponent in interface ComponentAddObserver


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC