com.arsdigita.bebop
Interface ComponentSelectionModel

All Superinterfaces:
SingleSelectionModel
All Known Implementing Classes:
MapComponentSelectionModel

public interface ComponentSelectionModel
extends SingleSelectionModel

Encapsulates the selection of a single object from many possibilities. Similar to SingleSelectionModel, but ties a component to the selection.

A call to the getComponent method returns a component that can be used to display the current selection.

Version:
$Id: //core-platform/dev/src/com/arsdigita/bebop/ComponentSelectionModel.java#7 $
Author:
David Lutterkort, Stanislav Freidin

Field Summary
static String versionId
           
 
Method Summary
 Component getComponent(PageState state)
          Returns the component that should be used to output the currently selected element.
 
Methods inherited from interface com.arsdigita.bebop.SingleSelectionModel
addChangeListener, clearSelection, getSelectedKey, getStateParameter, isSelected, removeChangeListener, setSelectedKey
 

Field Detail

versionId

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

getComponent

public Component getComponent(PageState state)
Returns the component that should be used to output the currently selected element.

Parameters:
state - the state of the current request
Returns:
the component used to output the selected element.


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