com.arsdigita.bebop
Interface PropertyEditorModel

All Known Implementing Classes:
PropertyEditor.DefaultModel

public interface PropertyEditorModel

Provides properties for the PropertyEditor during each request. This class is intended for advanced users only.

Version:
$Id: //core-platform/dev/src/com/arsdigita/bebop/PropertyEditorModel.java#8 $
Author:
Stanislav Freidin
See Also:
PropertyEditorModelBuilder

Field Summary
static String versionId
           
 
Method Summary
 Component getComponent()
          Returns the component that should act as a "button" for editing the property.
 Object getKey()
          Returns the unique key of the current property, usually a simple String.
 boolean next()
          Advances to the next property, if possible.
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Method Detail

next

public boolean next()
Advances to the next property, if possible.

Returns:
false if there are no more properties; true otherwise.

getComponent

public Component getComponent()
Returns the component that should act as a "button" for editing the property. Typically, this method returns a ControlLink of some sort. When the link is clicked, the PropertyEditor will display the pane for editing the property.

Returns:
a component (usually a ControlLink) that will act as the "button" for editing the property.

getKey

public Object getKey()
Returns the unique key of the current property, usually a simple String.

Returns:
the key of the current property.


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