Rendering Model Data

The Data List

DataList
+ DataList(DataListModel)
+ DataList(DataListModel, int[])
+ getPreferredScrollableViewportSize() : Dimension
+ getScrollableUnitIncrement(Rectangle, int, int) : int

gets each item from the List Model...

DataListModel
+ setData(Object[], String)
+ getElementAt(int) : Object
+ getSize() : int
+ contains(Object) : boolean
+ getDescription() : String
+ getRedLine(int) : Object
+ iterator() : Iterator

passes the item to the Cell Renderer...

MultiCellRenderer
- renderers : Map
+ add(Class, ListCellRenderer)
+ getListCellRendererComponent
      (JList, Object, int, boolean, boolean) : Component
      

...and gets a Component to stamp out data with.

JComponent
+ getPreferredSize() : Dimension
+ paint(Graphics)
# paintBorder(Graphics)
# paintComponent(Graphics)
# paintChildren(Graphics)