Пример #1
0
 public Tree(TreeStyle style)
 {
     selection = new Selection <Node>();
     selection.setElement(this);
     selection.setMultiple(true);
     setStyle(style);
     initialize();
 }
Пример #2
0
 public void setStyle(TreeStyle style)
 {
     this.style    = style;
     indentSpacing = Math.Max(style.plus.minWidth, style.minus.minWidth) + iconSpacingLeft;
 }