Package ca.phon.ui

Class DropDownButton

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

public class DropDownButton extends JButton
JButton with a drop-down component.
See Also:
  • Field Details

    • ARROW_ICON

      public static String ARROW_ICON
      Property key for arrow icon. If null the default arrow icon (small triangular down arrow) will be used.
    • ARROW_ICON_POSITION

      public static String ARROW_ICON_POSITION
      Property key for position of arrow icon. Value show be one of SwingConstants.TOP/CENTER/BOTTOM This property is not required.
    • ARROW_ICON_GAP

      public static String ARROW_ICON_GAP
      Property key for arrow icon gap.
    • BUTTON_POPUP

      public static String BUTTON_POPUP
      Property key for the button popup object.
  • Constructor Details

    • DropDownButton

      public DropDownButton(Icon icon, JComponent popup)
    • DropDownButton

      public DropDownButton(Icon icon, JPopupMenu popupMenu)
    • DropDownButton

      public DropDownButton(Icon icon, ButtonPopup buttonPopup)
    • DropDownButton

      public DropDownButton(Action action)
  • Method Details