| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.ide.db.util.TreeNodeMaker
public class TreeNodeMaker
UI utility for creating TreeNodes for DBObjects and SQLFragments.
| Constructor Summary | |
|---|---|
TreeNodeMaker() | 
|
TreeNodeMaker(boolean showChildren)Creates a new TreeNodeMaker that specifically does or doesn't create child nodes as well.  | 
|
TreeNodeMaker(boolean showChildren, java.lang.String[] childTypes)Creates a new TreeNodeMaker that specifically does or doesn't create child nodes of the given types as well.  | 
|
| Method Summary | |
|---|---|
 javax.swing.tree.DefaultMutableTreeNode | 
createTreeNode(DBObject obj)Creates a TreeNode using the defaults set on this TreeNodeMaker for child nodes for the given DBObject.  | 
 javax.swing.tree.DefaultMutableTreeNode | 
createTreeNode(SQLFragment obj)Creates a TreeNode using the defaults set on this TreeNodeMaker for child nodes for the given SQLFragment.  | 
 javax.swing.tree.DefaultMutableTreeNode | 
createTreeNode(SQLFragment obj, boolean showAvailKids)Creates a TreeNode using the defaults set on this TreeNodeMaker but gives an extra customisation - the ability to show available children - e.g.  | 
 boolean | 
getShowChildren()Gets whether child nodes are also created for a given object.  | 
 void | 
setChildTypes(java.lang.String[] childTypes)If child nodes are being created, the types of children for which nodes are created can be filtered by types.  | 
 void | 
setDeepFKs(boolean boo)Sets wether FKConstraint nodes should recurse to their referenced relations.  | 
 void | 
setShowChildren(boolean boo)Sets whether child nodes are also created for a given object.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TreeNodeMaker()
public TreeNodeMaker(boolean showChildren)
public TreeNodeMaker(boolean showChildren,
                     java.lang.String[] childTypes)
| Method Detail | 
|---|
public void setShowChildren(boolean boo)
public boolean getShowChildren()
public void setChildTypes(java.lang.String[] childTypes)
public void setDeepFKs(boolean boo)
public javax.swing.tree.DefaultMutableTreeNode createTreeNode(DBObject obj)
public javax.swing.tree.DefaultMutableTreeNode createTreeNode(SQLFragment obj)
public javax.swing.tree.DefaultMutableTreeNode createTreeNode(SQLFragment obj,
                                                              boolean showAvailKids)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||