Class TractorPaper

    • Constructor Detail

      • TractorPaper

        public TractorPaper​(String name,
                            String desc,
                            String identifier,
                            Length across,
                            Length along)
        Creates a new tractor paper
        Parameters:
        name - a name
        desc - a description
        identifier - an identifier
        across - the width of the paper
        along - the height of the paper
    • Method Detail

      • getLengthAcrossFeed

        public Length getLengthAcrossFeed()
        Gets the length of the paper perpendicular to the direction of the paper feed
        Returns:
        returns the length.
      • getLengthAlongFeed

        public Length getLengthAlongFeed()
        Gets the length of the paper along the direction of the paper feed
        Returns:
        returns the length.
      • getType

        public Paper.Type getType()
        Description copied from interface: Paper
        Gets the type of paper
        Returns:
        returns the type of paper