com.arsdigita.bebop
Class PropertyEditor.IdentityCellRenderer

java.lang.Object
  extended bycom.arsdigita.bebop.list.DefaultListCellRenderer
      extended bycom.arsdigita.bebop.PropertyEditor.IdentityCellRenderer
All Implemented Interfaces:
ListCellRenderer
Enclosing class:
PropertyEditor

protected static class PropertyEditor.IdentityCellRenderer
extends DefaultListCellRenderer

Renders the components generated by the model directly


Field Summary
 
Fields inherited from class com.arsdigita.bebop.list.DefaultListCellRenderer
versionId
 
Constructor Summary
protected PropertyEditor.IdentityCellRenderer()
           
 
Method Summary
 Component getComponent(List list, PageState state, Object value, String key, int index, boolean isSelected)
          Return a component that has been configured to display the specified value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEditor.IdentityCellRenderer

protected PropertyEditor.IdentityCellRenderer()
Method Detail

getComponent

public Component getComponent(List list,
                              PageState state,
                              Object value,
                              String key,
                              int index,
                              boolean isSelected)
Description copied from class: DefaultListCellRenderer
Return a component that has been configured to display the specified value. If isSelected is true, returns a bolded Label containing value.toString(). If isSelected is not true, returns a ControlLink labelled with value.toString(). When the user clicks on the link, that item becomes selected.

Specified by:
getComponent in interface ListCellRenderer
Overrides:
getComponent in class DefaultListCellRenderer


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