com.arsdigita.bebop
Class PropertyEditor.IdentityCellRenderer
java.lang.Object
com.arsdigita.bebop.list.DefaultListCellRenderer
com.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyEditor.IdentityCellRenderer
protected PropertyEditor.IdentityCellRenderer()
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