Skip navigation links
ilog.webui.dhtml.components
Class IlxWDefaultListCellRenderer
java.lang.Object
ilog.webui.dhtml.IlxWContainer
ilog.webui.dhtml.IlxWComponent
ilog.webui.dhtml.components.IlxWLabel
ilog.webui.dhtml.components.IlxWDefaultListCellRenderer
- All Implemented Interfaces:
- IlxWListCellRenderer, ilog.webui.dhtml.IlxWConstants, ilog.webui.dhtml.IlxWCSSModelProvider, ilog.webui.dhtml.IlxWDependencyProvider, ilog.webui.dhtml.IlxWJSObject, Serializable
public class IlxWDefaultListCellRenderer
- extends IlxWLabel
- implements IlxWListCellRenderer
Renders an item in a list.
- See Also:
- Serialized Form
Methods inherited from class ilog.webui.dhtml.IlxWComponent |
addPropertyChangeListener, addPropertyChangeListener, detach, doPrint, firePropertyChange, getName, getRealHtmlTagName, getStyle, invalidate, isInvalidated, notifyDependencies, print, removePropertyChangeListener, removePropertyChangeListener, setName, validate |
Methods inherited from class ilog.webui.dhtml.IlxWContainer |
add, add, getAttribute, getAttributeNames, getComponent, getComponentCount, getComponentNamed, getComponents, getManager, getParent, getUserAgentRules, indexOf, isAncestorOf, remove, remove, removeAll, removeAttribute, setAttribute, setAuthorRules, setFinalizer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NULL_VALUE_RENDER_STRING
public static String DEFAULT_NULL_VALUE_RENDER_STRING
IlxWDefaultListCellRenderer
public IlxWDefaultListCellRenderer()
- Constructs a default renderer object for an item
in a list.
getListCellRendererComponent
public IlxWComponent getListCellRendererComponent(IlxWList list,
Object value,
int index,
boolean isSelected)
- Description copied from interface:
IlxWListCellRenderer
- Return a component that has been configured to display the specified
value. That component's
print
method is then called
to "render" the cell.
- Specified by:
getListCellRendererComponent
in interface IlxWListCellRenderer
- Parameters:
list
- 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.
- Returns:
- A component whose print() method will render the specified value.
- See Also:
IlxWList
,
ListSelectionModel
,
ListModel
firePropertyChange
protected void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
- Overridden for performance reasons.
- Overrides:
firePropertyChange
in class IlxWComponent
- Parameters:
propertyName
- The name of the property that was changed.oldValue
- The old value of the property.newValue
- The new value of the property.- See Also:
PropertyChangeSupport
Skip navigation links
© Copyright IBM Corp. 1987, 2013