Class LayoutPosition


  • public class LayoutPosition
    extends Object
    Doubly linked list for LayoutManager.
    Author:
    ssah
    • Constructor Detail

      • LayoutPosition

        public LayoutPosition​(int posX,
                              int posY)
        Parameters:
        posX - posX
        posY - posY
    • Method Detail

      • getPrevious

        public LayoutPosition getPrevious()
        Returns:
        the previous
      • setPrevious

        public void setPrevious​(LayoutPosition previous)
        Parameters:
        previous - the previous to set
      • setNext

        public void setNext​(LayoutPosition next)
        Parameters:
        next - the next to set
      • getPosX

        public int getPosX()
        Returns:
        the posX
      • getPosY

        public int getPosY()
        Returns:
        the posY