|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.mebigfatguy.mongobrowser.dialogs.MongoTreeNode
public class MongoTreeNode
| Nested Class Summary | |
|---|---|
static class |
MongoTreeNode.KV
holds the key value of a mongo object property |
static class |
MongoTreeNode.Root
a dummy object used as a constructor differentiator for the root of the tree |
static class |
MongoTreeNode.Type
|
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
MongoTreeNode()
constructs a tree node representing an expansion slug |
|
MongoTreeNode(com.mongodb.DBCollection dbCollection,
boolean rdOnly)
constructs a tree node representing a mongo collection |
|
MongoTreeNode(com.mongodb.DBObject dbObject,
boolean rdOnly)
constructs a tree node representing a mongo object |
|
MongoTreeNode(MongoTreeNode.KV dbKV,
boolean rdOnly)
constructs a tree node representing a mongo key/value |
|
MongoTreeNode(MongoTreeNode.Root root)
constructs a tree node representing the root of the tree |
|
| Method Summary | |
|---|---|
MongoTreeNode.Type |
getType()
retrieves the type of this node |
boolean |
isReadOnly()
retrieves whether this node is readonly |
java.lang.String |
toString()
returns a user viewable string |
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MongoTreeNode()
public MongoTreeNode(MongoTreeNode.Root root)
root - a unused tag to differentiate constructors
public MongoTreeNode(com.mongodb.DBCollection dbCollection,
boolean rdOnly)
dbCollection - the mongo collection to representrdOnly - is this collection read only
public MongoTreeNode(com.mongodb.DBObject dbObject,
boolean rdOnly)
dbObject - the mongo object to representrdOnly - is this object read only
public MongoTreeNode(MongoTreeNode.KV dbKV,
boolean rdOnly)
dbKV - the key value object to representrdOnly - is this key value read only| Method Detail |
|---|
public MongoTreeNode.Type getType()
public boolean isReadOnly()
public java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||