|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.dacf.util.InfoBusMemberHelper
oracle.dacf.control.swing.TreeControlNode
| Field Summary | |
static java.util.Enumeration |
EMPTY_ENUMERATION
An enumeration that is always empty. |
| Fields inherited from class oracle.dacf.util.InfoBusMemberHelper |
m_infoBus, m_propListeners, m_sourceRef, m_syncLock, m_vetoListeners |
| Method Summary | |
java.util.Enumeration |
children()
Returns the children of the reciever as an Enumeration. |
java.util.Enumeration |
children(boolean loadChildren)
Returns the children of the reciever as an Enumeration. |
void |
dataItemAdded(javax.infobus.DataItemAddedEvent e)
Indicates that a new item was added to the bound aggregate data item (e.g. |
void |
dataItemAvailable(javax.infobus.InfoBusItemAvailableEvent event)
|
void |
dataItemDeleted(javax.infobus.DataItemDeletedEvent e)
Indicates that an item was deleted from the bound aggregate data item (e. |
void |
dataItemRevoked(javax.infobus.DataItemRevokedEvent e)
Indicates that the bound data item (and its sub-items, if any) has been revoked, and is temporarily unavailable. |
void |
dataItemRevoked(javax.infobus.InfoBusItemRevokedEvent event)
|
void |
dataItemValueChanged(javax.infobus.DataItemValueChangedEvent e)
Indicates a changed value in the bound data item. |
java.util.Enumeration |
depthFirstEnumeration()
|
protected void |
dropInfoBusInt()
Removes this object from its currently bound InfoBus and data item. |
boolean |
getAllowsChildren()
Returns true if the receiver allows children. |
javax.swing.tree.TreeNode |
getChildAt(int index)
Returns the child TreeNode at the specified index |
int |
getChildCount()
Returns the number of children TreeNodes the receiver contains. |
javax.swing.tree.TreeNode |
getFirstChild()
Returns this node's first child. |
int |
getIndex(javax.swing.tree.TreeNode node)
Returns the index of node in the receiver's children. |
javax.swing.tree.TreeNode |
getLastChild()
Returns this node's last child. |
java.lang.String |
getName()
|
javax.swing.tree.TreeNode |
getParent()
Returns the parent TreeNode of the receiver. |
TreeControlNode[] |
getPath()
Returns the path from the root to this node. |
protected TreeControlNode[] |
getPathToRoot(TreeControlNode node,
int depth)
Builds the parents of node up to and including the root node, where the original node is the last element in the returned array. |
TreeDataSource |
getTreeDataSource()
|
TreeNodeData |
getTreeNodeData()
|
java.lang.Object |
getUserObject()
|
void |
insert(javax.swing.tree.MutableTreeNode child,
int index)
|
boolean |
isCurrentRow()
Returns whether the node is displaying the current row. |
boolean |
isLeaf()
Returns true if the receiver is a leaf. |
protected void |
joinInfoBusInt()
|
void |
propertyChange(java.beans.PropertyChangeEvent event)
This method gets called when the object's InfoBus property is changed. |
void |
releaseResources(InfoBusManagerReleaseEvent e)
A signalling method used to indicate the the control should free all resources and unregister any listeners that it has registered. |
void |
remove(int index)
|
void |
remove(javax.swing.tree.MutableTreeNode node)
|
void |
removeFromParent()
|
void |
rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent e)
Indicates that the cursor for the bound RowsetAccess data item has changed rows. |
void |
setCurrentRow(boolean currentRow)
Sets whether the node is displaying the current row. |
void |
setInfoBusName(java.lang.String infoBusName)
|
void |
setName(java.lang.String name)
|
void |
setParent(javax.swing.tree.MutableTreeNode newParent)
|
void |
setTreeDataSource(TreeDataSource nuTreeDataSource)
|
void |
setTreeNodeData(TreeNodeData data)
|
void |
setUserObject(java.lang.Object object)
|
java.lang.String |
toString()
|
| Methods inherited from class oracle.dacf.util.InfoBusMemberHelper |
addInfoBusPropertyListener, addInfoBusVetoableListener, clearRef, getInfoBus, joinInfoBus, joinInfoBus, leaveInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.util.Enumeration EMPTY_ENUMERATION
| Method Detail |
public TreeNodeData getTreeNodeData()
public void setTreeNodeData(TreeNodeData data)
public java.lang.String getName()
public void setName(java.lang.String name)
public void setInfoBusName(java.lang.String infoBusName)
protected void joinInfoBusInt()
public void releaseResources(InfoBusManagerReleaseEvent e)
InfoBusManagerListener
releaseResources in interface InfoBusManagerListenerprotected void dropInfoBusInt()
public void setTreeDataSource(TreeDataSource nuTreeDataSource)
public TreeDataSource getTreeDataSource()
public void setUserObject(java.lang.Object object)
setUserObject in interface javax.swing.tree.MutableTreeNodepublic void dataItemAvailable(javax.infobus.InfoBusItemAvailableEvent event)
dataItemAvailable in interface javax.infobus.InfoBusDataConsumerpublic void dataItemRevoked(javax.infobus.InfoBusItemRevokedEvent event)
dataItemRevoked in interface javax.infobus.InfoBusDataConsumerpublic void propertyChange(java.beans.PropertyChangeEvent event)
The object is removed as a data consumer from its previous InfoBus, and is added as a consumer to its new InfoBus.
propertyChange in interface java.beans.PropertyChangeListenerevent - The event.public void rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent e)
A reference to the rowset data item can be obtained from the event.
rowsetCursorMoved in interface javax.infobus.DataItemChangeListenerDataItemChangeListener.rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent)public void dataItemValueChanged(javax.infobus.DataItemValueChangedEvent e)
A reference to the data item that changed can be obtained from the event.
dataItemValueChanged in interface javax.infobus.DataItemChangeListenerDataItemChangeListener.dataItemValueChanged(javax.infobus.DataItemValueChangedEvent)public void dataItemAdded(javax.infobus.DataItemAddedEvent e)
A reference to the data item that was added, and a reference to the one that gained it, can be obtained from the event.
dataItemAdded in interface javax.infobus.DataItemChangeListenerDataItemChangeListener.dataItemAdded(javax.infobus.DataItemAddedEvent)public void dataItemDeleted(javax.infobus.DataItemDeletedEvent e)
A reference to the data item that was deleted, and a reference to the one that lost it, can be obtained from the event.
dataItemDeleted in interface javax.infobus.DataItemChangeListenerDataItemChangeListener.dataItemDeleted(javax.infobus.DataItemDeletedEvent)public void dataItemRevoked(javax.infobus.DataItemRevokedEvent e)
A reference to the data item that was revoked can be obtained from the event.
When this method is called, the node and all of it's children will be removed from the tree.
dataItemRevoked in interface javax.infobus.DataItemChangeListenerDataItemChangeListener.dataItemRevoked(javax.infobus.DataItemRevokedEvent)public java.lang.Object getUserObject()
public void insert(javax.swing.tree.MutableTreeNode child,
int index)
insert in interface javax.swing.tree.MutableTreeNodepublic void remove(int index)
remove in interface javax.swing.tree.MutableTreeNodepublic void remove(javax.swing.tree.MutableTreeNode node)
remove in interface javax.swing.tree.MutableTreeNodepublic void removeFromParent()
removeFromParent in interface javax.swing.tree.MutableTreeNodepublic void setParent(javax.swing.tree.MutableTreeNode newParent)
setParent in interface javax.swing.tree.MutableTreeNodepublic java.util.Enumeration children()
Will not automatically load all child nodes.
children in interface javax.swing.tree.TreeNodepublic java.util.Enumeration children(boolean loadChildren)
loadChildren - true: load children if not loadedpublic boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodepublic javax.swing.tree.TreeNode getFirstChild()
java.util.NoSuchElementException - if this node has no childrenpublic javax.swing.tree.TreeNode getLastChild()
java.util.NoSuchElementException - if this node has no childrenpublic javax.swing.tree.TreeNode getChildAt(int index)
getChildAt in interface javax.swing.tree.TreeNodepublic int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodepublic int getIndex(javax.swing.tree.TreeNode node)
getIndex in interface javax.swing.tree.TreeNodepublic javax.swing.tree.TreeNode getParent()
getParent in interface javax.swing.tree.TreeNodepublic boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodepublic void setCurrentRow(boolean currentRow)
currentRow - True if the node is displaying the current row.isCurrentRow()public boolean isCurrentRow()
setCurrentRow(boolean currentRow)public java.lang.String toString()
public TreeControlNode[] getPath()
protected TreeControlNode[] getPathToRoot(TreeControlNode node,
int depth)
depth - an int giving the number of steps already taken towards
the root (on recursive calls), used to size the returned array
public java.util.Enumeration depthFirstEnumeration()
|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2003, Oracle. All rights reserved.