Class Organigram

All Implemented Interfaces:
Serializable, Cloneable, Component, Scope, ComponentCtrl

public class Organigram extends XulElement
A container which can be used to draw a hierarchical organizational chart, you can specify a TreeModel to render the data.

Event:

  1. SelectEvent is sent when user changes the selection.

To retrieve what is selected in Organigram with a TreeSelectableModel, you shall use TreeSelectableModel.isPathSelected(int[]) to check whether the current path is selected in TreeSelectableModel rather than using getSelectedItem(). That is, you shall operate on the item of the TreeSelectableModel rather than on the Orgitem of the Organigram if you use the TreeSelectableModel and TreeModel.

To retrieve what are opened nodes in Organigram with a TreeOpenableModel, you shall use TreeOpenableModel.isPathOpened(int[]) to check whether the current path is opened in TreeOpenableModel rather than using Orgitem.isOpen(). That is, you shall operate on the item of the TreeOpenableModel rather than on the Orgitem of the Organigram if you use the TreeOpenableModel and TreeModel.

Since:
8.6.0
See Also: