/** * Set to true to display lines connecting parent nodes to their children. * * @param showLines If true, lines connecting parent nodes to their children will be displayed. */ @PropertySetter(value = "showLines", defaultValue = "true", description = "True if lines connecting parent nodes to their children should be displayed.") public void setShowLines(boolean showLines) { propertyChange("showLines", this.showLines, this.showLines = showLines, true); }
/** * Set to true if the tree root should be visible. Otherwise, the visible tree starts with the * immediate children of the root. * * @param showRoot True if the tree root should be visible. */ @PropertySetter(value = "showRoot", defaultValue = "false", description = "True if the tree root should be visible.") public void setShowRoot(boolean showRoot) { propertyChange("showRoot", this.showRoot, this.showRoot = showRoot, true); }
/** * Set to true to display expander icons for each parent node with children. Clicking an * expander icon toggles between displaying (expanding) and hiding (collapsing) a node's * children. * * @param showToggles True if expander icons should be displayed. */ @PropertySetter(value = "showToggles", defaultValue = "true", description = "True if expander icons should be displayed.") public void setShowToggles(boolean showToggles) { propertyChange("showToggles", this.showToggles, this.showToggles = showToggles, true); }