Class ArrowButtonTransitionAwareIcon

java.lang.Object
org.pushingpixels.substance.internal.utils.icon.ArrowButtonTransitionAwareIcon
All Implemented Interfaces:
Icon

public class ArrowButtonTransitionAwareIcon extends Object implements Icon
Transition aware implementation of arrow button icons. Used for implementing icons of scroll bar buttons, combobox buttons, menus and more.
  • Field Details

    • iconWidth

      protected int iconWidth
      Icon width.
    • iconHeight

      protected int iconHeight
      Icon height.
    • delegate

      protected TransitionAwareIcon.Delegate delegate
      Delegate to compute the actual icons.
    • component

      protected JComponent component
  • Constructor Details

    • ArrowButtonTransitionAwareIcon

      public ArrowButtonTransitionAwareIcon(AbstractButton button, int orientation)
    • ArrowButtonTransitionAwareIcon

      public ArrowButtonTransitionAwareIcon(JComponent component, TransitionAwareIcon.TransitionAwareUIDelegate transitionAwareUIDelegate, int orientation)
      Creates an arrow icon.
      Parameters:
      component - Arrow button.
      orientation - Arrow icon orientation.
  • Method Details