Class DropDownMenuButton

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

public class DropDownMenuButton extends JButton
Button with drop down menu.
See Also:

Module: swing-util-api

To use this in your app, include the following dependency in your POM:

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>swing-util-api</artifactId>
</dependency>
  • Constructor Details

    • DropDownMenuButton

      public DropDownMenuButton(AbstractAction action)
      Creates a new DropDownMenuButton object.
      Parameters:
      action - The action that this button represents.
    • DropDownMenuButton

      public DropDownMenuButton(JPopupMenu popupMenu)
    • DropDownMenuButton

      public DropDownMenuButton()
  • Method Details