ilog.webui.dhtml.components

Class IlxWDefaultListCellRenderer

  • All Implemented Interfaces:
    IlxWListCellRenderer, ilog.webui.dhtml.IlxWConstants, ilog.webui.dhtml.IlxWCSSModelProvider, ilog.webui.dhtml.IlxWDependencyProvider, ilog.webui.dhtml.IlxWJSObject, java.io.Serializable


    public class IlxWDefaultListCellRenderer
    extends IlxWLabel
    implements IlxWListCellRenderer
    Renders an item in a list.
    See Also:
    Serialized Form
    • Field Detail

      • DEFAULT_NULL_VALUE_RENDER_STRING

        public static java.lang.String DEFAULT_NULL_VALUE_RENDER_STRING
    • Constructor Detail

      • IlxWDefaultListCellRenderer

        public IlxWDefaultListCellRenderer()
        Constructs a default renderer object for an item in a list.
    • Method Detail

      • getListCellRendererComponent

        public IlxWComponent getListCellRendererComponent(IlxWList list,
                                                 java.lang.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(java.lang.String propertyName,
                              java.lang.Object oldValue,
                              java.lang.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

© Copyright IBM Corp. 1987, 2017