Class LeafPosition

    • Constructor Detail

      • LeafPosition

        public LeafPosition​(LayoutManager layoutManager,
                            int pos)
        Construct a leaf position.
        Parameters:
        layoutManager - the associated layout manager
        pos - the leaf position
      • LeafPosition

        public LeafPosition​(LayoutManager layoutManager,
                            int pos,
                            int index)
        Construct a leaf position.
        Parameters:
        layoutManager - the associated layout manager
        pos - the leaf position
        index - the index
    • Method Detail

      • getLeafPos

        public int getLeafPos()
        Returns:
        leaf position
      • generatesAreas

        public boolean generatesAreas()
        Overrides:
        generatesAreas in class Position
        Returns:
        true if generates areas
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Position