Interface RibbonBandResizeSequencingPolicy

All Known Implementing Classes:
BaseRibbonBandResizeSequencingPolicy, CoreRibbonResizeSequencingPolicies.CollapseFromLast, CoreRibbonResizeSequencingPolicies.RoundRobin

public interface RibbonBandResizeSequencingPolicy
Defines the resize sequencing policies for RibbonTasks.

The resize sequencing policy defines which ribbon band will be chosen next when the ribbon is shrunk / expanded. It is installed with the RibbonTask.setResizeSequencingPolicy(RibbonBandResizeSequencingPolicy) .

The CoreRibbonResizeSequencingPolicies provides two built in resize sequencing policies:

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the next ribbon band for collapse.
    void
    Resets this policy.
  • Method Details

    • reset

      void reset()
      Resets this policy. Note that this method is for internal use only and should not be called by the application code.
    • next

      Returns the next ribbon band for collapse.
      Returns:
      The next ribbon band for collapse.