Interface Stair

All Superinterfaces:
Component

public interface Stair
extends Component
The Stair interface provides geometric information about the stair shape. Components that are stairs are instances of Stair.
Since:
9.10.2
  • Method Details

    • getBottomFlight

      Optional<StairFlight> getBottomFlight()
      Returns the bottommost flight element of this stair if this stair contains any flight elements. Otherwise returns empty.
      Returns:
      the bottommost flight element of this stair
      Since:
      9.10.2
    • getTopFlight

      Optional<StairFlight> getTopFlight()
      Returns the topmost flight element of this stair if this stair contains any flight elements. Otherwise returns empty.
      Returns:
      the topmost flight element of this stair
      Since:
      9.10.2
    • getStairElements

      List<StairElement> getStairElements()
      Returns the list of stair elements from bottom to top.

      The elements of a stair with two flights and one landing are:

      Returns:
      the list of stair elements from bottom to top
      Since:
      9.10.2