Class ExpansionPanel

  • All Implemented Interfaces:
    Styleable, EventTarget, Skinnable

    public class ExpansionPanel
    extends Control

    ExpansionPanels may either stand alone or be part of a ExpansionPanelContainer. ExpansionPanels are best used for editing of an element, such as selecting a value for a setting.

    For example, an app that contains tables may use expansion panels to adjust settings on table elements.

    ExpansionPanels have two states: expanded and collapsed. A button in the top right allows the user to toggle between these two states. The programmer may set the expanded node using setExpandedContent(Node) and the collapsed node by using setCollapsedContent(Node).

    Screenshot of ExpansionPanel

    See Also: