com.arsdigita.formbuilder.ui
Class BaseEditAddObserver

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

public abstract class BaseEditAddObserver
extends BaseAddObserver

This is an extension of the BaseAddObserver which handles the editing of controls on a form by adding additional links on each row.


Constructor Summary
BaseEditAddObserver()
           
 
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)
           
protected abstract  BaseLink createLink(String label, PersistentComponentFactory component)
          This method is use to create a link for editing a component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseEditAddObserver

public BaseEditAddObserver()
Method Detail

beforeAddingComponent

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

addingComponent

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

afterAddingComponent

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

createLink

protected abstract BaseLink createLink(String label,
                                       PersistentComponentFactory component)
This method is use to create a link for editing a component.



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