| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.editor.insight.TooltipDataItemListModel
public class TooltipDataItemListModel
The TooltipDataItemListModel is a basic implementation of
  an immutable ListModel which just takes an array of TooltipDataItem
  objects (or its subclasses) and can be used as the ListModel for a
  JList.  This class makes a copy of the array (but not the objects)
  passed to it in case the array is modified. 
| Constructor Summary | |
|---|---|
| TooltipDataItemListModel(TooltipDataItem[] data)Constructs a new TooltipDataItemListModelusing the data
 elements specified. | |
| Method Summary | |
|---|---|
|  void | addListDataListener(javax.swing.event.ListDataListener listener)Add a listener to the list that's notified each time a change to the data model occurs. | 
|  java.lang.Object | getElementAt(int index)Returns the value at the specified index. | 
|  int | getSize()Returns the length of the list. | 
|  void | removeListDataListener(javax.swing.event.ListDataListener listener)Remove a listener from the list that's notified each time a change to the data model occurs. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TooltipDataItemListModel(TooltipDataItem[] data)
TooltipDataItemListModel using the data
 elements specified.  A copy of the array will be made in
 case the original array is changed.  This will by default,
 sort the data passed in through the list.
data - the array of TooltipDataItem's to make up the model| Method Detail | 
|---|
public int getSize()
getSize in interface javax.swing.ListModelpublic java.lang.Object getElementAt(int index)
getElementAt in interface javax.swing.ListModelindex - the index of the value to get
public void addListDataListener(javax.swing.event.ListDataListener listener)
addListDataListener in interface javax.swing.ListModellistener - the ListDataListenerpublic void removeListDataListener(javax.swing.event.ListDataListener listener)
removeListDataListener in interface javax.swing.ListModellistener - the ListDataListener| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||