Class ContactsFrameSidebarExtension.TreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- com.openindex.openestate.tool.utils.SidebarTreeNode
-
- com.openindex.openestate.tool.contacts.ContactsFrameSidebarExtension.TreeNode
-
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
- Enclosing class:
- ContactsFrameSidebarExtension
public static class ContactsFrameSidebarExtension.TreeNode extends SidebarTreeNode
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Constructor Summary
Constructors Constructor Description TreeNode(int type)
TreeNode(DbContactsGroup group)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doShow(boolean asNewTab)
DbContactsGroup
getGroup()
JPopupMenu
getMenu()
Icon
getNodeIcon()
String
getNodeText()
String
getNodeTooltip()
int
getType()
void
setGroup(DbContactsGroup group)
-
Methods inherited from class com.openindex.openestate.tool.utils.SidebarTreeNode
title
-
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, toString
-
-
-
-
Constructor Detail
-
TreeNode
public TreeNode(int type)
-
TreeNode
public TreeNode(DbContactsGroup group)
-
-
Method Detail
-
doShow
public void doShow(boolean asNewTab)
- Overrides:
doShow
in classSidebarTreeNode
-
getGroup
public DbContactsGroup getGroup()
-
getMenu
public JPopupMenu getMenu()
- Overrides:
getMenu
in classSidebarTreeNode
-
getNodeIcon
public Icon getNodeIcon()
- Specified by:
getNodeIcon
in classSidebarTreeNode
-
getNodeText
public String getNodeText()
- Specified by:
getNodeText
in classSidebarTreeNode
-
getNodeTooltip
public String getNodeTooltip()
- Specified by:
getNodeTooltip
in classSidebarTreeNode
-
getType
public int getType()
-
setGroup
public void setGroup(DbContactsGroup group)
-
-