|
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.ide.db.controls.AbstractTreePicker
public abstract class AbstractTreePicker
Abstract ItemPicker implementation providing some support for having a JTree to pick from.
Field Summary |
---|
Fields inherited from interface oracle.bali.ewt.shuttle.ItemPicker |
---|
PROPERTY_SELECTION |
Constructor Summary | |
---|---|
AbstractTreePicker() |
|
AbstractTreePicker(javax.swing.JTree tree) |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
addActionListener(java.awt.event.ActionListener al) Add an ActionListener to the ItemPicker. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl) Add a PropertyChangeListener to the ItemPicker. |
abstract boolean |
addSelectedItems(java.awt.datatransfer.Transferable[] trans) |
boolean |
canAcceptFlavors(java.awt.datatransfer.DataFlavor[] flav) |
abstract java.awt.datatransfer.Transferable |
createTransferable(javax.swing.tree.TreePath path) |
void |
deselectAll() |
void |
focusGained(java.awt.event.FocusEvent e) |
void |
focusLost(java.awt.event.FocusEvent e) |
abstract java.awt.datatransfer.Transferable[] |
getAllSelectableItems() |
java.awt.Component |
getComponent() |
javax.swing.JScrollPane |
getScrollPane() |
java.awt.datatransfer.Transferable[] |
getSelectedItems() Returns an array containing items created by the createTransferable() method for each path in the tree's selection. |
java.awt.datatransfer.DataFlavor[] |
getSelectionDataFlavors() |
javax.swing.JTree |
getTree() |
protected boolean |
handleDefaultAction(javax.swing.tree.TreePath path) Handles the default action for the picker (e.g. |
boolean |
isItemSelected() Returns true if at least one path in the selection returns non-null from createTransferable. |
boolean |
isSelectableItemPresent() |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
void |
removeActionListener(java.awt.event.ActionListener al) Remove an ActionListener from the ItemPicker. |
abstract void |
removeAllSelectableItems() |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl) Remove a PropertyChangeListener from the ItemPicker. |
abstract void |
removeSelectedItems() |
void |
setTree(javax.swing.JTree tree) |
void |
valueChanged(javax.swing.event.TreeSelectionEvent e) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTreePicker()
public AbstractTreePicker(javax.swing.JTree tree)
Method Detail |
---|
public void setTree(javax.swing.JTree tree)
public javax.swing.JTree getTree()
public boolean isItemSelected()
isItemSelected
in interface oracle.bali.ewt.shuttle.ItemPicker
public void deselectAll()
deselectAll
in interface oracle.bali.ewt.shuttle.ItemPicker
public java.awt.datatransfer.Transferable[] getSelectedItems()
getSelectedItems
in interface oracle.bali.ewt.shuttle.ItemPicker
public boolean isSelectableItemPresent()
isSelectableItemPresent
in interface oracle.bali.ewt.shuttle.ItemPicker
public javax.swing.JScrollPane getScrollPane()
public java.awt.Component getComponent()
getComponent
in interface oracle.bali.ewt.shuttle.ItemPicker
public java.awt.datatransfer.DataFlavor[] getSelectionDataFlavors()
getSelectionDataFlavors
in interface oracle.bali.ewt.shuttle.ItemPicker
public boolean canAcceptFlavors(java.awt.datatransfer.DataFlavor[] flav)
canAcceptFlavors
in interface oracle.bali.ewt.shuttle.ItemPicker
public abstract java.awt.datatransfer.Transferable[] getAllSelectableItems()
getAllSelectableItems
in interface oracle.bali.ewt.shuttle.ItemPicker
public abstract boolean addSelectedItems(java.awt.datatransfer.Transferable[] trans)
addSelectedItems
in interface oracle.bali.ewt.shuttle.ItemPicker
public abstract void removeSelectedItems()
removeSelectedItems
in interface oracle.bali.ewt.shuttle.ItemPicker
public abstract void removeAllSelectableItems()
removeAllSelectableItems
in interface oracle.bali.ewt.shuttle.ItemPicker
public abstract java.awt.datatransfer.Transferable createTransferable(javax.swing.tree.TreePath path)
public void addActionListener(java.awt.event.ActionListener al)
addActionListener
in interface oracle.bali.ewt.shuttle.ItemPicker
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
addPropertyChangeListener
in interface oracle.bali.ewt.shuttle.ItemPicker
public void removeActionListener(java.awt.event.ActionListener al)
removeActionListener
in interface oracle.bali.ewt.shuttle.ItemPicker
public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
removePropertyChangeListener
in interface oracle.bali.ewt.shuttle.ItemPicker
protected boolean handleDefaultAction(javax.swing.tree.TreePath path)
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged
in interface javax.swing.event.TreeSelectionListener
|
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 |