Class SideButton

    • Constructor Detail

      • SideButton

        public SideButton​(Action action,
                          boolean usename)
        Constructs a new SideButton.
        Parameters:
        action - action used to specify the new button
        usename - use action name
        Since:
        2710
      • SideButton

        public SideButton​(Action action,
                          String imagename)
        Constructs a new SideButton.
        Parameters:
        action - action used to specify the new button
        imagename - image name in "dialogs" directory
        Since:
        2747
    • Method Detail

      • doStyle

        private void doStyle()
        Do the style settings for the side button layout
      • createArrow

        public BasicArrowButton createArrow​(ActionListener listener)
        Create the arrow for opening a drop-down menu
        Parameters:
        listener - listener to use for button actions (e.g. pressing)
        Returns:
        the created button
        Since:
        9668
      • createArrow

        public BasicArrowButton createArrow​(ActionListener listener,
                                            boolean enabledWithButton)
        Create the arrow for opening a drop-down menu
        Parameters:
        listener - listener to use for button actions (e.g. pressing)
        enabledWithButton - determines if the button arrow enabled state is the same as main button
        Returns:
        the created button
        Since:
        13545