public class DefaultTreeNodeStyle extends NodeStyleImpl<TreeNode>
DEFAULT_HEIGHT, DEFAULT_PROPERTIES, DEFAULT_WIDTH, MAX_HEIGHT, MAX_WIDTH, MIN_SIZE
Constructor and Description |
---|
DefaultTreeNodeStyle() |
Modifier and Type | Method and Description |
---|---|
Color |
getBackground(TreeNode vertex) |
NodeShape |
getNodeShape(TreeNode vertex) |
Color |
getTextColor(TreeNode vertex) |
enforceBorder, enforceColors, enforceShape, enforceSize, equals, getCSS, getCSSClass, getCustomProperty, getForeground, getHeight, getNodeBorder, getProperties, getProperty, getWidth, matches, setCustomProperty, setProperty, toString
copy, equals, getCSSNameSuffix, getName, getParent, getParentProperty, setName
public Color getBackground(TreeNode vertex)
getBackground
in interface NodeStyle<TreeNode>
getBackground
in class NodeStyleImpl<TreeNode>
public Color getTextColor(TreeNode vertex)
getTextColor
in interface NodeStyle<TreeNode>
getTextColor
in class NodeStyleImpl<TreeNode>
public NodeShape getNodeShape(TreeNode vertex)
getNodeShape
in interface NodeStyle<TreeNode>
getNodeShape
in class NodeStyleImpl<TreeNode>
Copyright © 2005–2020. All rights reserved.