Class SubstanceScrollButton

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, UIResource, SwingConstants, Sideable, SubstanceInternalArrowButton, SubstanceInternalButton

public class SubstanceScrollButton extends JButton implements UIResource, Sideable, SubstanceInternalArrowButton
Scroll bar button in Substance look and feel.
See Also:
  • Constructor Details

    • SubstanceScrollButton

      public SubstanceScrollButton(int orientation)
      Simple constructor.
      Parameters:
      orientation - The button icon arrow orientation.
  • Method Details

    • isFocusable

      public boolean isFocusable()
      Overrides:
      isFocusable in class Component
    • getSide

      public SubstanceConstants.Side getSide()
      Description copied from interface: Sideable
      Returns side that corresponds to the orientation of the associated button.
      Specified by:
      getSide in interface Sideable
      Returns:
      Side that corresponds to the orientation of the associated button.