public class IlxWDefaultListCellRenderer extends IlxWLabel implements IlxWListCellRenderer
IlxWComponent.DynamicStyleMap| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_NULL_VALUE_RENDER_STRING |
listenerList| Constructor and Description |
|---|
IlxWDefaultListCellRenderer()
Constructs a default renderer object for an item
in a list.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Overridden for performance reasons.
|
IlxWComponent |
getListCellRendererComponent(IlxWList list,
java.lang.Object value,
int index,
boolean isSelected)
Return a component that has been configured to display the specified
value.
|
getIcon, getIconPath, getText, getTextElement, printComponent, setIconPath, setTextaddPropertyChangeListener, addPropertyChangeListener, detach, doPrint, firePropertyChange, getName, getRealHtmlTagName, getStyle, invalidate, isInvalidated, notifyDependencies, print, removePropertyChangeListener, removePropertyChangeListener, setName, validateadd, add, getAttribute, getAttributeNames, getComponent, getComponentCount, getComponentNamed, getComponents, getManager, getParent, getUserAgentRules, indexOf, isAncestorOf, remove, remove, removeAll, removeAttribute, setAttribute, setAuthorRules, setFinalizerpublic static java.lang.String DEFAULT_NULL_VALUE_RENDER_STRING
public IlxWDefaultListCellRenderer()
public IlxWComponent getListCellRendererComponent(IlxWList list, java.lang.Object value, int index, boolean isSelected)
IlxWListCellRendererprint method is then called
to "render" the cell.getListCellRendererComponent in interface IlxWListCellRendererlist - The IlxWList we want to render.value - The value returned by list.getModel().getElementAt(index).index - The cells index.isSelected - True if the specified cell was selected.IlxWList,
ListSelectionModel,
ListModelprotected void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
firePropertyChange in class IlxWComponentpropertyName - The name of the property that was changed.oldValue - The old value of the property.newValue - The new value of the property.PropertyChangeSupport© Copyright IBM Corp. 1987, 2017