Class JSDropDownMenu


  • public class JSDropDownMenu
    extends JSDropDown
    A dropdown menu
    Author:
    gianpiero.diblasi
    • Constructor Detail

      • JSDropDownMenu

        public JSDropDownMenu()
        Creates the object
    • Method Detail

      • setLabel

        public void setLabel​(java.lang.String text)
        Sets the text label
        Parameters:
        text - The text label
      • addMenu

        public JSButton addMenu​(java.lang.String text,
                                ActionListener listener)
        Adds a button menu
        Parameters:
        text - The text button
        listener - The listener
        Returns:
        The added button