| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.3) E13403-11  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.javatools.ui.combo.TreeFixListComboModel
public class TreeFixListComboModel
Model for JTreeComboBox Constructed with a regular TreeModel, this class delegates most calls to the TreeModel, but adds the concept of selection to get the ComboBoxModel to work
| Constructor Summary | |
|---|---|
TreeFixListComboModel(javax.swing.JTree tree, javax.swing.JList fixList, boolean fixListBelow) | 
|
| Method Summary | |
|---|---|
 void | 
addListDataListener(javax.swing.event.ListDataListener l)Currently does nothing  | 
 java.lang.Object | 
getElementAt(int index)Returns the item at the given index.  | 
 boolean | 
getFixListBelow()get the position of the fix list in the popup.  | 
 java.lang.Object | 
getSelectedItem() | 
 int | 
getSize() | 
 javax.swing.tree.TreePath | 
getTreePath(java.lang.Object obj) | 
 void | 
removeListDataListener(javax.swing.event.ListDataListener l)Currently does nothing  | 
 void | 
setFixListBelow(boolean fixListBelow)Set the position of the fix list in the popup  | 
 void | 
setSelectedItem(java.lang.Object anItem)set the given item as selected.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TreeFixListComboModel(javax.swing.JTree tree,
                             javax.swing.JList fixList,
                             boolean fixListBelow)
| Method Detail | 
|---|
public void setSelectedItem(java.lang.Object anItem)
setSelectedItem in interface javax.swing.ComboBoxModelanItem -public javax.swing.tree.TreePath getTreePath(java.lang.Object obj)
public java.lang.Object getSelectedItem()
getSelectedItem in interface javax.swing.ComboBoxModelpublic int getSize()
getSize in interface javax.swing.ListModelpublic java.lang.Object getElementAt(int index)
getElementAt in interface javax.swing.ListModelindex -public boolean getFixListBelow()
public void setFixListBelow(boolean fixListBelow)
fixListBelow - - true = place fix list at bottom, false = at top.public void addListDataListener(javax.swing.event.ListDataListener l)
addListDataListener in interface javax.swing.ListModell -public void removeListDataListener(javax.swing.event.ListDataListener l)
removeListDataListener in interface javax.swing.ListModell -
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.3) E13403-11  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||