Class CoreRibbonResizeSequencingPolicies.CollapseFromLast

    • Constructor Summary

      Constructors 
      Constructor Description
      CollapseFromLast​(RibbonTask ribbonTask)
      Creates a new collapse from last resize sequencing policy for the specified task.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AbstractRibbonBand next()
      Returns the next ribbon band for collapse.
      void reset()
      Resets this policy.
      • Methods inherited from class java.lang.Object

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

      • nextIndex

        int nextIndex
        The index of the next ribbon task for collapsing.
    • Constructor Detail

      • CollapseFromLast

        public CollapseFromLast​(RibbonTask ribbonTask)
        Creates a new collapse from last resize sequencing policy for the specified task.
        Parameters:
        ribbonTask - Ribbon task.
    • Method Detail

      • reset

        public void reset()
        Description copied from interface: RibbonBandResizeSequencingPolicy
        Resets this policy. Note that this method is for internal use only and should not be called by the application code.