|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.bali.ewt.shuttle.ListPicker
oracle.ide.db.controls.DBObjectListPicker
public class DBObjectListPicker
Generic ListPicker for DBObjects in a Shuttle. It can cope with any DBObject or SchemaObjectDescriptor in its list.
Field Summary |
---|
Fields inherited from interface oracle.bali.ewt.shuttle.ItemPicker |
---|
PROPERTY_SELECTION |
Constructor Summary | |
---|---|
DBObjectListPicker() |
|
DBObjectListPicker(javax.swing.JList list) |
Method Summary | |
---|---|
void |
addDBObject(DBObject obj) Use to setup the initial contents of the picker. |
boolean |
addSelectedItems(java.awt.datatransfer.Transferable[] add) By default, unless overridden by subclasses, the objects themselves are added to the list picker. |
protected void |
cachePath(DBObjectTransferable trans) |
boolean |
canAcceptFlavors(java.awt.datatransfer.DataFlavor[] df) |
protected java.awt.datatransfer.Transferable |
createTransferable(java.lang.Object obj) |
protected java.awt.datatransfer.Transferable[] |
filterForAdd(java.awt.datatransfer.Transferable[] add) Filters the given Transferable[] for DBObject types that are accepted by this picker. |
javax.swing.DefaultListModel |
getListModel() Returns the ListModel behind the List. |
protected javax.swing.ListCellRenderer |
getRenderer() |
java.awt.datatransfer.DataFlavor[] |
getSelectionDataFlavors() |
void |
removeAllSelectableItems() |
void |
removeSelectedItems() |
void |
setAcceptTypes(java.lang.String[] types) Sets the DBObject types that this picker will accept. |
void |
setRemoveOnShuttle(boolean remove) |
Methods inherited from class oracle.bali.ewt.shuttle.ListPicker |
---|
addActionListener, addPropertyChangeListener, deselectAll, dispose, dragEnter, dragExit, dragOver, drop, dropActionChanged, getAllSelectableItems, getComparator, getComponent, getDnDComponent, getItemsSorted, getList, getSelectedItems, isItemSelected, isOkayToDrag, isOkayToDrop, isSelectableItemPresent, processDnDReorder, removeActionListener, removePropertyChangeListener, setItemsSorted, sortItems |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBObjectListPicker()
public DBObjectListPicker(javax.swing.JList list)
Method Detail |
---|
public void setRemoveOnShuttle(boolean remove)
public void setAcceptTypes(java.lang.String[] types)
public void addDBObject(DBObject obj)
protected final javax.swing.ListCellRenderer getRenderer()
protected java.awt.datatransfer.Transferable[] filterForAdd(java.awt.datatransfer.Transferable[] add)
public javax.swing.DefaultListModel getListModel()
public boolean canAcceptFlavors(java.awt.datatransfer.DataFlavor[] df)
canAcceptFlavors
in interface oracle.bali.ewt.shuttle.ItemPicker
canAcceptFlavors
in class oracle.bali.ewt.shuttle.ListPicker
public java.awt.datatransfer.DataFlavor[] getSelectionDataFlavors()
getSelectionDataFlavors
in interface oracle.bali.ewt.shuttle.ItemPicker
getSelectionDataFlavors
in class oracle.bali.ewt.shuttle.ListPicker
protected java.awt.datatransfer.Transferable createTransferable(java.lang.Object obj)
createTransferable
in class oracle.bali.ewt.shuttle.ListPicker
public boolean addSelectedItems(java.awt.datatransfer.Transferable[] add)
addSelectedItems
in interface oracle.bali.ewt.shuttle.ItemPicker
addSelectedItems
in class oracle.bali.ewt.shuttle.ListPicker
protected void cachePath(DBObjectTransferable trans)
public void removeSelectedItems()
removeSelectedItems
in interface oracle.bali.ewt.shuttle.ItemPicker
removeSelectedItems
in class oracle.bali.ewt.shuttle.ListPicker
public void removeAllSelectableItems()
removeAllSelectableItems
in interface oracle.bali.ewt.shuttle.ItemPicker
removeAllSelectableItems
in class oracle.bali.ewt.shuttle.ListPicker
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |