Class LogicGridLayouter<T>

  • All Implemented Interfaces:
    ILogicRules

    public class LogicGridLayouter<T>
    extends LogicRules
    The Logical layouter based on a virtual grid with integer coordinates.
    • Constructor Detail

      • LogicGridLayouter

        public LogicGridLayouter()
    • Method Detail

      • setTopFullScreenOffset

        public void setTopFullScreenOffset​(int topFullScreenOffset)
        Sets the top full screen offset.
        Parameters:
        topFullScreenOffset - the top full screen offset
      • setBottomFullScreenOffset

        public void setBottomFullScreenOffset​(int bottomFullScreenOffset)
        Sets the bottom full screen offset.
        Parameters:
        bottomFullScreenOffset - the bottom full screen offset
      • setUseFullScreenOffsetsForNonFullScreenItems

        public void setUseFullScreenOffsetsForNonFullScreenItems​(boolean useFullScreenOffsetsForNonFullScreenItems)
        Sets the usage flag of full-screen offsets for non full-screen items.
        Parameters:
        useFullScreenOffsetsForNonFullScreenItems - the usage flag of full-screen offsets for non full-screen items
      • setGrids

        public void setGrids​(LogicGrids<T> grids)
      • getNewControls

        public Set<T> getNewControls()
      • setNewControls

        public void setNewControls​(Set<T> newControls)
      • getLeftOffset

        public int getLeftOffset()
      • setLeftOffset

        public void setLeftOffset​(int leftOffset)
      • getTopOffset

        public int getTopOffset()
      • setTopOffset

        public void setTopOffset​(int topOffset)
      • getRightOffset

        public int getRightOffset()
      • setRightOffset

        public void setRightOffset​(int rightOffset)
      • getBottomOffset

        public int getBottomOffset()
      • setBottomOffset

        public void setBottomOffset​(int bottomOffset)
      • isNoReserveRightSpace

        public boolean isNoReserveRightSpace()
      • setNoReserveRightSpace

        public void setNoReserveRightSpace​(boolean noReserveRightSpace)
      • getDefinedMinHeight

        public int getDefinedMinHeight()
      • setDefinedMinHeight

        public void setDefinedMinHeight​(int definedMinHeight)
      • setNextPlaceMode

        public void setNextPlaceMode​(LogicPlaceMode nextPlaceMode)
      • getMasterSlaveNames

        public List<String> getMasterSlaveNames()
      • setMasterSlaveNames

        public void setMasterSlaveNames​(List<String> masterSlaveNames)
      • getLastMaxWidth

        public int getLastMaxWidth()
      • setLastMaxWidth

        public void setLastMaxWidth​(int lastMaxWidth)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getExternalMinHeight

        public int getExternalMinHeight()
      • setExternalMinHeight

        public void setExternalMinHeight​(int externalMinHeight)
      • setLayeredItems

        public void setLayeredItems​(List<LayeredItemDescription<T>> layeredItems)
        Parameters:
        layeredItems - the layeredItems to set
      • getCurrentSize

        public LogicSize getCurrentSize​(boolean noStretchCompressPriority)
      • setResizedList

        public void setResizedList​(TreeSet<T> resizedList)
      • updateFloatingItems

        public void updateFloatingItems​(int xOffset,
                                        int yOffset,
                                        ILogicCallback<T> callBack)
      • reposSplitter

        public boolean reposSplitter​(T splId,
                                     boolean horizontal,
                                     boolean expand,
                                     int delta,
                                     int xOffset,
                                     int yOffset,
                                     ILogicCallback<T> callBack)
      • checkLayoutInt

        public void checkLayoutInt()
      • getScrollPos

        public Size getScrollPos()