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 intTYPE_FEEDstatic intTYPE_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 voiddoShow(boolean asNewTab)DbNewsFeedgetFeed()JPopupMenugetMenu()IcongetNodeIcon()StringgetNodeText()StringgetNodeTooltip()intgetType()booleanisFeed()voidsetFeed(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:
doShowin classSidebarTreeNode
-
getFeed
public DbNewsFeed getFeed()
-
getMenu
public JPopupMenu getMenu()
- Overrides:
getMenuin classSidebarTreeNode
-
getNodeIcon
public Icon getNodeIcon()
- Specified by:
getNodeIconin classSidebarTreeNode
-
getNodeText
public String getNodeText()
- Specified by:
getNodeTextin classSidebarTreeNode
-
getNodeTooltip
public String getNodeTooltip()
- Specified by:
getNodeTooltipin classSidebarTreeNode
-
getType
public int getType()
-
isFeed
public boolean isFeed()
-
setFeed
public void setFeed(DbNewsFeed feed)
-
-