| java.lang.Object javax.swing.tree.DefaultTreeModel org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel.DatabaseMetaDataTreeModel
serialVersionUID | final static long serialVersionUID(Code) | | |
DatabaseMetaDataTreeModel | public DatabaseMetaDataTreeModel(java.sql.DatabaseMetaData pdbMetadata)(Code) | | Creates a new instance of DatabaseMetaDataTreeModel. The
model represents the metadata specified by pdbMetadata
Parameters: pdbMetadata - the metadata this model represents. Parameters: pStatusBar - a JTextComponent that takes status messagesof this model. This model sometimes needssome time to finish a request, the statusbar indicates what the model is doing. |
addStatusMessageListener | public void addStatusMessageListener(StatusMessageListener listener)(Code) | | Add a listener that receives status messages from
this model.
Parameters: listener - The listener that should receive the status messsages |
removeStatusMessageListener | public void removeStatusMessageListener(StatusMessageListener listener)(Code) | | Remove a listener that receives status messages from
this model.
Parameters: listener - The listener that shall be removed |
reportSqlError | public void reportSqlError(String message, java.sql.SQLException sqlEx)(Code) | | Method for reporting SQLException. This is used by
the treenodes if retrieving information for a node
is not successful.
Parameters: message - The message describing where the error occurred Parameters: sqlEx - The exception to be reported. |
setStatusBarMessage | public void setStatusBarMessage(String message)(Code) | | Set a status message in the JTextComponent passed to this
model.
Parameters: message - The message that should be displayed. |
Methods inherited from javax.swing.tree.DefaultTreeModel | public void addTreeModelListener(TreeModelListener l)(Code)(Java Doc) public boolean asksAllowsChildren()(Code)(Java Doc) protected void fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) protected void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) protected void fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) protected void fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children)(Code)(Java Doc) public Object getChild(Object parent, int index)(Code)(Java Doc) public int getChildCount(Object parent)(Code)(Java Doc) public int getIndexOfChild(Object parent, Object child)(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public TreeNode[] getPathToRoot(TreeNode aNode)(Code)(Java Doc) protected TreeNode[] getPathToRoot(TreeNode aNode, int depth)(Code)(Java Doc) public Object getRoot()(Code)(Java Doc) public TreeModelListener[] getTreeModelListeners()(Code)(Java Doc) public void insertNodeInto(MutableTreeNode newChild, MutableTreeNode parent, int index)(Code)(Java Doc) public boolean isLeaf(Object node)(Code)(Java Doc) public void nodeChanged(TreeNode node)(Code)(Java Doc) public void nodeStructureChanged(TreeNode node)(Code)(Java Doc) public void nodesChanged(TreeNode node, int[] childIndices)(Code)(Java Doc) public void nodesWereInserted(TreeNode node, int[] childIndices)(Code)(Java Doc) public void nodesWereRemoved(TreeNode node, int[] childIndices, Object[] removedChildren)(Code)(Java Doc) public void reload()(Code)(Java Doc) public void reload(TreeNode node)(Code)(Java Doc) public void removeNodeFromParent(MutableTreeNode node)(Code)(Java Doc) public void removeTreeModelListener(TreeModelListener l)(Code)(Java Doc) public void setAsksAllowsChildren(boolean newValue)(Code)(Java Doc) public void setRoot(TreeNode root)(Code)(Java Doc) public void valueForPathChanged(TreePath path, Object newValue)(Code)(Java Doc)
|
|
|