/** * Returns <tt>true</tt> if the tree node has child nodes; <tt>false</tt> * otherwise. */ protected boolean hasChildren() { return treeNodeData.hasChildren(); }
/** * Returns <tt>true</tt> if the tree node has child nodes; <tt>false</tt> * otherwise. */ protected boolean hasChildren() { return treeNodeData.hasChildren(); }
/** * Returns <tt>true</tt> if the tree node has child nodes; <tt>false</tt> * otherwise. */ protected boolean hasChildren() { return treeNodeData.hasChildren(); }
/** * Returns <tt>true</tt> if the tree node has child nodes; <tt>false</tt> * otherwise. */ protected boolean hasChildren() { return treeNodeData.hasChildren(); }
/** * Returns <tt>true</tt> if the tree node has child nodes; <tt>false</tt> * otherwise. */ protected boolean hasChildren() { return treeNodeData.hasChildren(); }
/** * Returns <tt>true</tt> if the tree node has child nodes; <tt>false</tt> * otherwise. */ protected boolean hasChildren() { return treeNodeData.hasChildren(); }
final boolean showExpanderButton = treeNodeData.hasChildren() || (treeNodeData.allowsChildren() && showExpanderForEmptyParent); if(showExpanderButton) expanderButton.setIcon(UIManager.getIcon(treeNodeData.isExpanded() ? "Tree.expandedIcon" : "Tree.collapsedIcon"));
final boolean showExpanderButton = treeNodeData.hasChildren() || (treeNodeData.allowsChildren() && showExpanderForEmptyParent); if(showExpanderButton) expanderButton.setIcon(UIManager.getIcon(treeNodeData.isExpanded() ? "Tree.expandedIcon" : "Tree.collapsedIcon"));
final boolean showExpanderButton = treeNodeData.hasChildren() || (treeNodeData.allowsChildren() && showExpanderForEmptyParent); if(showExpanderButton) expanderButton.setIcon(UIManager.getIcon(treeNodeData.isExpanded() ? "Tree.expandedIcon" : "Tree.collapsedIcon"));