Class RegionLine


  • public class RegionLine
    extends Region
    This class represents a line region in a ScripTouch device.
    • Constructor Detail

      • RegionLine

        public RegionLine()
        Public constructor
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Region
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Region
      • toString

        public java.lang.String toString()
        Prints this object as a human readable string.
        Overrides:
        toString in class Region
        Returns:
        Human readable string.
      • getParent

        public int getParent()
        Gets the parent container of this line.
        Returns:
        the lineParent
      • setParent

        public void setParent​(int lineParent)
        Sets the parent of this line.
        Parameters:
        lineParent - the parent to set
      • getWidth

        public int getWidth()
        Gets the width of this line.
        Returns:
        the width
      • setWidth

        public void setWidth​(int width)
        Sets the width of this line.
        Parameters:
        width - the width to set
      • getLineReserved

        public int getLineReserved()
        Reserved for future use.
        Returns:
        the lineReserved
      • setLineReserved

        public void setLineReserved​(int lineReserved)
        Reserved for future use.
        Parameters:
        lineReserved - the lineReserved to set