com.arsdigita.bebop
Class PropertyEditor.DefaultModelBuilder

java.lang.Object
  extended bycom.arsdigita.util.LockableImpl
      extended bycom.arsdigita.bebop.PropertyEditor.DefaultModelBuilder
All Implemented Interfaces:
Lockable, PropertyEditorModelBuilder
Enclosing class:
PropertyEditor

protected static class PropertyEditor.DefaultModelBuilder
extends LockableImpl
implements PropertyEditorModelBuilder

Default implementation of the PropertyEditorModelBuilder. Takes in a SequentialMap of key->label, and constructs a ControlLink for each label.


Field Summary
 
Fields inherited from interface com.arsdigita.bebop.PropertyEditorModelBuilder
versionId
 
Constructor Summary
PropertyEditor.DefaultModelBuilder()
           
 
Method Summary
protected  Iterator getProperties(PropertyEditor p)
          Return an iterator of all properties of the specified property editor.
 PropertyEditorModel makeModel(PropertyEditor p, PageState s)
          Construct a PropertyEditorModel for the current request.
 
Methods inherited from class com.arsdigita.util.LockableImpl
isLocked, lock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked, lock
 

Constructor Detail

PropertyEditor.DefaultModelBuilder

public PropertyEditor.DefaultModelBuilder()
Method Detail

getProperties

protected Iterator getProperties(PropertyEditor p)
Return an iterator of all properties of the specified property editor. These properties should be passed into the constructor of the PropertyEditor.DefaultModel


makeModel

public PropertyEditorModel makeModel(PropertyEditor p,
                                     PageState s)
Construct a PropertyEditorModel for the current request.

Specified by:
makeModel in interface PropertyEditorModelBuilder
Parameters:
p - the parent PropertyEditor
s - represents the current request
Returns:
the PropertyEditorModel for the current request.


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