Class NewsFrameSidebarExtension.TreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- com.openindex.openestate.tool.utils.SidebarTreeNode
-
- com.openindex.openestate.tool.news.NewsFrameSidebarExtension.TreeNode
-
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
- Enclosing class:
- NewsFrameSidebarExtension
public static class NewsFrameSidebarExtension.TreeNode extends SidebarTreeNode
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_FEED
static int
TYPE_ROOT
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doShow(boolean asNewTab)
DbNewsFeed
getFeed()
JPopupMenu
getMenu()
Icon
getNodeIcon()
String
getNodeText()
String
getNodeTooltip()
int
getType()
boolean
isFeed()
void
setFeed(DbNewsFeed feed)
-
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
-
-
-
-
Field Detail
-
TYPE_ROOT
public static final int TYPE_ROOT
- See Also:
- Constant Field Values
-
TYPE_FEED
public static final int TYPE_FEED
- See Also:
- Constant Field Values
-
-
Method Detail
-
doShow
public void doShow(boolean asNewTab)
- Overrides:
doShow
in classSidebarTreeNode
-
getFeed
public DbNewsFeed getFeed()
-
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()
-
isFeed
public boolean isFeed()
-
setFeed
public void setFeed(DbNewsFeed feed)
-
-