Class ArrowButton

All Implemented Interfaces:
IFigure, Orientable, PositionConstants

public class ArrowButton extends Button implements Orientable
A Button which displays a triangle pointing in a specified direction. This class is used by the ScrollBar figure.
  • Constructor Details

    • ArrowButton

      public ArrowButton()
      Constructs a default ArrowButton with the arrow pointing north.
      Since:
      2.0
    • ArrowButton

      public ArrowButton(int direction)
      Constructs an ArrowButton with the arrow having the direction given in the input. The direction can be one of many directional constants defined in PositionConstants.
      Parameters:
      direction - Direction of the arrow
      Since:
      2.0
  • Method Details