Interface IOrganigram

  • All Superinterfaces:
    IAnyGroup<IOrganigram>, IChildable<IOrganigram,​IOrgchildren>, IComponent<IOrganigram>, IHtmlBasedComponent<IOrganigram>, IXulElement<IOrganigram>

    public interface IOrganigram
    extends IXulElement<IOrganigram>, IChildable<IOrganigram,​IOrgchildren>, IAnyGroup<IOrganigram>
    Immutable Organigram component

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

    Support @Action

    Name Action Type
    onSelect ActionData: SelectData
    Notifies one that the user has selected a new item in the organigram.
    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. That is, you shall operate on the item of the TreeSelectableModel rather than on the IOrgitem of the IOrganigram 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 IOrgitem.isOpen(). That is, you shall operate on the item of the TreeOpenableModel rather than on the IOrgitem of the IOrganigram if you use the TreeOpenableModel and TreeModel.

    Author:
    katherine
    See Also:
    Organigram
    • Field Detail

      • DEFAULT

        static final IOrganigram DEFAULT
        Constant for default attributes of this immutable component.
    • Method Detail

      • getWidgetClass

        default java.lang.String getWidgetClass()
        Returns the client widget class.

        Default: "zkmax.layout.Organigram"

        Specified by:
        getWidgetClass in interface IComponent<IOrganigram>
        Returns:
      • ofId

        static IOrganigram ofId​(java.lang.String id)
        Returns the instance with the given id.
        Parameters:
        id - The id to identify this component