Java DTV API 1.3
18-Nov-2009

Package com.sun.dtv.lwuit.list

Lists are highly customizable and serve as the basis for ComboBox and other components (such as carousels etc) they employ a similar MVC approach to Swing including the renderer pattern.

See:
          Description

Interface Summary
ListCellRenderer A "rubber stamp" tool that allows us to extract a component (often the same component instance for all invocations) that is initialized to the value of the current item extracted from the model, this component is drawn on the list and discarded.
ListModel Represents the data structure of the list, thus allowing a list to represent any potential data source by referencing different implementations of this interface.
 

Class Summary
DefaultListCellRenderer Default implementation of the renderer based on a label see the ListCellRenderer for more information about the use and purpose of this class.
DefaultListModel Default implementation of the list model based on a vector of elements.
 

Package com.sun.dtv.lwuit.list Description

Lists are highly customizable and serve as the basis for ComboBox and other components (such as carousels etc) they employ a similar MVC approach to Swing including the renderer pattern. ListCellRenderer allows us to customize the appearance of a list entry, it works as a "rubber stamp" by drawing the rendered component and discarding its state thus allowing very large lists with very little component state overhead.

ListModel allows us to represent the underlying data structure for the List/ComboBox without requiring all the data to reside in memory or in a specific structure. This allows a model to represent a data source of any type, coupled with the renderer the data source can be returned in an internal representation state and still be rendered properly to the screen.

Since:
JavaDTV1.0

Java DTV API 1.3
18-Nov-2009

Copyright © 2008-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.

U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Use of this document is subject to license terms.