Class Pixy2Line.Barcode

  • Enclosing class:
    Pixy2Line

    public static class Pixy2Line.Barcode
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Barcode​(int x, int y, int flags, int code)
      Constructs barcode object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()  
      int getFlags()  
      int getX()  
      int getY()  
      void print()
      Prints barcode data to console
      java.lang.String toString()
      Returns a string of barcode data
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Barcode

        public Barcode​(int x,
                       int y,
                       int flags,
                       int code)
        Constructs barcode object
        Parameters:
        x - X value
        y - Y value
        flags - Barcode flags
        code - Code
    • Method Detail

      • print

        public void print()
        Prints barcode data to console
      • toString

        public java.lang.String toString()
        Returns a string of barcode data
        Overrides:
        toString in class java.lang.Object
        Returns:
        String of barcode data
      • getX

        public int getX()
        Returns:
        X value
      • getY

        public int getY()
        Returns:
        Y value
      • getFlags

        public int getFlags()
        Returns:
        Barcode flags
      • getCode

        public int getCode()
        Returns:
        Code