Class SlugImpl

  • All Implemented Interfaces:
    Slug, java.io.Serializable

    public class SlugImpl
    extends java.lang.Object
    implements java.io.Serializable, Slug
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SlugImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getBottom()
      Gets the bottom.
      double getLeft()
      Gets the left.
      double getRight()
      Gets the right.
      double getTop()
      Gets the top.
      void setBottom​(double bottom)
      Sets the bottom.
      void setLeft​(double left)
      Sets the left.
      void setRight​(double right)
      Sets the right.
      void setTop​(double top)
      Sets the top.
      • Methods inherited from class java.lang.Object

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

      • SlugImpl

        public SlugImpl()
    • Method Detail

      • getLeft

        public double getLeft()
        Description copied from interface: Slug
        Gets the left.
        Specified by:
        getLeft in interface Slug
        Returns:
        the left
      • setLeft

        public void setLeft​(double left)
        Description copied from interface: Slug
        Sets the left.
        Specified by:
        setLeft in interface Slug
        Parameters:
        left - the new left
      • getTop

        public double getTop()
        Description copied from interface: Slug
        Gets the top.
        Specified by:
        getTop in interface Slug
        Returns:
        the top
      • setTop

        public void setTop​(double top)
        Description copied from interface: Slug
        Sets the top.
        Specified by:
        setTop in interface Slug
        Parameters:
        top - the new top
      • getRight

        public double getRight()
        Description copied from interface: Slug
        Gets the right.
        Specified by:
        getRight in interface Slug
        Returns:
        the right
      • setRight

        public void setRight​(double right)
        Description copied from interface: Slug
        Sets the right.
        Specified by:
        setRight in interface Slug
        Parameters:
        right - the new right
      • getBottom

        public double getBottom()
        Description copied from interface: Slug
        Gets the bottom.
        Specified by:
        getBottom in interface Slug
        Returns:
        the bottom
      • setBottom

        public void setBottom​(double bottom)
        Description copied from interface: Slug
        Sets the bottom.
        Specified by:
        setBottom in interface Slug
        Parameters:
        bottom - the new bottom